[CentOS] fdisk on centos 6

Thu Sep 15 21:34:05 UTC 2011
Scott Silva <ssilva at sgvwater.com>

on 9/15/2011 1:57 PM Jerry Geis spake the following:
>    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
I think the fdisk in 6 tries to align on 4k boundaries. Does fdisk -c do the 
same thing?