Re: Disk Geometries reported incorrectly on 2.6.0-testX

From: Sergey Vlasov
Date: Sun Nov 30 2003 - 04:38:07 EST


On Sat, 29 Nov 2003 23:14:24 +0100, Andries Brouwer wrote:

> On Sat, Nov 29, 2003 at 06:01:03PM +0100, Sven Luther wrote:
>
>> The only problem is that your BIOS will probably not be able
>> to boot from it
>
> You seem to misunderstand the boot sequence.
> The BIOS does not generally do any parsing of partition tables.

In theory, the BIOS does not need to look in the partition tables.
However, in practice it does this :(

Many BIOSes look at least at the partition table in the MBR to autodetect
the CHS parameters which were used when partitioning the disk. E.g. if
you partition a disk with LBA turned off in the BIOS (so the CHS
parameters will have 16 heads), then notice the mistake and turn LBA on,
in many cases BIOS will still show 16 heads in the CHS parameters.
However, after cleaning the MBR the same BIOS with the same settings will
report 255 heads.

Who knows what such BIOS will do if it will find something other than a
DOS partition table in the first sector...

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/