Discussion:
Problem with reading ks.cfg from the cdrom
Avrahami David
2004-05-04 15:05:47 UTC
Permalink
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-ins
tall-guide/s1-steps-install-cdrom.html#S2-STEPS-MAKE-CD
<http://www.redhat.com/docs/manuals/enterprise/RHEL-3-Manual/x8664-multi-ins
tall-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
<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
Stephen Mah
2004-05-04 17:01:38 UTC
Permalink
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.
Post by Avrahami David
Hi,
I'm a newbie to kickstart and I am trying to install RHEL 3.0 by
kickstart procedure from the cdrom.
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
https://www.redhat.com/mailman/listinfo/kickstart-list
David Tegelaar
2004-05-04 19:47:27 UTC
Permalink
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-***@redhat.com
[mailto:kickstart-list-***@redhat.com]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.
Post by Avrahami David
Hi,
I'm a newbie to kickstart and I am trying to install RHEL 3.0 by
kickstart procedure from the cdrom.
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
https://www.redhat.com/mailman/listinfo/kickstart-list
Avrahami David
2004-05-05 11:28:10 UTC
Permalink
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
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.
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.
Post by Avrahami David
Hi,
I'm a newbie to kickstart and I am trying to install RHEL 3.0 by
kickstart procedure from the cdrom.
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_
Post by Avrahami David
)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_
Post by Avrahami David
).
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
Post by Avrahami David
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
-------------------------------------------------------------
----------
Post by Avrahami David
-
_______________________________________________
Kickstart-list mailing list
https://www.redhat.com/mailman/listinfo/kickstart-list
_______________________________________________
Kickstart-list mailing list
Post by Avrahami David
https://www.redhat.com/mailman/listinfo/kickstar> t-list
______________________________________________________________________
This email message has been scanned by PineApp Mail-Secure
and has been found clean.
mbox mbarsalou
2004-05-18 17:31:47 UTC
Permalink
There used be a wiki that had information on how to setup kickstart with
Fedora....anyone know where it went? I think the website was
rau.homedns.org.

Mike
Taylor, ForrestX
2004-05-18 17:55:47 UTC
Permalink
Post by mbox mbarsalou
There used be a wiki that had information on how to setup kickstart with
Fedora....anyone know where it went? I think the website was
rau.homedns.org.
Yes, it is:
http://rau.homedns.org/twiki/bin/view/Anaconda/AnacondaDocumentationProject

Although it is mostly about anaconda and rebuilding a custom distro.

Forrest
mbox mbarsalou
2004-05-18 22:39:37 UTC
Permalink
Thanks...it seemed to be done for a while...anyway.

I was trying to use the Fedora info to setup a single Custom CD. I keep
running into little problems. I will start again from the top and post
to the list what I find.

Since I wasn't trying to customize Anaconda, I just skipped to Section
V. Customizing Fedora Core.

Thanks.

Mike
Post by Taylor, ForrestX
Post by mbox mbarsalou
There used be a wiki that had information on how to setup kickstart with
Fedora....anyone know where it went? I think the website was
rau.homedns.org.
http://rau.homedns.org/twiki/bin/view/Anaconda/AnacondaDocumentationProject
Although it is mostly about anaconda and rebuilding a custom distro.
Forrest
_______________________________________________
Kickstart-list mailing list
https://www.redhat.com/mailman/listinfo/kickstart-list
James Olin Oden
2004-05-19 03:09:06 UTC
Permalink
I ran the getfullcomps as described in the Wiki and I get back a few
CRITICAL ERROR messages. I realize that this means that those
particular packages are missing, but this is the comps.xml file that
comes with the CD set.
Why would it do that?
It will also give critical errors for packages that require the
non-standard kernel (probably not the best name, but things like
kernel-smp and kernel-bigmem being required by others). The patch is
trivial:

152,153c152
< if (h['name'] == "glibc-debug" or
< h['name'].startswith("kernel-")):
---
At least that is the patch agaisnt the RH 9 version. I asked about this
a while back, but got no response.

This may not be your problem, but I figured I would mention it just in
case.

Cheers...james

P.S. I would really like to know why this limitation is there. Course
I probably should have bugzilla'd it, and let the developers sort it out
whether its a NOFIX or patch gleefully accepted.
mbox mbarsalou
2004-05-19 00:24:15 UTC
Permalink
Although it probably wasn't the right step to do, I removed the packages
that gave critical errors from the comps.xml file. This may break
something in the future, but the packages did not exist on any of the
Three CD's I was using...FC 1.

Mike
I ran the getfullcomps as described in the Wiki and I get back a few
CRITICAL ERROR messages. I realize that this means that those
particular packages are missing, but this is the comps.xml file that
comes with the CD set.
Why would it do that?
Since the machine is working just fine the way it is, how could I create
a list of packages that would go into the comps.xml file?
Basically, I want a snapshot of the packages from the current machine
and produce that to the comps.xml so I can make my single CD.
Mike
_______________________________________________
Kickstart-list mailing list
https://www.redhat.com/mailman/listinfo/kickstart-list
mbox mbarsalou
2004-05-18 23:21:36 UTC
Permalink
I ran the getfullcomps as described in the Wiki and I get back a few
CRITICAL ERROR messages. I realize that this means that those
particular packages are missing, but this is the comps.xml file that
comes with the CD set.

Why would it do that?

Since the machine is working just fine the way it is, how could I create
a list of packages that would go into the comps.xml file?

Basically, I want a snapshot of the packages from the current machine
and produce that to the comps.xml so I can make my single CD.

Mike

Jörn Rink
2004-05-07 06:47:15 UTC
Permalink
Am Tue, 4 May 2004 18:05:47 +0300
Post by Avrahami David
Hi,
I'm a newbie to kickstart and I am trying to install RHEL 3.0 by
kickstart procedure from the cdrom.
Hi,
i made the same wih fedora core 1. You have to put the ks.cfg file
in the iso image.
Mount the iso.image and copy the ks.cfg file into the dir
where you mount it. Aftter that, make an new iso and burn it.

When you want to make the ks a default boot option, the you
have to reconfig the boot.cfg file, as i remember correctly,
syslinux.cfg.

No i am sitting in a train. When i am at work, i take a look
at the computer in my firm, where i made the cd.

CU
Jörn Rink
--
Nine (not 9)
Never trust a hippie
Loading...