Subject: Re: unattended cdboot
To: None <current-users@NetBSD.org>
From: David Young <firstname.lastname@example.org>
Date: 08/20/2005 21:08:09
On Thu, Aug 18, 2005 at 03:38:57PM -0500, David Young wrote:
> On Wed, Jul 20, 2005 at 02:27:12PM +0900, Bang Jun-Young wrote:
> > > I think it is a reasonable compromise for all of our needs, if the
> > > keypress is configurable with, say, an installboot(8) option.
> > It's not possible to install cdboot to CD-ROM by using installboot
> > since CD-ROM is read-only media.
> One would installboot to the CD-ROM image before recording the CD-ROM.
> I run installboot(8) on Compactflash images all of the time.
> I just tried to boot an ISO9660 filesystem created by makefs like so:
> % $TOOL_MAKEFS -x -F $DESTDIR/metalog.image -N $INSTDIR/etc -t cd9660 \
> -o "rockridge,bootimage=i386;$DESTDIR/usr/mdec/cdboot,no-emul-boot"\
> $ISO $INSTDIR
> The CD-ROM would boot neither qemu nor a laptop. On the laptop, it
> complained that it could not find /boot (/boot is in there!). On qemu,
> I do not see any progress after cdboot displays its banner. If you will
> contact me privately, I will provide you with the ISO image.
I think I have figured it out. There is a standards-compliance bug in
makefs, in that it omits trailing periods. So /boot is recorded as BOOT;1
instead of BOOT.;1, as cdboot expects. I believe I know how to fix that.
David Young OJC Technologies
email@example.com Urbana, IL * (217) 278-3933