lkml.org 
[lkml]   [2008]   [Apr]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Disk geometry from /sys
Hi,

On Thu, Apr 10, 2008 at 2:22 PM, linux-os (Dick Johnson)
<linux-os@analogic.com> wrote:
>
> It becomes, as you say contentious, because with disk drives
> manufactured during the past ten or so years, anything about
> the physical geometry is fictitious. The PC BIOS continues to
> calculate C/H/S because that's what BIOS interrupt 0x13 uses
> to boot the machine. The boot code needs to know what the
> BIOS claims or else it may fail to boot. However, once Linux
> is up, there are no C/H/S unless they were invented --and
> hopefully, the same as what the BIOS claims.
>

Some bootloaders want the partition starts to be aligned on a
cylinder size boundary. Try for example to setup a disk partition
table by using parted. It almost always complains about the
the size of the parts I try to create and suggest me others. The
same stands for sfdisk except that it just gives you some
warnings.

Thanks
--
Francis


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