[CentOS] Kickstart installation error

Anshul Chauhan

chauhananshul at gmail.com
Sun Aug 14 17:49:50 UTC 2011


Hi,



I’m trying kickstart on CentOS




Below is my ks.cfg


*[root at 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 at 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.."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20110814/83fb4cad/attachment.html>


More information about the CentOS mailing list