Ronald L. Chichester wrote:
> "Ronald L. Chichester" wrote:
>
> Okay folks, I figured out how to make a regular cd using mkisofs and
> cdrecord (still couldn't get any of the GUI routines to work correctly,
> but the command line routines are still available and still work).
>
> In any case, the last trick that I need is to get the install disk to
> act as a boot disk. Is there some special incantation with cdrecord
> that I need in order to make the install disk bootable? I DID read the
> man page for cdrecord, but it wasn't terribly enlightening. I presume
> that the image that needs to be booted is /boot/vmlinuz in the install
> CD. Question that I have (aside from making it a boot CD) is how to get
> it to boot that image.
It will be a mkisofs issue. On the original cd (and now also your copy)
will be a *floppy* image file that contains the boot code. It's weird,
CDs mimic booting from a floppy! I've made boot CDs using the following
mkisofs command (after placing the boot floppy image in /tmp):
mkisofs -v -U -R -b /tmp/fd144.img -c /
You will want to modify this to suit your env. Note that the floppy
image has to be *part of* (i.e. a file within) the filesystem you are
writing to the CD!
-----
To make a bit for bit copy of a CD it is probably easier to extract
the CD image directly to a file (avoid mkisofs all together):
dd if=/dev/cdrom of=image.iso
then cdrecord image.iso directly. You can test to see if your dd
worked correctly with:
mount image.iso -r -t iso9660 -o loop /mnt/iso
This lets you browse (but not change) the image before you burn a CD.
duane