Problem with reading ks.cfg from the cdrom
Stephen Mah
steve.mah at oracle.com
Tue May 4 17:01:38 UTC 2004
Never used the cdrom option.
I use this:
append initrd=initrd.img lang= devfs=nomount ramdisk_size=8192 vga=788
ks=file:/tmp/ks.cfg
then I put the kickstart file in the initrd.img file system, which is on
the cdrom when I make it bootable.
cd isolinux
gunzip -c initrd.img >initrd.img.unzip
mkdir -p loop
mount -o loop initrd.img.unzip loop/
cp ks.cfg ./loop/tmp/
umount loop/
gzip -9 -c initrd.img.unzip > initrd.img
rm -rf initrd.img.unzip
then use mkisofs to create your cdrom.
Avrahami David wrote:
> Hi,
>
> I'm a newbie to kickstart and I am trying to install RHEL 3.0 by
> kickstart procedure from the cdrom.
> I did as following:
>
> 1) I prepared a bootable cdrom
> (_http://www.redhat.com/docs/manuals/enterprise/RHEL-3-Manual/x8664-multi-install-guide/s1-steps-install-cdrom.html#S2-STEPS-MAKE-CD_
> )and put the ks.cfg
>
> on top-level directory
> (_http://www.redhat.com/docs/manuals/enterprise/RHEL-3-Manual/sysadmin-guide/s1-kickstart2-putkickstarthere.html_
> ).
>
> Then I boot from cdrom and type on boot: linux ks=cdrom:/ks.cfg
> In this stage I got the installation menus which says that kickstart
> fails to read/find the ks.cfg.
> It seems that ks.cfg somehow can't be read.
> the ALT+F4 says: unable to identify cd-rom format
> the ALT+F3says: failed to mount /dev/hdd invalid argument trying to
> mount device hdd
>
> There is no such problem if I put the same ks.cfg on floppy and boot
> from cdrom and type boot: linux ks=floppy
> Any clue?
>
> David
>
>------------------------------------------------------------------------
>
>_______________________________________________
>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