Partition does not end on cylinder boundary.
I have a Compaq PC with winXP and redhat linux-9 dual boot. The system works fine, but 25GB of my hard disk is missing !!!
I have a 80GB hard-drive, and this is how I installed the dual boot:
I installed winXP on the 1st 10 GB.
During installing Linux, I gave 500MB for /boot, /dev/shm, and then made a big extended partition of the rest. I left 25GB of this space to be allocated later as FAT32 (so that I can access it from both windows and linux)
Throughout the installation of linux, I kept getting the error about misalligned cylinder boundary. and now I cannot use the 25 GB I originally left. Now, I get "Partition 1 does not end on cylinder boundary" whenever I use fdisk.
On winXP, Partition magic gives "hard disk bad geometry" and "Error 117: cannot find partition drive letter", and fail to start. Then I tried to fool windows and start partitionmagic by changing the drive letter (another application of Partitionmagic does this, and was working). I cannot login in windows since then (it says "cannot verify the certificate: error 0x.." and logs me off).
Now I have lost my windows partition and 25GB of my disk space. (so) I would greatly appreciate any help..
This is how my partition table looks like:
# fdisk -l /dev/hda
Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 1276 10243768+ 7 HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/hda2 1277 1301 200812+ 83 Linux
Partition 2 does not end on cylinder boundary.
/dev/hda3 1302 1326 200812+ 83 Linux
Partition 3 does not end on cylinder boundary.
/dev/hda4 1327 9729 67497097+ f Win95 Ext'd (LBA)
Partition 4 does not end on cylinder boundary.
/dev/hda5 1327 1453 1020096 82 Linux swap
/dev/hda6 1454 2345 7164958+ 83 Linux
/dev/hda7 2346 3365 8193118+ 83 Linux
/dev/hda8 3366 6552 25599546 83 Linux