EDIT: I've solved the problem. See the last post.
I'm looking at running Damn Small Linux for a firewall/server box. I had to append some custom boot parameters for it to suit my taste, and as it will be a headless box, that meant editing the default in isolinux.cfg.
So that means I've copied the iso's contents out, edited isolinux.cfg, and I am now trying to burn it. Note that I did not enter the compressed filesystem.
I know how to use mkisofs, but for a cd to be bootable, I would think that there would have to be some special arguments thrown in. This guide uses the following command:
# mkisofs -no-pad -l -r -J -no-emul-boot -boot-load-size 4 – boot-info-table -b boot/isolinux/isolinux.bin -c boot/isolinux/boot.cat -hide-rr-moved -o mydsl.iso newcd
The only thing I altered was the last word, which is the directory with the cd's contents in it, changed obviously to match my own directory. Otherwise all was kept same. As I copied straight from the CD, all the boot/isolinux contents are there.
When I try this, it returns:
I: -input-charset not specified, using utf-8 (detected in locale settings)
genisoimage: Missing boot image name, use -eltorito-boot option.
The first doesn't seem like a problem. The second, however, I have no idea what to do with. When I looked in the mkisofs man page, I saw:
Specifies the path and filename of the boot image to be used
when making an El Torito bootable CD for x86 PCs. The pathname
must be relative to the source path specified to genisoimage.
But I have no idea how to specify the source path for genisoimage.
Can anyone help? This seems infuriatingly simple.