Re: 9.0 beta2 & the new bsdinstaller

From: Matthew D. Fuller <fullermd_at_over-yonder.net>
Date: Tue, 20 Sep 2011 16:09:06 -0500
On Tue, Sep 20, 2011 at 04:23:49PM +1000 I heard the voice of
Peter Jeremy, and lo! it spake thus:
> On 2011-Sep-19 13:25:27 +0100, Bruce Cran <bruce_at_cran.org.uk> wrote:
> >Will 64 kB be enough for 9.x?
> 
> At least for x86 architectures, it seems adequate.  [...]
> 
> As for size, I'd suggest that if the default freebsd-boot size is
> going to be changed, it should be adjusted so that the following
> partition is aligned to a reasonably sized power of 2 - 128KB or
> 256KB.

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...


-- 
Matthew Fuller     (MF4839)   |  fullermd_at_over-yonder.net
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/
           On the Internet, nobody can hear you scream.
Received on Tue Sep 20 2011 - 19:34:07 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:18 UTC