Re: Problems with partitions
On Apr 9, 2005 3:13 PM, Romulo Sousa <romulosousa@gmail.com> wrote:
Hi there,
Sorry for took too long time to answer you back. As i told you, this
is my girlfriend's computer... :-P
anyway...
here we go with the output of the command fdisk -l /dev/hda
Disk /dev/hda: 255 heads, 63 sectors, 4998 cylinders
Units = cylinders of 16065 * 512 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 1275 10241406 7 HPFS/NTFS
/dev/hda2 1276 1277 16065 83 Linux
/dev/hda3 1278 1343 530145 82 Linux swap
/dev/hda4 1344 1981 5124735 5 Extended
/dev/hda5 1344 1981 5124703+ 83 Linux
and the output of the command df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hda5 4.9G 1.9G 2.7G 42% /
tmpfs 125M 0 125M 0% /dev/shm
/dev/hda1 9.8G 3.4G 6.5G 34% /mnt/windows
I hope these information help somehow.
Best regards,
Romulo Sousa
> On Apr 4, 2005 8:48 PM, Edward J. Shornock
> <debian-ml@crazeecanuck.homelinux.net> wrote:
> > Romulo Sousa wrote:
> > > My girlfriend's box has 40GB IDE disk and it has the following layout:
> > >
> > > hda1 10GB NTFS windows
> > > hda2 512M swap swap
> > > hda3 15MB Linux /boot
> > > hda4 5GB Extended /var
> > > hda5 5GB Linux /
> > >
> > Try fdisk -l to see the partitions--what was pasted here doesn't make
> > sense to me. Extended partitions hold logical partitions, so /var
> > cannot be an extended partition (but it can be on a logical partition
> > within the extended partition).
> >
> > On my box it shows:
> > # fdisk -l /dev/hdb
> >
> > Disk /dev/hdb: 30.7 GB, 30735581184 bytes
> > 255 heads, 63 sectors/track, 3736 cylinders
> > Units = cylinders of 16065 * 512 = 8225280 bytes
> >
> > Device Boot Start End Blocks Id System
> > /dev/hdb1 1 1621 13020651 83 Linux
> > /dev/hdb3 1792 3736 15623212+ 83 Linux
> > /dev/hdb4 1622 1791 1365525 5 Extended
> > /dev/hdb5 1622 1791 1365493+ 82 Linux swap / Solaris
> >
> > On my box, /dev/hdb5 is a logical partition within the extended
> > partition of /dev/hdb4.
> >
> > > After the installation of the whole system (unstable), i noticed that
> > > the there were something strange at df -h cuz i had almost 50% of the
> > > disk space being used!
> > > 1 - I would like to know how can i mount the hda4 partition.
> > > I read the man-page, but i couldn't find any clue to to that. since
> > > Extended is not a file system, i have a doubt about how can i mount
> > > that.
> >
> > Correct, you wouldn't be able to mount the extended partition, but you
> > can mount the logical partition(s) that are within the extended partition.
> >
> > >
> > > 2 - Further, how can i put it into my rc2 for mounting the system all
> > > the time it is rebooted.
> > >
> > That would be done within /etc/fstab, so you'd have an entry like the
> > following:
> >
> > partition /mountpoint filesystemtype options 0 0
> >
> > For example, I have my /home partition mounted at boot-up with the
> > following entry:
> >
> > /dev/hda2 /home xfs defaults 0 2
> >
> > > Moreover, i think i have space not used (i'm not sure about the /
> > > partition size).
> > > 3 - Assuming that the information about hda5 above is correct, how can
> > > i reorganize the whole file systems? Is it possible to see the
> > > remaining space available into the physical disk?
> > >
> > Paste the output of "fdisk -l" and I'll try to go from there.
> >
> > --
> > To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> > with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> >
> >
>
Reply to: