Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-20-2012, 01:34 AM   #1
Registered: Apr 2010
Posts: 54

Rep: Reputation: 1
unable to do kickstart configuration

Dear all,
i have setup linux 6 httpd server for network installation:
distribution: 2.6.32-19.el6.i686

here are my httpd.conf

ServerAdmin rootatlocalhost
DocumentRoot /data/

<Directory /data/network-install>
Options +Indexes
AllowOverride AuthConfig
order allow,deny
allow from all

i have setup /data/network-install/ directory for network installation.
i have created ks.cfg in /data/network-install/kickstart/ks.cfg

in ks.cfg the first line is

url --url=

which seems correct.

i have modified boot.iso to include ks path in isolinux.cfg as
append initrd=initrd.img ks=

now when i am opening client machine is booting in kickstart mode but i am getting errors:

Error in <h1>Forbidden</h1> on line 6 of kickstart file /tmp/ks.cfg

click ok and another error is:

Error in <hr> on line 9 of kickstart file /tmp/ks.cfg
(loader:54): Glib-CRITICAL **: unquote_string_inplace: assertion 'err == NULL || *err == NULL' failed

is it wrong configuration?
shall i place ks.cfg in /data/ which is root of web server?

also if you have goog step by step guide to do kickstart installation please?

Old 01-20-2012, 04:58 AM   #2
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977
take a step back here and think about what is and what is not relevant. You're very clearly getting an error from the apache server, so why do you even care about kickstart at all? the kickstart file is nothing more than a plain text file to apache. There is no way the contents of it could ever matter at this stage. Forget using the kickstart file, that will onyl confuse you. Just try to open the file in a browser.

I'd guess the /data/network-install directory itself is not readable by the apache service account or something similar.
Old 01-22-2012, 12:26 AM   #3
Registered: Apr 2010
Posts: 54

Original Poster
Rep: Reputation: 1
Hi thanks for reply,

i have found the solution for above problem. i found that that permission for file was incorrect. it was set to rw-------
i modified to 755. and it worked.
but there is another problem now. when i boot to kickstart. after selecting eth0 and on the next wizard it showed to choose partition for network image for installation . it gave me two options to choose that from /dev/sda1 and /dev/sda2. when i pressed back and typed the http url manually it worked. rest of the installation of even partitions were created automatically as set in ks file.

i think i need to check configuration to aoid this /dev/sda1 and dev/sda2 prompt for network image

Old 01-24-2012, 01:46 AM   #4
Registered: Apr 2010
Posts: 54

Original Poster
Rep: Reputation: 1
ok solved.

that was actually wrong path in isolinux.cfg.

i removed hd:label string and it worked.




Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kickstart Configuration rajaguru14 Linux - Newbie 3 02-25-2009 09:02 AM
Unable to Pick the kickstart configuration file !! arunabh_biswas Linux - Enterprise 16 10-04-2008 01:53 AM
Kickstart configuration. Does it really work? R2RO Linux - General 1 05-02-2003 05:42 AM
KickStart Configuration R2RO Linux - Networking 3 05-02-2003 05:40 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:38 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration