isolinux config: how to detect the boot CDROM



Hi,

I'm working on an installation CD. this is simply a LiveCD that is
calling my installation-scripts instead of the standard init script .
I'm using debootstrap (debian etch) plus isolinux .

In my isolinux configuration (isolinux.cfg) i need to specify the
"root device" , usually i use "root=/dev/hda" , because my CDROM lies
in ide0 .
However, sometimes i want to boot to "/dev/hdb" or "/dev/hdc" (depends
on the machine,bios,...) , and i'm not sure how can i specify a
"dynamic" root .

As a workaround, i've changed the "init script" of my ramdrive so i
can specify "root=CDROM" and than i search for such cdrom in a
script , however - i'm sure that there's another method for detecting
the "bootable" cdrom .

any help ?

zferentz



.



Relevant Pages

  • Re: how to install from kickstart
    ... > yes but were does the installation take the RPM's from? ... If this is your first kickstart attempt, then just specify "cdrom" ...
    (comp.os.linux.networking)
  • Re: how to compile a generic kernel
    ... you copy the initrd from the distribution DVD and the one on your boot ... I am not sure about the udev or devfs which the initrd on installation ... cd or dvd does. ... Now what I need is to be able to write an init script that calls ...
    (alt.os.linux.suse)
  • Re: [opensuse] Run a server as daemon w/ openSUSE [solved]
    ... My google-fu seems to be weak today 'cause I can't find a good answer to ... openSUSE 10.2 installation, so it will start / exit cleanly. ... Write an init script for it. ...
    (SuSE)
  • Re: creating vmlinuz and initrd for distribution media
    ... you copy the initrd from the distribution DVD and the one on your boot ... I am not sure about the udev or devfs which the initrd on installation ... cd or dvd does. ... Actually the difference comes in the init script which you see for ...
    (linux.redhat.install)