Multiple ks.cfg o a cdrom
Bodle, Donald E
donald_bodle at reyrey.com
Tue Apr 20 11:23:37 UTC 2004
Sorry about the word wrap or cut and paste problem. Try this again:
root > cat boot/syslinux.cfg
implicit 1
prompt 1
display reyboot.msg
label i
kernel vmlinuz
append ks=file:/install.cfg initrd=initrd.img lang= devfs=nomount
label r
kernel vmlinuz
append ks=file:/reload.cfg initrd=initrd.img lang= devfs=nomount
install.cfg and reload.cfg are embedded in initrd.img:
root > ls initrd
bin etc linuxrc modules reload.cfg tmp
dev install.cfg lost+found proc sbin var
Donald E. Bodle, Jr., RHCT
Sr. Systems Integration Engineer
Platform Development
The Reynolds and Reynolds Co.
(937) 485-1954
Dazed and confused, but trying to continue...
-----Original Message-----
From: Bodle, Donald E
Sent: Tuesday, April 20, 2004 7:13 AM
To: 'Discussion list about Kickstart'
Subject: RE: Multiple ks.cfg o a cdrom
I think with 2.1 you must embed them in the initrd.img. That's what I do.
Here's an example of my syslinux.cfg:
root > cat boot/syslinux.cfg
implicit 1
prompt 1
display reyboot.msg
label i
kernel vmlinuz
append ks=file:/install.cfg initrd=initrd.img lang= devfs=nomount label r
kernel vmlinuz
append ks=file:/reload.cfg initrd=initrd.img lang= devfs=nomount
install.cfg and reload.cfg are embedded in initrd.img:
root > ls initrd
bin etc linuxrc modules reload.cfg tmp
dev install.cfg lost+found proc sbin var
Donald E. Bodle, Jr., RHCT
Sr. Systems Integration Engineer
Platform Development
The Reynolds and Reynolds Co.
(937) 485-1954
Dazed and confused, but trying to continue...
-----Original Message-----
From: Christophe Sahut [mailto:csahut at lynuxtraining.com]
Sent: Tuesday, April 20, 2004 5:30 AM
To: kickstart-list at redhat.com
Subject: Multiple ks.cfg o a cdrom
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
_______________________________________________
Kickstart-list mailing list
Kickstart-list at redhat.com
https://www.redhat.com/mailman/listinfo/kickstart-list
_______________________________________________
Kickstart-list mailing list
Kickstart-list at redhat.com
https://www.redhat.com/mailman/listinfo/kickstart-list
More information about the Kickstart-list
mailing list