RE: Problem with reading ks.cfg from the cdrom

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

 



Haven't done this myself but Section 7.8.2
of this doc:
http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/custom-guide/s1-kickstart2-putkickstarthere.html

talks about copying the ks.cfg file to the
isolinux/ directory before you make the iso.

-dave
-----Original Message-----
From: kickstart-list-bounces@xxxxxxxxxx
[mailto:kickstart-list-bounces@xxxxxxxxxx]On Behalf Of Stephen Mah
Sent: Tuesday, May 04, 2004 1: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@xxxxxxxxxx
>https://www.redhat.com/mailman/listinfo/kickstart-list
>  
>


_______________________________________________
Kickstart-list mailing list
Kickstart-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/kickstart-list



[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