Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Apr 2004 20:39:48 -0700
From:      Marcel Moolenaar <marcel@xcllnt.net>
To:        Robert Watson <rwatson@freebsd.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Default support for GPT [was: Re: More than 8 labels per slice]
Message-ID:  <20040428033948.GA7603@dhcp01.pn.xcllnt.net>
In-Reply-To: <Pine.NEB.3.96L.1040427220746.51265D-100000@fledge.watson.org>
References:  <408F11C5.5030403@freebsd.org> <Pine.NEB.3.96L.1040427220746.51265D-100000@fledge.watson.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Apr 27, 2004 at 10:08:59PM -0400, Robert Watson wrote:
> 
> > > If there are no objections I'll enable it on i386 and amd64 over the
> > > weekend or so. If people feel we should enable the support on alpha
> > > and sparc64 as well, holler.
> > 
> > I remember there being rumors a year or two ago about Intel trying to
> > sack legacy BIOS and MBR support on x86 entirely and force everyone to
> > use EFI and GPT.  Without GPT support in the system bootstrap, it's not
> > terribly interesting to use except on secondary storage. 
> 
> The GPT partition table includes an fdisk compatibility partition table in
> it to describe the first partition (and reserve the rest?).  That way you
> can boot from an older BIOS even if you lay down GPT over the entire boot
> disk, or at least I believe that was the intent.

Not quite. The MBR on a disk with GPT is expected to be a protective
MBR, which only serves the purpose of marking the whole disk (or as
much as you can cover with the MBR) as used to avoid that MBR tools
trash the GPT disk by thinking there's no data on it. At least EFI
does not support both MBR partitions and GPT, but it is technically
possible to create such a disk. Our GPT code currently allows this,
but this is not by design. It's for convenience. The gpt(8) tool does
not like MBR partitions with GPT, but it could be made less picky.

It's not unthinkable to have bootable GPT on i386 and amd64. New boot
blocks need to be written and we need a way to mark root partitions.

-- 
 Marcel Moolenaar	  USPA: A-39004		 marcel@xcllnt.net



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040428033948.GA7603>