mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andries Brouwer <aebr@win.tue.nl>
To: Andrzej Krzysztofowicz <ankry@green.mif.pg.gda.pl>
Cc: linux-kernel@vger.kernel.org (kernel list)
Subject: Re: Disk Geometries reported incorrectly on 2.6.0-testX
Date: Sun, 30 Nov 2003 14:13:14 +0100	[thread overview]
Message-ID: <20031130131314.GB5738@win.tue.nl> (raw)
In-Reply-To: <200311300222.hAU2MqcB002434@green.mif.pg.gda.pl>

On Sun, Nov 30, 2003 at 03:22:52AM +0100, Andrzej Krzysztofowicz wrote:

> > The BIOS reads the MBR and jumps to the code loaded from there.
> > There is no need for any partition table, or, if there is a table,
> > for any particular format. It is all up to the code that is found
> > in the MBR.
> 
> I found some PC BIOS-es refuse to read the MBR if no active partition is
> found in the partition table...

Yes. We are getting a bit away from disk geometries, but it is true
that there are many broken BIOSes that in some way depend on partition
table format or MBR format.

I recall the report that one BIOS tuned IDE modes by reading the MBR
and seeing whether it ended with 0xaa55. If not it tried a lower speed.
So on a disk without this MBR signature, the I/O would be slow.

BSD used to use an entirely different partition table scheme.
And it was not uncommon to run a whole-disk BSD system, without
any partitioning.
Increasingly often that caused problems with broken BIOSes
that wanted to interpret partition table contents.

The categories of problems that come to mind are:
- BIOS has a virus detection option and checks the MBR
- BIOS inspects the partition table to find the hibernation partition
- BIOS inspects the partition table to find the service partition
- BIOS inspects the partition table to guess what geometry it should report

I recall that certain Thinkpads would not boot FreeBSD even with a DOS-type
partition table because the BIOS did not like the a5 partition ID.

So, yes, you are right, practice is much more complicated than theory.

Andries


  reply	other threads:[~2003-11-30 13:14 UTC|newest]

Thread overview: 49+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200311300220.hAU2K0dr019280@sunrise.pg.gda.pl>
2003-11-30  2:22 ` Andrzej Krzysztofowicz
2003-11-30 13:13   ` Andries Brouwer [this message]
2003-11-30 13:58     ` John Bradford
2003-11-30  7:08 Norman Diamond
2003-11-30 12:49 ` Andries Brouwer
2003-12-03 11:06   ` Andrew Clausen
2003-12-03 14:42     ` Andries Brouwer
2003-12-03 23:11       ` Andrew Clausen
  -- strict thread matches above, loose matches on Subject: below --
2003-11-30  7:08 Norman Diamond
2003-11-28  4:58 Apurva Mehta
2003-11-28 14:24 ` Andries Brouwer
2003-11-29  2:22   ` Andrew Clausen
2003-11-29  5:16     ` Szakacsits Szabolcs
2003-11-29  9:18       ` Sven Luther
2003-11-29 12:41         ` Andries Brouwer
2003-11-30 11:44           ` Szakacsits Szabolcs
2003-11-30 15:19             ` Andries Brouwer
2003-11-29 12:34       ` Andries Brouwer
2003-11-29 13:50         ` John Bradford
2003-11-29 14:04           ` Stefan Smietanowski
2003-11-29 17:01           ` Sven Luther
2003-11-29 22:14             ` Andries Brouwer
2003-11-29 22:44               ` Sven Luther
2003-11-30  0:39                 ` Andries Brouwer
2003-11-30  9:35               ` Sergey Vlasov
2003-11-29 22:31           ` Andrew Clausen
2003-11-30  8:57             ` Arjan van de Ven
2003-11-30  7:38               ` Szakacsits Szabolcs
2003-11-30 10:40               ` John Bradford
2003-11-30 11:24                 ` Sven Luther
2003-11-30 13:48                   ` John Bradford
2003-11-30 17:22                     ` Sven Luther
2003-11-30 23:51                 ` Andrew Clausen
2003-11-30 22:54               ` Andrew Clausen
2003-11-29 22:27         ` Andrew Clausen
2003-11-30  0:34           ` Andries Brouwer
2003-11-30 11:10             ` Szakacsits Szabolcs
2003-11-30 13:26               ` Andries Brouwer
2003-11-30 12:34                 ` Szakacsits Szabolcs
2003-11-30 15:46                   ` Andries Brouwer
2003-11-29 22:33       ` Andrew Clausen
2003-11-30  9:16         ` Szakacsits Szabolcs
2003-12-03 11:05           ` Andrew Clausen
2003-12-03 11:28             ` Szakacsits Szabolcs
2003-12-03 11:54               ` Andrew Clausen
2003-12-03 13:07                 ` Szakacsits Szabolcs
2003-12-03 23:27                   ` Andrew Clausen
2003-12-03 21:55                     ` Szakacsits Szabolcs
2003-12-03 23:47                     ` bill davidsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20031130131314.GB5738@win.tue.nl \
    --to=aebr@win.tue.nl \
    --cc=ankry@green.mif.pg.gda.pl \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®