Red Hat Bugzilla – Bug 4054
Kickstart fails from 6.0 boot disk. Doesn't try DHCP?
Last modified: 2008-05-01 11:37:51 EDT
I'm working on getting a kickstart configuration for
RedHat 6.0. I'm using DHCP/BOOTP to distribute the network
information (both running on the NFS server). My ks.cfg file
looks like this:
network --bootproto dhcp
nfs --server 184.108.40.206 --dir
part /tmp --size 256
part / --size 2000 --grow
part swap --size 127
part /usr --size 2000 --grow
mouse --kickstart --emulthree genericps/2
xconfig --server "SVGA" --monitor "Generic06"
rootpw --iscrypted qjHDJu8YGVsiM
auth --enablenis --nisdomain cs-152 --useshadow --enablemd5
lilo --location mbr
When I boot to the RedHat 6.0 boot disk, and type "linux
ks", the installation goes on to ask me a language and then
give me a choice of either CDROM or HDD for installation
media. On tty2, the error message "No kickstart method was
specified" appears, and the ethernet card fails to be even
initialized. This happens the same way even if I use "device
ethernet" line, and even when I put the ks.cfg on the floppy
and used "linux ks=floppy".
If I boot to a RedHat 5.2 installation floppy, it gets the
BOOTP/DHCP information and goes right ahead with the
installation. The problem, though, is that 1) It doesn't
recognize the 'auth' keyword. and 2) It spills errors all
over the install screen about invalid entries in rpmrc.
These two things make me a little nervous about actually
using the 5.2 disk to kickstart 6.0.
Am I missing something? Why won't the 6.0 disk do DHCP for
me? Why won't it even initialize the card?
I was unable to get the dhcp to fail on a kickstart install with a
stock 6.0 install. One note might be that you may have the install
directory on a second line when it needs to be on the same line as the
one before it.
nfs --server 220.127.116.11 --dir /cd-images/redhatlinux_i3866.0
This may or may not help but after fixing this line and doing the test
dhcp was working fine for me. Does dhcp work during a manual regular
Yes, DHCP works fine during a manual regular install. However, as I'm
finding out right now while waiting for a solution, doing all our
site-specific customizations by hand is no easy task.
My nfs line is all one line, as you said. It got wrapped in the web
If it helps to have more specific information, I'm attempting to
kickstart an HP Vectra VA. It's a Pentium Pro 200. The BOOTP/DHCP/NFS
server is a Sun Enterprise 4500 running Solaris 2.6.
Would any other information be useful? To clarify, what I'm seeing is
that when I boot to the RH 6.0 disk (as opposed to 5.2, which
"works"), the kickstart process does not attempt to use DHCP/BOOTP to
initiate the install sequence, and doesn't even initialize the network
card (a 3com "Vortex" card).
Does the install bring up any error messages when it fails, for
example does it bring up a selection box to choose which card you want
to use or does it bring up a mount failed window?
Also more useful info could be obtained by switching over to the
ALT-F3 to see what the last few lines say and also ALT-F4 to see if
the kernel is even initializing the 3Com card.
In the main install console (tty1?), the first thing I see is a prompt
for a language. After that, it goes straight to the media selection
'window' and gives me two choices: CDROM or Hard Disk.
In the next console (tty3?), I see the message mentioned earlier: "No
kickstart method was specified." ..and various mounts/unmounts/deletes
concerning /dev/fd0 and /tmp/*.
In the last console (tty4?), I see all the standard kernel messages
from booting the system, but no, it does not initialize the 3com card.
As another note, in tty3, there are very few messages on the screen,
and I can actually still see -both- of the "Welcome to RH Install"
messages... translation: I'm not missing any messages that scroll
away. :) From watching the messages in a proper install (both 5.2 and
6.0 [6.0 w/o kickstart, obviously]), I can safely say: The 3com card
is not be initialized, and the ks install never bothers to try
I can't imagine this being a hardware issue.. I hope.. Any ideas?
Are you using the boot.img or bootnet.img?
For network kickstarts you need to use the bootnet.img and for cdrom
kickstarts use the boot.img.
<sigh>.. <laugh>.. Three days fighting with this. :)
..okay.. thank you. Very much appreciated.
<wanders off into a corner of the machine room for a stiff drink>
Glad I could help.