From owner-freebsd-current@FreeBSD.ORG Wed Sep 21 08:26:49 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9616D1065672 for ; Wed, 21 Sep 2011 08:26:49 +0000 (UTC) (envelope-from mueller6727@bellsouth.net) Received: from fmailhost02.isp.att.net (fmailhost02.isp.att.net [204.127.217.102]) by mx1.freebsd.org (Postfix) with ESMTP id 854628FC08 for ; Wed, 21 Sep 2011 08:26:49 +0000 (UTC) Date: Wed, 21 Sep 2011 08:26:47 +0000 (GMT) X-Comment: Sending client does not conform to RFC822 minimum requirements X-Comment: Date has been added by Maillennium Received: from localhost (adsl-72-147-183-55.sdf.bellsouth.net[72.147.183.55]) by isp.att.net (frfwmhc02) with SMTP id <20110921082647H0200ce825e>; Wed, 21 Sep 2011 08:26:47 +0000 X-Originating-IP: [72.147.183.55] From: "Thomas Mueller" To: freebsd-current@freebsd.org References: <20110920210906.GG14862@over-yonder.net> Message-Id: <20110921082649.9616D1065672@hub.freebsd.org> Subject: Re: 9.0 beta2 & the new bsdinstaller X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Sep 2011 08:26:49 -0000 >From "Matthew D. Fuller" : > I've been meaning to mention this, but we really should document > somewhere that it has a _MAXIMUM_ size. > I setup a system a few weeks back with GPT, and figured I'd just make > the first 'real' partition start at the 1 meg mark. And make > everything before that (1 meg - the however many sectors for the pmbr) > the freebsd-boot partition. > It worked fine, up 'till the point that I tried to boot, and it > completely failed to, complaining that the boot code was too big. I > had to track around in pmbr to find > . . cmp $0x9000,%ax.. . # Don't load past 0x90000, > . . jae err_big.. . # 545k should be enough for > . . mov %ax,%es.. . # any boot code. :) > and redo the partition to 512k (leaving a few hundred k unused before > the next partition started) before it would boot. That's a little > nerve-wracking to hit on a critical system... I don't think there is any particular advantage in aligning GPT partitions on 1 MB boundaries. Nothing sacred about being an integer power of 2, wouldn't it be sufficient for boot partition size to be divisible by 4096 bytes, when the hard drive sector size is 4096 bytes? Tom