Hi,
I’m trying kickstart on CentOS
Below is my ks.cfg
*[root@localhost ~]# cat /root/ks.cfg*
* *
#Generated by Kickstart Configurator
#platform=x86, AMD64, or Intel EM64T
#System language
lang en_US
#Language modules to install
langsupport en_US
#System keyboard
keyboard us
#System mouse
mouse
#Sytem timezone
timezone Asia/Dili
#Root password
rootpw --iscrypted $1$597tHcci$7GOVXzr92.Ce5IaqnXZA30
#Reboot after installation
reboot
#Use text mode install
text
#Install OS instead of upgrade
install
#Use Web installation
url --url ftp://192.168.0.1/pub/
#System bootloader configuration
bootloader --location=mbr
#Clear the Master Boot Record
zerombr yes
#Partition clearing information
clearpart --all --initlabel
#Disk partitioning information
part /boot --fstype ext3 --size 100
part swap --size 1987
part / --fstype ext3 --size 1 --grow
#System authorization infomation
auth --useshadow --enablemd5
#Network information
network --bootproto=dhcp --device=eth0
#Firewall configuration
firewall --disabled
#SELinux configuration
selinux --disabled
#Do not configure XWindows
skipx
#Package install information
%packages --resolvedeps
@ gnome-desktop
@ kde-desktop
@ editors
@ engineering-and-scientific
@ graphical-internet
@ text-internet
*[root@localhost ~]# cat /etc/dhcpd.conf*
ddns-update-style interim;
ignore client-updates;
subnet 192.168.0.0 netmask 255.255.255.0 {
# --- default gateway
option routers 192.168.0.1;
option subnet-mask 255.255.255.0;
# option nis-domain "domain.org";
# option domain-name "domain.org";
# option domain-name-servers 192.168.1.1;
#
# option time-offset -18000; # Eastern Standard Time
# option ntp-servers 192.168.1.1;
# option netbios-name-servers 192.168.1.1;
# --- Selects point-to-point node (default is hybrid). Don't change this unless
# -- you understand Netbios very well
# option netbios-node-type 2;
range dynamic-bootp 192.168.0.128 192.168.0.254;
default-lease-time 21600;
max-lease-time 43200;
#filename "/var/ftp/pub/";
#next-server 192.168.0.1;
allow booting;
allow bootp;
class "pxeclients" {
match if substring(option vendor-class-identifier, 0, 9) = "PXEClient";
next-server 192.168.0.1;
filename "linux-install/pxelinux.0";
}
*FTP server showing ks file accessable by ananomous users via browser*
* *
* *
Can’t find what I’m doing wrong
Kickstart installation stops with error
*Kickstart error *
* *
*Error opening kickstart file (null) bad address *
*Tried same with NFS also but their also getting the same error.*
Please suggest....
Warm Regards, Anshul Chauhan "Never expect things to happen struggle & make them happen Never expect yourself to be given a good value Create a value for your own.."
Can't find what I'm doing wrong
Probably we won't be able to either unless you elaborate on how you begin the installation:)
Given you posted dhcpd config, I am willing to guess you are doing|assuming something wrong...
http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Installati...
On 2011-08-14 19:49, Anshul Chauhan wrote:
Hi,
I’m trying kickstart on CentOS
: class "pxeclients" { match if substring(option vendor-class-identifier, 0, 9) = "PXEClient"; next-server 192.168.0.1; filename "linux-install/pxelinux.0"; }
*FTP server showing ks file accessable by ananomous users via browser*
Can’t find what I’m doing wrong
Kickstart installation stops with error *Kickstart error* *Error opening kickstart file (null) bad address*
*Tried same with NFS also but their also getting the same error.*
Have you configured pxelinux correct on the server 192.168.0.1? http://syslinux.zytor.com/wiki/index.php/PXELINUX
hi,
Dhcp seems to be working fine as i'm getting the ip on my client and its booting with prelinux but after starting it gives this error after detecting all the hardware and trying for the kickstart file * Kickstart Error : Error opening kickstart file (null) bad address*
this is my prelinux files
*[root@localhost ~]# cat /tftpboot/linux-install/pxelinux.cfg/default* default local timeout 100 prompt 1 display msgs/boot.msg F1 msgs/boot.msg F2 msgs/general.msg F3 msgs/expert.msg F4 msgs/param.msg F5 msgs/rescue.msg F7 msgs/snake.msg
label local localboot 1
label 0 localboot 1
label 1 kernel CentosFTP/vmlinuz append initrd=CentosFTP/initrd.img ramdisk_size=7000 ks=/var/ftp/pub/ks.cfg
*[root@localhost ~]# cat /tftpboot/linux-install/CentosFTP/ks.cfg* #use FTP installation media url --url ftp://192.168.0.1/pub/ks.cfg
checked the NFS share its working fine and FTP also seems to be working fine on browser.
Please suggest.
Warm Regards, Anshul Chauhan "Never expect things to happen struggle & make them happen Never expect yourself to be given a good value Create a value for your own.."
Anshul Chauhan wrote:
hi,
Dhcp seems to be working fine as i'm getting the ip on my client and its booting with prelinux but after starting it gives this error after detecting all the hardware and trying for the kickstart file
Kickstart Error : Error opening kickstart file (null) bad address*
this is my prelinux files
*[root@localhost ~]# cat /tftpboot/linux-install/pxelinux.cfg/default* default local timeout 100 prompt 1 display msgs/boot.msg F1 msgs/boot.msg F2 msgs/general.msg F3 msgs/expert.msg F4 msgs/param.msg F5 msgs/rescue.msg F7 msgs/snake.msg
label local localboot 1
label 0 localboot 1
label 1 kernel CentosFTP/vmlinuz append initrd=CentosFTP/initrd.img ramdisk_size=7000 ks=/var/ftp/pub/ks.cfg
*[root@localhost ~]# cat /tftpboot/linux-install/CentosFTP/ks.cfg* #use FTP installation media url --url ftp://192.168.0.1/pub/ks.cfg
checked the NFS share its working fine and FTP also seems to be working fine on browser.
The ks syntax on append line doesn't look right - I think you should just use "ks=ftp://192.168.0.1/pub/ks.cfg"
James Pearson