[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: boot-floppies 2.2.9 and Debian CD's...



Le Thu, Mar 23, 2000 at 05:58:45PM -0500, Ben Collins écrivait:
> When mkhybrid creates the CD, you pass it the image(s) to use for booting.
> One of these is the root.bin from boot-floppies. It does not need to be
> recreated for the CD's, just simply:
> 
> gzip -dc root.bin > root.bin.uncompressed
> mount -o loop root.bin.uncompressed /mnt
> touch /mnt/cdrom_image
> umount /mnt
> gzip -c9 root.bin.uncompressed > root.bin
> 
> It's quite simple, and then that becomes the root image used for CD
> booting.

Yes, but mount needs root rights, and I would better not add such a
requiry for using debian-cd... is there no other way to get this
information ? Is there no way to get the device that has been used 
to boot ? Or can't we just automatically detect CD roms and look if there's a
.disk/info file in it ?

Why wouldn't you put /cdrom_image by default in all 2.88 Mb image that are
only used for CDs AFAIK ?

Cheers,
-- 
Raphaël Hertzog >> 0C4CABF1 >> http://tux.u-strasbg.fr/~raphael/
<pub> CD Debian : http://tux.u-strasbg.fr/~raphael/debian/#cd
      Formations Linux et logiciels libres : http://www.logidee.com </pub>


Reply to: