Multiple ks.cfg o a cdrom

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

 



Hi,

 I am using a RedHat AS 2.1.

 I would like to use several ks.cfg to boot :

syslinux.cfg:
...
label auto
  kernel vmlinuz
append ks=hd:hdc:/ks.cfg initrd=initrd.img lang= devfs=nomount ramdisk_size=7168 vga=788
label int
  kernel vmlinuz
append ks=hd:hdc:/ks-int.cfg initrd=initrd.img lang= devfs=nomount ramdisk_size=7168 vga=788
...


When I choose "int" label in the boot.msg menu, ks.cfg is run by default. (ks-int.cfg is the same file as ks.cfg, but with "interactive")
Same result when booting with this command line :
 text ks=hd:hdc:/ks-int.cfg

These files are in the initrd's /tmp of the images/boot.img directory.

Is it possible to choose which ks.cfg I can load ? Else, how can I do to choose if my installation will be interactive or not ?


Other question :

Is it possible to put ks.cfg and ks-int.cfg in a directory on the cdrom, for exemple "ADDONS" ? I tried several times with something like :
label auto
  kernel vmlinuz
append ks=hd:hdc:/ADDONS/ks.cfg initrd=initrd.img lang= devfs=nomount ramdisk_size=7168 vga=788

but this doesn't work. I tried other paths but the cdrom looks unavailable when being in the initrd boot sequence. I would like to put them on the cdrom "root" to modify them easily. Should i try to mount the cdrom inside the initrd ? (not really sexy).

Thanks for help
--
cs



[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux