[ltp] Bootable CD

lizongliang linux-thinkpad@linux-thinkpad.org
Thu, 20 Mar 2003 09:46:59 +0800


> One can copy a CD image from HD to CD by:
> cdrecord -dev=0,2,0 -speed=12 -data <file name>.iso
> for a data iso on my Thinkpad
>
> One can likewise make a bootable floppie by:
> dd if=/dev/fd0 of=boot.img bs=8192
>
> So, how soes one make a bootable CD?
> cdrecord -dev=0,2,0 -speed=12 boot.img <file name>.iso
>
> I know well at least I think boot.img has to be in there somewhere.  So how
> does one do this?
>
> Thanks
> Frank

Acturely you can must get a boot.img to boot you system, But you should and 
the boot.img file to you iso by using the programme named as mkisofs, use the 
option -b filename, and you will get a bootable cd-image.
you can find more helpful messages from the manual of mkisofs.