From: Martin Feeney (martin at domain tuatha.org)
Date: Thu 20 Jul 2000 - 01:10:04 IST
On 19 Jul 00, at 23:22, Conor Daly wrote:
> -----Original Message-----
> From: Fergal Daly <fergal at domain esatclear.ie>
> >At 19:09 19/07/00, John P. Looney (Kate) wrote:
> >> Is there a handy way of copying a bootable CD ? Something like "cp
> >>/dev/hdc /dev/sg0" or something...
> >cdrecord dev=/dev/sg0 < /dev/hdc
> >bootability is based on the existence of 2 files on the CD as opposed to
> >any kind of magic/invisible boot sector,
> Are you sure about that Fergal? IIRC there is some unused space at the
> start of the CD that has been co-opted for the el-torito bootable bit. I
> know Adaptec Easy CD Creator generates 2 files on the CD but there's a bit
> more magic than that involved. For example, I don't think it's possible to
> copy the bootable bit onto a floppy (or even rawrite | dd it) which you'ld
> need to make a bootable copy of the disk unless you use a RAW copy (well,
> not quite raw but a sector for sector or block for block copy) program.
If you want to copy, do:
dd if=/dev/hdc of=bootable.iso bs=2048
cdrecord dev=0,0 -eject bootable.iso
If you want to create one from a filesystem, then I think it has to be
done from mkisofs.
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:06:55 GMT