Subject: Re: making bootable CD's
To: Wolfgang Rupprecht <firstname.lastname@example.org>
From: Manuel Bouyer <email@example.com>
Date: 11/29/1999 18:44:23
On Mon, Nov 29, 1999 at 06:26:16AM -0800, Wolfgang Rupprecht wrote:
> Can someone please give me a quick rundown on how to make bootable
> CD's for netbsd?
> I'm trying to put together a backup script that snapshots the rootfs
> and /usr to an ISO9660 CD. If worse comes to worse I'd like to be
> able to boot from this emergency CD and mount the CD as the rootfs.
> I notice mkisofs has options to include a boot-image and boot-catalog
> on the CD, but there is scant mention of how to construct either.
This boot image is a floppy image. The PC bios then emulate a floppy drive.
You can make a bootable cd with root on the CD : build a kernel with
root on cd9660, make a bootable floppy with it, extract floppy image
and call mkisofs with it.
The PC then will boot this kernel from the fake floppy, and the kernel
will look for a cd9660 FS for its root. If you have only one cd drive this
should be ok :)
Manuel Bouyer, LIP6, Universite Paris VI. Manuel.Bouyer@lip6.fr