sfdisk: extended partition does not start at a cylinder boundary - how to fix it?

Radu Cornea ccradu at yahoo.com
Fri May 21 06:44:06 UTC 2004


On 5/20/2004 10:21 PM, Mariano Draghi wrote:


> [root at home mariano]# /sbin/sfdisk -l /dev/hda
> Disk /dev/hda: 158816 cylinders, 16 heads, 63 sectors/track
> Warning: extended partition does not start at a cylinder boundary.
> DOS and Linux will interpret the contents differently.
> Units = cylinders of 516096 bytes, blocks of 1024 bytes, counting from 0
>  
>    Device Boot Start     End   #cyls    #blocks   Id  System
> /dev/hda1   *      0+  20320-  20321-  10241406    7  HPFS/NTFS
> /dev/hda2      20321   20522     202     101808   83  Linux
> /dev/hda3      20523   81661   61139   30814056   8e  Linux LVM
> /dev/hda4      81663+ 158801-  77138-  38877300    f  W95 Ext'd (LBA)
> /dev/hda5      83735+ 124376-  40641-  20482843+   c  W95 FAT32 (LBA)
> /dev/hda6     124376+ 126455    2080-   1048194   82  Linux swap
> 

It looks like the number of heads was changed to 16 just like in my 
case. Try this fix (first backup your partition table - the mbr sector):

http://www.redhat.com/archives/fedora-test-list/2004-May/msg02143.html

Use 255 instead of 240, that was for my hard drive (a smaller, 20Gb).

--
Radu





More information about the fedora-list mailing list