Re: cvs commit: src/sys/boot/i386/boot0 boot0ext.s src/sys/boot/i386/boot0ext Makefile

[ Available lists | Index of cvs-all | Month of Mar 2004 | Week of 30 Mar 2004 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Bruce Evans <bde@zeta.org.au>
Date
30 Mar 2004 20:29:39
Subject
Re: cvs commit: src/sys/boot/i386/boot0 boot0ext.s src/sys/boot/i386/boot0ext Makefile
Message-ID
20040331142321.I768@gamplex.bde.org


[ Hide this part ]
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


Elapsed time: 0.234 seconds