Subject: Re: distrib/hp700 bits
To: Jochen Kunz <jkunz@unixag-kl.fh-kl.de>
From: Chuck Silvers <chuq@chuq.com>
List: port-hp700
Date: 05/23/2005 10:15:22
On Sun, May 22, 2005 at 05:46:58PM +0200, Jochen Kunz wrote:
> On Sat, 21 May 2005 16:55:04 -0700
> Chuck Silvers <chuq@chuq.com> wrote:
> 
> > could someone please try this out?  it looks like it should work,
> > the openbsd cdboot appears to be the normal bootloader code with
> > the non-CD bits removed.
> I can make some tests when I investigate the xxboot <=> PDC_COPROC
> interference. 

excellent, thanks.


> I suspect that a bootable CD can be build by just toasting the LIF image
> used for netbooting to the CD. IIRC the boot loader used in that image
> doesn't care about the medium. It simply uses the device already opened
> by the firmware and loads data via firmware calls. So this boot loader
> should be device independent. 
> 
> With this method we can get a bootable CD, but there will be no ISO9660
> file system on it to carry the distribution sets.
> 
> What I don't understand, due to my limited knowledge about ISO960: How
> to make a CD with a LIF image at the start and a ISO9660 image behind it
> / how to transplant the LIF image at the start of a ISO9660 file system
> without destroying the ISO9660 data structure?

I imagine that we'll have to fit a boot-loader into whatever space is
available at the start of the ISO image, which I have some vague recollection
is 32k.  the openbsd cdboot is 30k, so that seems to agree.  we may need
to make a similar smaller cd-specific boot-loader.

-Chuck