From owner-freebsd-current@FreeBSD.ORG Wed Sep 21 17:47:37 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 A6FDB106564A for ; Wed, 21 Sep 2011 17:47:37 +0000 (UTC) (envelope-from luke@foolishgames.com) Received: from stargazer.midnightbsd.org (cl-218.chi-02.us.sixxs.net [IPv6:2001:4978:f:d9::2]) by mx1.freebsd.org (Postfix) with ESMTP id 4AD348FC15 for ; Wed, 21 Sep 2011 17:47:37 +0000 (UTC) Received: from [10.3.129.232] (mobile-198-228-226-075.mycingular.net [198.228.226.75]) (authenticated bits=0) by stargazer.midnightbsd.org (8.14.5/8.14.5) with ESMTP id p8LHlVV5064175 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Wed, 21 Sep 2011 13:47:34 -0400 (EDT) (envelope-from luke@foolishgames.com) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.97.2 at stargazer.midnightbsd.org X-Authentication-Warning: stargazer.midnightbsd.org: Host mobile-198-228-226-075.mycingular.net [198.228.226.75] claimed to be [10.3.129.232] References: <20110920210906.GG14862@over-yonder.net> <20110921082649.9616D1065672@hub.freebsd.org> In-Reply-To: <20110921082649.9616D1065672@hub.freebsd.org> Mime-Version: 1.0 (iPhone Mail 8L1) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Message-Id: X-Mailer: iPhone Mail (8L1) From: Lucas Holt Date: Wed, 21 Sep 2011 13:47:26 -0400 To: Thomas Mueller Cc: "freebsd-current@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 17:47:37 -0000 1MB is a magic number. It works with advanced format disks, traditional disk= s, some odd SSD and most raid configurations.=20 Lucas Holt On Sep 21, 2011, at 4:26 AM, "Thomas Mueller" wr= ote: >> =46rom "Matthew D. Fuller" : >=20 >> I've been meaning to mention this, but we really should document >> somewhere that it has a _MAXIMUM_ size. >=20 >> 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. >=20 >> 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 >=20 >> . . cmp $0x9000,%ax.. . # Don't load past 0x90000, >> . . jae err_big.. . # 545k should be enough for >> . . mov %ax,%es.. . # any boot code. :) >=20 >> 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... >=20 > I don't think there is any particular advantage in aligning GPT partitions= on 1 MB boundaries. >=20 > Nothing sacred about being an integer power of 2, wouldn't it be sufficien= t for boot partition size to be divisible by 4096 bytes, when the hard drive= sector size is 4096 bytes? >=20 >=20 > Tom >=20 > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"=