Partitioning question

Stephen Liu satimis at yahoo.com
Thu Aug 3 07:21:36 UTC 2006


Hi folks,

Please help me to understand what is following partition;

/dev/hda5   228M  4.1M  212M   2% /media/hda5


At time of installation I created;

/boot  255M  (p)
/      8G    (p)
/home  10G   (ext)
swap   1G    (ext)


Now they are shown as;

$ sudo fdisk -l

Disk /dev/hda: 40.0 GB, 40027029504 bytes
255 heads, 63 sectors/track, 4866 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1               1        2342    18812083+   5  Extended
/dev/hda5   *           1          31      248944+  83  Linux
/dev/hda6              32        1004     7815591   83  Linux
/dev/hda7            1005        2220     9767488+  83  Linux
/dev/hda8            2221        2342      979933+  82  Linux swap /
Solaris
* end *


$ sudo df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/hda6             7.4G  2.1G  5.0G  30% /
varrun                471M   92K  471M   1% /var/run
varlock               471M  4.0K  471M   1% /var/lock
udev                  471M  100K  471M   1% /dev
devshm                471M     0  471M   0% /dev/shm
lrm                   471M   22M  450M   5%
/lib/modules/2.6.15-26-amd64-generic/volatile
/dev/hda7             9.2G  659M  8.1G   8% /home
/dev/hda5             228M  4.1M  212M   2% /media/hda5
* end *


According to order of their creation;

/boot should be /dev/hda1
/  should be /dev/hda2
/home should be /dev/hda5
swap should be /dev/hda6

I intentionally left /dev/hda3 (P) for another OS to be installed later
from the unallocated space.

Why /home is on /dev/hda7 instead not /dev/hda5

Please advise.  TIA

B.R.
SL




More information about the ubuntu-users mailing list