On Sat, Jun 11, 2005 at 10:13:10PM +1000, Z L wrote: > I downloaded /3.7/i386 and want to create a bootable CD. So first I > need to make a bootable ISO image and then burn the image in a CD. > > I did "mkisofs -r -b ~/openbsd/3.7/i386/cdrom37.fs -c "boot.catalog" > -o openbsd.iso". It doesn't seem to work. > > Along with ~/../3/7 I also have ~/openbsd/openssh and > ~/openbsd/3.7/changelog directory. I was wondering if I could burn > them altogether in a bootable CD. > > Any help would be appreciated.
I've been using mkisofs for quite some time to make bootable CDs of snapshots. First I make a directory to hold the CD layout, lets call it OpenBSD3.7-snap060705. Then create the dirs needed for the layout. `mkdir OpenBSD3.7-snap060705/3.7/i386/` Within that directory, download all the necessary files -- the tgzs that you want/need, cdrom37.fs, bsd.*, CKSUM, MD5, INSTALL.*, index.txt, etc. Now, from the parent directory of OpenBSD3.7-snap060705, run something like the following: `mkisofs -vrTJV "OpenBSD3.7-snap060705" -b 3.7/i386/cdrom37.fs -c boot.cat -o /tmp/OpenBSD3.7-snap060705.iso OpenBSD3.7-snap060705` The important thing to note is that the argument to -b is a relative path within the last argument. -jon