[CentOS] fdisk on centos 6

Jerry Geis

geisj at pagestation.com
Thu Sep 15 20:57:40 UTC 2011


  I am getting the WRONG values reported from fdisk on centos 6.
This is listing an 8G CF card on /dev/sde

Disk /dev/sde: 8019 MB, 8019099648 bytes
247 heads, 62 sectors/track, 1022 cylinders
Units = cylinders of 15314 * 512 = 7840768 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xd1b46611


It should be 255 heads, 63 sectors/track.

Under centos 5 this is reported correctly.

I even tried specifying the -S 63 -H 255 on the fdisk command line - 
that did not help.

my symptom is when I setup my CF card to run linux - I get a grub error 2.

What kind of madness is happening?

Jerry



More information about the CentOS mailing list