I work for a company that has plans on deploying >500 Linux Redhat servers
and I *NEED* to automate this. I saw the nifty KickStart-HOWTO and read
it throughly. It does NOT work with the latest bootnet.img. Here's the
steps I've followed:
o Grabbed a new 3 1/2 floppy disk, formatted it under windows
o grabbed rawrite.exe from ftp.redhat.com
o grabbed bootnet.img from ftp.redhat.com in the updates dir
o rawrite bootnet.img a:
o created a ks.cfg based off of ks.samp found on ftp.redhat.com
o copied using windows ks.cfg to a:
o checked to see that ks.cfg was on the floppy, along with initrd.img,
syslinux.cfg, 6 messages, ldlinux.sys and vmlinuz
o put the floppy into the drive of the system I wanted to build,
made sure there was no cdrom in the drive (wanting to do a network
o booted said PC
o watched it do mem check, come up with the boot.msg (which I modified
so I'd know for sure that it came up with my boot disk).
o typed in: linux ks=floppy
o waited for it to boot.. it runs through initrd.img and vmlinuz and
when it finally comes up it's asking me to choose a language which
I've already predefined in the ks.cfg. Now I've also tried other
things like modifying the syslinux.cfg to have the above parameters
just like the howto states and that's produce negative results.
Is there another, easier way to do this? I don't want to spend weeks on
this it's too windows like to spend that much time.. please oh please help
Here's my ks.cfg
# eventually, we'll allow cdrom kickstarts
#network --static --ip 172.16.9.33 --netmask 255.255.255.0 --gateway
172.16.9.1 --nameserver 220.127.116.11
nfs --server 172.16.9.35 --dir /scratch/
# keymap to use, same as keymap named in kbdconfig
# Disk partitioning stuff goes here. It also sets up the fstab stuff
# and selects which partitions are formatted. All swap partitions are
# formatted and used though.
# this should be install or upgrade, defaults to 'install' if omitted
# it would be nice if we could setup networking parameters for installs
# which weren't bootpd :-(
# printer configuration goes here
# mouse types are: ps/2 mousesystems microsoft logitech atibm logibm msbm
# the default device is right for busmice, /dev/cua0 for serial mice, and
# can be overridden with "--device cua2"
# if three button emulation is needed, specify "--emulthree"
# this is just like /usr/sbin/mouseconfig
mouse ps/2 --emulthree
# the timezone command takes the same args as /usr/sbin/timeconfig
# see the timeconfig 2.0 man page for details
timezone --utc US/Pacific
# Video card selection:
# You can let it try to find you PCI card automatically, OR
# specify --card <cardtype> (see Xconfigurator --help for list), OR
# specify --server <servertype> (also see Xconfigurator --help)
# Monitor selection:
# If none specified, assumes 640x480@60hz.
# Otherwise, use --monitor <type>, see Xconfigurator --help for
# use --hsync <hsync> and --vsync <vsync>. For example:
# --hsync "31.5,35.5,50-65" --vsync "50-70"
#xconfig --monitor "ViewSonic 15"
# this root password goes over the network in the clear for NFS kickstarts
# it's probably a good idea not to use the real root password here
# if the password is already crypted (and suitable for inclusion in
# /etc/passwd without further editing), use the iscrypted flag. this
# should be used to prevent a cleartext root password from going over
# the network
# lilo install goes to mbr by default w/ no append line. you can modify
# this as shown in the example
# lilo --append "mem=128M" --location mbr
# the location is one of mbr (default), none, or partition
# this command is called 'silo' on the sparc, and doesn't exist on the
# zerombr yes|no
# Should the install automatically zero the partition table if it is
# clearpart - requires --all or --linux
# --all removes everything from ALL DRIVES
# --linux removes all linux native/swap from ALL DRIVES
# part <mntpt> --size <size in megs> [--grow] [--maxsize <size in megs>]
part / --size 1536
part swap --size 1536
part /opt --size 1024 --grow
# packges to install follow here
# '@ component' may be used to include entire components, redundant items
# are okay
There is not a "lang" variable in the ks.cfg file that you submitted above.
This is the reason that the installer is asking for the language.