Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Mar 2004 14:29:24 +1000 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        Bruce M Simpson <bms@spc.org>
Cc:        Dag-Erling Sm?rgrav <des@des.no>
Subject:   Re: cvs commit: src/sys/boot/i386/boot0 boot0ext.s src/sys/boot/i386/boot0ext Makefile
Message-ID:  <20040331142321.I768@gamplex.bde.org>
In-Reply-To: <20040331030428.GI756@empiric.dek.spc.org>
References:  <200403261846.i2QIkVuT063179@repoman.freebsd.org> <200403261706.46836.jhb@FreeBSD.org> <20040326223518.GA78950@dragon.nuxi.com> <4064ED3E.4000407@freebsd.org> <20040327063641.GA85117@dragon.nuxi.com> <20040327071459.GA98009@FreeBSD.org> <20040327072259.GA85580@dragon.nuxi.com> <xzp1xnb3ny5.fsf@dwp.des.no> <20040331020010.GA53349@dragon.nuxi.com> <20040331030428.GI756@empiric.dek.spc.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 31 Mar 2004, Bruce M Simpson wrote:

> On Tue, Mar 30, 2004 at 06:00:10PM -0800, David O'Brien wrote:
> > > > Sorry, but I'd like to have a useful boot0 -- one that tells me my
> > > > partition is something other than "???".  That can't be done with a
> > > > 1-sector boot0.
> > >
> > > Are you sure that the bug you're seeing isn't the one that was fixed
> > > by this commit:
> >
> > 99% sure.  Our boot0 doesn't understand all possbile MS partition types.
>
> I recognised this and was the one who put David up to this. :-)
>
> Other things, such as grokking EMBRs to allow boot from extended partitions,
> or support for serial console other than COM1, can't be done in the 512-byte
> space we currently have.
>
> But because of system incompatibilities, I would emphasize boot0ext remain
> purely optional; and added to son-of-sysinstall with the relevant warnings.

No; neither boot0ext nor boot0sio should exist.  boot0 should just load
the next stage, which may or may not consist if a single 512-byte sector
in the sector following boot0.  The problems are to allocate space for the
next stage and find this space in boot0.  boot0ext only works if the next
sector is free and will remain free.

Bruce



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