Hi,
I'm trying to kickstart a client with Centos 5.4 via DHCP/PXE/TFTP/HTTP and it's failing because of missing files.
I downloaded both the Centos 5.4 DVD iso and the individual CD isos(1-7) from Centos.org, mounted them with the "-o loop" and copy(rsync) it's contents to a local directory that Apache serves.
Scenario.
System boots up, gets IP from DHCP server(I can ping it), and then passes on to TFTP, loads pxelinux.0/initrd.img/vmlinuz. Then it freezes right there. I check the apache logs on the kickstart server and it shows:
Access_log.
198.168.1.100 - - [16/Dec/2009:23:56:39 +0000] "GET /ks/198.168.1.100-kickstart.cfg HTTP/1.0" 200 1090 "-" "anaconda/11.1.2.195"
198.168.1.100 - - [16/Dec/2009:23:56:44 +0000] "GET /ks/CentOS-5.4_x86_64/images/updates.img HTTP/1.0" 404 316 "-" "anaconda/11.1.2.195"
198.168.1.100 - - [16/Dec/2009:23:56:44 +0000] "GET /ks/CentOS-5.4_x86_64/disc1/images/updates.img HTTP/1.0" 404 322 "-" "anaconda/11.1.2.195"
198.168.1.100 - - [16/Dec/2009:23:56:44 +0000] "GET /ks/CentOS-5.4_x86_64/images/product.img HTTP/1.0" 404 316 "-" "anaconda/11.1.2.195"
198.168.1.100 - - [16/Dec/2009:23:56:44 +0000] "GET /ks/CentOS-5.4_x86_64/disc1/images/product.img HTTP/1.0" 404 322 "-" "anaconda/11.1.2.195"
198.168.1.100 - - [16/Dec/2009:23:56:44 +0000] "GET /ks/CentOS-5.4_x86_64/images/stage2.img HTTP/1.0" 200 112836608 "-" "anaconda/11.1.2.195"
198.168.1.100 - - [16/Dec/2009:23:56:54 +0000] "GET /ks/CentOS-5.4_x86_64//disc1/.discinfo HTTP/1.1" 200 40 "-" "urlgrabber/3.1.0"
198.168.1.100 - - [16/Dec/2009:23:56:54 +0000] "GET /ks/CentOS-5.4_x86_64//disc2/.discinfo HTTP/1.1" 200 40 "-" "urlgrabber/3.1.0"
198.168.1.100 - - [16/Dec/2009:23:56:54 +0000] "GET /ks/CentOS-5.4_x86_64//disc3/.discinfo HTTP/1.1" 200 40 "-" "urlgrabber/3.1.0"
198.168.1.100 - - [16/Dec/2009:23:56:54 +0000] "GET /ks/CentOS-5.4_x86_64//disc4/.discinfo HTTP/1.1" 200 40 "-" "urlgrabber/3.1.0"
198.168.1.100 - - [16/Dec/2009:23:56:54 +0000] "GET /ks/CentOS-5.4_x86_64//disc5/.discinfo HTTP/1.1" 200 40 "-" "urlgrabber/3.1.0"
198.168.1.100 - - [16/Dec/2009:23:56:54 +0000] "GET /ks/CentOS-5.4_x86_64//disc6/.discinfo HTTP/1.1" 200 40 "-" "urlgrabber/3.1.0"
198.168.1.100 - - [16/Dec/2009:23:56:54 +0000] "GET /ks/CentOS-5.4_x86_64//disc7/.discinfo HTTP/1.1" 200 40 "-" "urlgrabber/3.1.0"
198.168.1.100 - - [16/Dec/2009:23:56:54 +0000] "GET /ks/CentOS-5.4_x86_64//disc8/.discinfo HTTP/1.1" 404 314 "-" "urlgrabber/3.1.0"
Disc8???
Error_log.
[Wed Dec 16 23:56:44 2009] [error] [client 198.168.1.100] File does not exist: /var/www/html/ks/CentOS-5.4_x86_64/images/updates.img
[Wed Dec 16 23:56:44 2009] [error] [client 198.168.1.100] File does not exist: /var/www/html/ks/CentOS-5.4_x86_64/disc1/images/updates.img
[Wed Dec 16 23:56:44 2009] [error] [client 198.168.1.100] File does not exist: /var/www/html/ks/CentOS-5.4_x86_64/images/product.img
[Wed Dec 16 23:56:44 2009] [error] [client 198.168.1.100] File does not exist: /var/www/html/ks/CentOS-5.4_x86_64/disc1/images/product.img
[Wed Dec 16 23:56:54 2009] [error] [client 198.168.1.100] File does not exist: /var/www/html/ks/CentOS-5.4_x86_64/disc8
I've checked the ISOs and files like product.img,updates.img do not exists! Neither does disc8. I've also tried to use a public mirror for Centos 5.4 but the results are the same.
Client Screenshot during kickstart process.
Copyright (C) 1997-2003, Intel Corporation šAT
Intel(R) Boot Agent GE v1.2.11
Copyright (C) 1997-2003, Intel Corporation
Intel(R) Boot Agent PXE Base Code (BA1211BC)
Copyright (C) 1997-2003, Intel Corporation
CLIENT MAC ADDR: 00 14 4F 9A AC 40 GUID: 00000000 0000 0000 0000 0003BACD7AE1
CLIENT IP: 198.168.1.100 MASK: 255.255.255.224 DHCP IP: 198.168.1.200
GATEWAY IP: 198.168.1.162
PXELINUX 3.08 2005-05-19 Copyright (C) 1994-2005 H. Peter Anvin
UNDI data segment at: 00094190
UNDI data segment size: 61D0
UNDI code segment at: 0009A360
UNDI code segment size: 2C40
PXE entry point found (we hope) at 9A36:0106
My IP address seems to be 0A6E6422 198.168.1.100
TFTP prefix: / šS
Trying to load: pxelinux.cfg/01-00-14-4f-9a-ac-40
Loading vmlinuzimg................................... šS
Ready. šAT
And it just sits there. No activity in the logs and no traffic between the server and client systems.
I've also tried to turn on kickstart logging for debugging by putting the following in the ks.cfg file but none works. File does not get created.
ks.cfg
1. logging --level=debug
2. %pre --log=/tmp/kickstart.log
3. logging --host=sysloghost --port=514 --level=debug
ks.cfg
install
url --url
http://198.168.1.200/centos/5.4/os/x86_64/ [^]
lang en_US.UTF-8
langsupport --default=en_US.UTF-8 en_US.UTF-8
keyboard us
network --device=eth0 --bootproto=static --ip=198.168.1.100 --netmask=255.255.255.224 --gateway=198.168.1.162 --nameserver=198.168.1.200,198.168.1.201
rootpw --iscrypted $1$E/789p9i$ruhTXvHek0JuqjvC/PLpc1
firewall --enabled --port=22:tcp
selinux --disabled
authconfig --enableshadow --enablemd5
timezone --utc America/Los_Angeles
bootloader --location=mbr
%packages
@ everything
lvm2
kernel-smp
kernel-devel
kernel-smp-devel
e2fsprogs
%post
.discinfo
1254416275.453877
Final
x86_64
1,2,3,4,5,6,7
CentOS
When I hit the Centos tree location with a web browser, I can see it's all available. It's file permissions are wide open at the moment for troubleshooting this issue.
Any pointers will be greatly appreciated.