Problem with reading ks.cfg from the cdrom

Avrahami David David.Avrahami at comverse.com
Wed May 5 11:28:10 UTC 2004


It seems that there is a problem with cdrom option,(case opened on RedHat,no
bug has been issued yet on bugzilla).

Including ks.cfg to initrd.img works.
Thanks for the help, great list

David


>  Stephen Mah wrote:
> Sent: Tuesday, May 04, 2004 8:02 PM
> To: Discussion list about Kickstart
> Subject: Re: Problem with reading ks.cfg from the cdrom
> 
> 
> 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
> >  
> >
> 
> 
> _______________________________________________
> Kickstart-list mailing list
> Kickstart-list at redhat.com 
> > https://www.redhat.com/mailman/listinfo/kickstar> t-list
> 
> 
> 
> ______________________________________________________________________
>   This email message has been scanned by PineApp Mail-Secure 
> and has been found clean.
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/kickstart-list/attachments/20040505/b509d8bb/attachment.htm>


More information about the Kickstart-list mailing list