Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Jan 2010 06:06:46 -0600
From:      Robert Noland <rnoland@FreeBSD.org>
To:        Brooks Davis <brooks@freebsd.org>
Cc:        Dan Naumov <dan.naumov@gmail.com>, Dimitry Andric <dimitry@andric.com>, freebsd-stable@freebsd.org, freebsd-questions@freebsd.org, John Baldwin <jhb@freebsd.org>
Subject:   Re: booting off GPT partitions
Message-ID:  <1264680406.2869.72.camel@balrog.2hip.net>
In-Reply-To: <20100128022349.GB46919@lor.one-eyed-alien.net>
References:  <cf9b1ee01001270845j772d5524tbc2cbd53e70890a7@mail.gmail.com> <201001271627.37955.jhb@freebsd.org> <4B60CBFA.4050601@andric.com> <20100128022349.GB46919@lor.one-eyed-alien.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 2010-01-27 at 20:23 -0600, Brooks Davis wrote:
> On Thu, Jan 28, 2010 at 12:27:54AM +0100, Dimitry Andric wrote:
> > On 2010-01-27 22:27, John Baldwin wrote:
> >> GPT was defined along with EFI, so many folks assume that you have to use EFI
> >> to boot a GPT-labelled disk.  However, FreeBSD has its own BIOS-based
> >> bootstrap that can handle GPT-labelled disks.  I doubt the SuperMicro tech is
> >> familiar with that case.  I thought I heard that some folks had added GPT
> >> support to grub as well.
> > 
> > However, this won't boot disks larger than 2TiB, right?  At least not
> > without BIOS support...
> 
> You won't be able to boot from a partition more than 2TiB in, but you
> should still be able to boot as long as you boot from the front part of
> the disk.

John or Marcel can correct me, but I don't think that this is an issue.
The bootstrap is located in the pmbr in sector 0 and the GPT headers and
tables are in sectors 1 - 34.  The bootstrap code knows how to read the
GPT tables and can deal with > 2 tb lba's.

So, as long as you can successfully load the bootstrap code from sector
0, all *should* be good.

robert.

> -- Brook
-- 
Robert Noland <rnoland@FreeBSD.org>
FreeBSD




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