lkml.org 
[lkml]   [2008]   [Apr]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: Disk geometry from /sys
From
On Thu, Apr 10, 2008 at 12:16:12AM +0200, Bernd Eckenfels wrote:
> Unfortunatelly there is also bios' view of the geometry, which is especially
> a problem for boot loaders. Just another hint:
>
> # lilo -T geom
>
> bios=0x00, cylinders=80, heads=2, sectors=18
> ( 1.44Mb 2,880 sectors) C:H:S supported (PC bios)
>
> BIOS reports 2 hard drives
> bios=0x80, cylinders=527, heads=255, sectors=63 vol-ID: 2C731DD1
> ( 4.33Gb 8,467,199 sectors) LBA32 supported (EDD bios)
> bios=0x81, cylinders=527, heads=255, sectors=63
> ( 4.33Gb 8,467,199 sectors) LBA32 supported (EDD bios)
>
> (um yes my system is somewhat outdated, thats an adaptec scsi bios.

Just use LBA. Both lilo and grub can, in which case they no longer care
about the geometry at all.

--
Len Sorensen


\
 
 \ /
  Last update: 2008-04-10 16:55    [W:0.109 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site