Partition problems
Rasjid Wilcox
rasjidw at openminddev.net
Fri Jun 21 22:29:39 EST 2002
I rearranged my hard drives to free up my 15G drive so I can put it in another
machine. However, I think I have messed things up a little.
# /sbin/fdisk -l /dev/hda
Disk /dev/hda: 255 heads, 63 sectors, 5005 cylinders
Units = cylinders of 16065 * 512 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 251 2015968+ c Win95 FAT32 (LBA)
Partition 1 does not end on cylinder boundary:
phys=(1023, 15, 63) should be (1023, 254, 63)
/dev/hda2 251 1658 11296152 5 Extended
Partition 2 does not end on cylinder boundary:
phys=(1023, 15, 63) should be (1023, 254, 63)
/dev/hda4 1658 5006 26896968 83 Linux
Partition 4 does not end on cylinder boundary:
phys=(1023, 15, 63) should be (1023, 254, 63)
/dev/hda5 251 893 5152360+ 83 Linux
/dev/hda6 893 1148 2047720+ 83 Linux
/dev/hda7 1148 1403 2047720+ 83 Linux
/dev/hda8 1403 1530 1024096+ 83 Linux
/dev/hda9 1530 1658 1024096+ 82 Linux swap
However, if I go into fdisk and change c/h/s to 16383/16/63
(which is what is printed on the drive) I get
Disk /dev/hda: 16 heads, 63 sectors, 16383 cylinders
Units = cylinders of 1008 * 512 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 4000 2015968+ c Win95 FAT32 (LBA)
/dev/hda2 4001 26413 11296152 5 Extended
/dev/hda4 26414 79780 26896968 83 Linux
/dev/hda5 4001 14223 5152360+ 83 Linux
/dev/hda6 14224 18286 2047720+ 83 Linux
/dev/hda7 18287 22349 2047720+ 83 Linux
/dev/hda8 22350 24381 1024096+ 83 Linux
/dev/hda9 24382 26413 1024096+ 82 Linux swap
I'm trying to work out if I have stuffed up big time??
My home partition seems to be okay, which is all I really care about, so is my
best option to backup my home partition to my newly free 15G drive, and just
start from scratch on the 40G?
Rasjid.
More information about the linux
mailing list