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

Re: using GRUB



On Tue Jan 23, 2001 at 08:49:04PM -0500, Adam Di Carlo wrote:
> > 
> > I guess that CD-Rom drive could be anywhere from
> > (hd1) to (hd3).
> 
> Uh, well, you mean hda to hdc?  Plus SCSI drives, etc etc.  Oh, ick.
> There must be a better way.

I did a similar thing once.  I used a simple shell script on boot to try and
mount /dev/hd[abcdefg] and /dev/scd[0123456789] and then look for the presence
of a magic file name and md5sum.  Was easy enough to do and worked very well.

 -Erik

--
Erik B. Andersen   email:  andersee@debian.org
--This message was written using 73% post-consumer electrons--



Reply to: