kickstart seems not to process: ks.cfg
extern.Tobias.Kronwitter at AUDI.DE
extern.Tobias.Kronwitter at AUDI.DE
Tue Jun 28 11:21:52 UTC 2005
Hello list
I'm trying to install RedHat Enterprise LINUX V 3.0 over the network. I have
no keyboard, mouse or monitor connected to the server. Instead I'm using the
serial port as a console. The server itself is a SUN VX60.
The following steps are performed:
1. dhcp / pxeboot
2. load ks.cfg via nfs
3. install OS via nfs
Step 1 works fine.
However there are complaints about missing parameters:
+---------------------------------------------------------------------------
CLIENT MAC ADDR: 00 0E 0C 30 B5 E0 GUID: DDFD185E 9FB8 11D8 B9DC
00108365A7E7
CLIENT IP: 10.199.131.149 MASK: 255.255.255.224 DHCP IP: 10.199.135.107
GATEWAY IP: 10.199.131.130 10.199.131.129
PXELINUX 3.09 2005-06-17
Copyright (C) 1994-2005 H. Peter Anvin
UNDI data segment at: 00090D40
UNDI data segment size: B450
UNDI code segment at: 0009C190
UNDI code segment size: 30E0
PXE entry point found (we hope) at 9C19:0106
My IP address seems to be 0AC78395 10.199.131.149
ip=10.199.131.149:10.199.131.150:10.199.131.129:255.255.255.224
TFTP prefix: /el-3.0/sun/
Trying to load: pxelinux.cfg/01-00-0e-0c-30-b5-e0
Trying to load: pxelinux.cfg/0AC78395
Missing parameter in config file.
Missing parameter in config file.
Missing parameter in config file.
0AC78395: PXE installing Enterprise Linux 3.0 in 10 seconds
boot:
+---------------------------------------------------------------------------
This is the corresponding pxeboot - config file (0AC78395):
serial 1 9600
default do_inst
display pxelinux.cfg/bootinfo_0AC78395.txt
prompt 1
timeout 100
label do_inst
kernel ../images/pxeboot/vmlinuz
append ksdevice=eth1 console=ttyS1,9600n8 load_ramdisk=1
initrd=install/initrd_rdh-es-v3.img
ks=nfs:10.199.131.150:/tftpboot/ks_0AC78395.cfg network
#
After 10 seconds, the machine boots vmlinuz via network, loads the adaptec
driver:
+---------------------------------------------------------------------------
Welcome to Red Hat Enterprise Linux
+--------+ Loading SCSI driver +---------+
| |
| Loading aic79xx driver... |
| |
+----------------------------------------+
<Tab>/<Alt-Tab> between elements | <Space> selects | <F12> next screen
+---------------------------------------------------------------------------
loads and configures ethernet:
+---------------------------------------------------------------------------
Welcome to Red Hat Enterprise Linux
+--------------------+ Dynamic IP +---------------------+
| |
| Sending request for IP information for eth1... |
| |
+-------------------------------------------------------+
<Tab>/<Alt-Tab> between elements | <Space> selects | <F12> next screen
+---------------------------------------------------------------------------
and finally ends in the interactive installation, instead of processing
ks.cfg
The file: ks_0AC78395.cfg looks like:
# @(#)ks_0AC78395.cfg 1.0
#
# T. K - 050610
#
#
#
install
lang en_US.UTF-8
langsupport --default en_US.UTF-8 en_US.UTF-8
keyboard de
mouse none
text
skipx
network --device eth1 --bootproto static --ip 10.199.131.149 --netmask
255.255.255.224 --gateway 10.199.131.129 --nameserver 10.199.254.15
--hostname iuts003
rootpw --iscrypted $1$o/hsDB3v$mQ8BZ7doWf4R9549EtRvH/
firewall --disabled
authconfig --enableshadow --enablemd5
timezone --utc Europe/Berlin
#
bootloader --location=mbr --append console=ttyS1,9600n8
zerombr yes
clearpart --all --initlabel
#
#part /boot --asprimary --fstype ext3 --size 50 --ondisk sda
#part / --asprimary --fstype ext3 --size 8192 --ondisk sda
#part /vol1 --asprimary --fstype ext3 --size 2500 --grow --ondisk sda
#part swap --recommended --ondisk sda
#
part raid.01 --size=2048 --ondisk=sda
part raid.02 --size=2048 --ondisk=sdb
#
part raid.11 --size=50 --ondisk=sda
part raid.12 --size=50 --ondisk=sdb
#
part raid.21 --size=8192 --ondisk=sda
part raid.22 --size=8192 --ondisk=sdb
#
part raid.31 --size=1 --grow --ondisk=sda
part raid.32 --size=1 --grow --ondisk=sdb
#
raid swap --level=1 --device=md0 raid.01 raid.02
raid /boot --level=1 --device=md1 raid.11 raid.12
raid / --level=1 --device=md2 raid.21 raid.22
raid /vol1 --level=1 --device=md3 raid.31 raid.32
#
nfs --server 10.199.135.107 --dir /shark/install/RedHat_ES_v3
#
%packages
@ Network Servers
# Other package groups may be installed by uncommenting one or more of the
# following. If no packages are listed, the installation will prompt for
# which packages to install
#@ Everything
@ Core
@ Base
## @ KDE Desktop Environment
@ Graphical Internet
@ Text-based Internet
## @ Sound and Video
## @ Graphics
## @ Office/Productivity
## @ Mail Server
@ Network Servers
## @ Legacy Network Server
## @ News Server
## @ Windows File Server
@ Server Configuration Tools
@ FTP Server
## @ SQL Database
## @ MySQL Database
@ Web Server
## @ DNS Name Server
## @ Authoring and Publishing
## @ Engineering and Scientific
@ Editors
## @ Emacs
## @ XEmacs
## @ Ruby
@ System Tools
@ Administration Tools
## @ Games and Entertainment
## @ ISO8859-2 Support
## @ ISO8859-9 Support
## @ ISO8859-14 Support
@ ISO8859-15 Support
@ Development Tools
@ Development Libraries
## @ Kernel Development
## @ Legacy Software Development
## @ Compatibility Arch Support
## @ Compatibility Arch Development Support
## @ Legacy Software Support
## @ X Software Development
## @ GNOME Software Development
## @ KDE Software Development
#
kernel-smp
kernel
grub
#
### Commands to be run immediately after this file has been parsed
%pre
echo "Kickstart-installed Red Hat Enterprise Linux `/bin/date`"
### Commands to be run post-installation
%post
echo "Kickstart installation" > /tmp/message
#
Any ideas ? Help is greatly appreciated.
Thank you very much
Tobias
More information about the Kickstart-list
mailing list