Subject: Re: build.sh: iso-image operation not working
To: Martin Husemann <martin@duskware.de>
From: Patrick Welche <prlw1@newn.cam.ac.uk>
List: current-users
Date: 02/03/2006 17:20:54
On Fri, Feb 03, 2006 at 12:05:55PM +0100, Martin Husemann wrote:
> On Fri, Feb 03, 2006 at 11:59:24AM +0100, Jukka Salmi wrote:
> > Oh, fine! Are there things mkisofs can do and makefs can't which are
> > needed to create the NetBSD image?
> 
> I'm not sure for mac* stuff.
> For i386 and amd64 support is complete, all other ports use different tools
> to postprocess the iso-image.

Having now read the installboot(8) page, it explains how to make
a bootable cdrom using cdbootblocks, booting the kernel off the
"ordinary" bit of CD. I have had another go at trying to replicate
the "bootfloppy as el-torito image" version of proceedings we used
with makeisofs, but get a non-booting coaster. So the following 2
lines are not equivalent:

mkisofs -o output.iso -b i386/installation/floppy/boot-big.fs \
-c boot.catalog -l -J -R -L \
/usr/src/releasedir

makefs -t cd9660 -o 'allow-multidot,rockridge,bootimage=i386;/usr/src/releasedir
/i386/installation/floppy/boot-big.fs' output.iso /usr/src/releasedir

This is on i386.. Thoughts?

Cheers,

Patrick