LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 01-20-2012, 12:34 AM   #1
parkarnoor
Member
 
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

<VirtualHost 192.168.10.1:80>
ServerAdmin rootatlocalhost
DocumentRoot /data/
</VirtualHost>

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

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

install
url --url=http://192.168.10.1/network-install/

which seems correct.

i have modified boot.iso to include ks path in isolinux.cfg as
append initrd=initrd.img ks=http://192.168.10.1/network-install/kickstart/ks.cfg


now when i am opening client machine ..it 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?

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

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
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-21-2012, 11:26 PM   #3
parkarnoor
Member
 
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

Regards,
parkar
UAE
 
Old 01-24-2012, 12:46 AM   #4
parkarnoor
Member
 
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.

Thanks

parkar
UAE
 
  


Reply


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 08:02 AM
Unable to Pick the kickstart configuration file !! arunabh_biswas Linux - Enterprise 16 10-04-2008 12:53 AM
Kickstart configuration. Does it really work? R2RO Linux - General 1 05-02-2003 04:42 AM
KickStart Configuration R2RO Linux - Networking 3 05-02-2003 04:40 AM


All times are GMT -5. The time now is 02:11 PM.

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