Re: Debian installer for Linuxcare rescue CD
Seth David Schoen <schoen@loyalty.org> writes:
> > > The main thing that would be different on the floppies would be an unusual
> > > version of init (which has to locate and mount the CD-ROM). El Torito
> > > doesn't tell you the device name of the CD-ROM drive. :-(
> >
> > That's interesting. Can you show us your code you use for this?
>
> Sure. It's not very different from the corresponding code in other
> distributions, nor very exciting.
>
> It begins with
>
> for drive in `echo /dev/hd? /dev/scd? /dev/sd?`
> do
> echo "Attempting to mount $drive as cdrom"
> if ! mount -r -t iso9660 $drive /mnt/tmp 2>/dev/null
Ah... oh ok, yeah, we already have the moral equivalent of this in our
apt configurator. I thought you hacked stuff somehow so we knew from
the BIOS automatically what our boot device was, which would be
interesting.
So don't worry about sending code -- we already have it.
--
.....Adam Di Carlo....adam@onShore.com.....<URL:http://www.onShore.com/>
Reply to: