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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Radu Cornea escribió:
On 5/20/2004 10:21 PM, Mariano Draghi wrote:


[root@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).


Ok, but how do I run that sfdisk? I can't run it with the disk mounted, can I?


And apart from that, I have changed the access mode in the BIOS to LBA. Should I turn it to 'auto' before runnig this command? Does this make any difference?

I'm sorry... so many questions :(

--
Mariano



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux