LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   unable to do kickstart configuration (https://www.linuxquestions.org/questions/linux-newbie-8/unable-to-do-kickstart-configuration-924732/)

parkarnoor 01-20-2012 12:34 AM

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,

acid_kewpie 01-20-2012 03:58 AM

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.

parkarnoor 01-21-2012 11:26 PM

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

parkarnoor 01-24-2012 12:46 AM

ok solved.

that was actually wrong path in isolinux.cfg.

i removed hd:label string and it worked.

Thanks

parkar
UAE


All times are GMT -5. The time now is 05:33 PM.