<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7651.59">
<TITLE>SUMMARY: RE: KickStart Issue</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT COLOR="#000000" SIZE=2 FACE="Trebuchet MS">Thanks very much to Chip Shabazian (BofA) who advised me to put debug statements like sleep and echo and run the commands manually and check the stages. The actual problem was that I copied the file from a windows machine and probably linux messed up with the file format. I did a dos2unix on the file and was able to get past the errors below. </FONT></P>

<P><FONT COLOR="#000000" SIZE=2 FACE="Trebuchet MS">Thanks</FONT>

<BR><I><FONT COLOR="#000000" FACE="Times New Roman">- Abhijit Das</FONT></I>
</P>
<BR>

<P><FONT SIZE=1 FACE="Tahoma">_____________________________________________ </FONT>

<BR><B><FONT SIZE=1 FACE="Tahoma">From:  </FONT></B> <FONT SIZE=1 FACE="Tahoma">Abhijit Das  </FONT>

<BR><B><FONT SIZE=1 FACE="Tahoma">Sent:  </FONT></B> <FONT SIZE=1 FACE="Tahoma">Tuesday, March 20, 2007 12:23 AM</FONT>

<BR><B><FONT SIZE=1 FACE="Tahoma">To:    </FONT></B> <FONT SIZE=1 FACE="Tahoma">'kickstart-list@redhat.com'</FONT>

<BR><B><FONT SIZE=1 FACE="Tahoma">Cc:    </FONT></B> <FONT SIZE=1 FACE="Tahoma">Abhijit Das</FONT>

<BR><B><FONT SIZE=1 FACE="Tahoma">Subject:       </FONT></B> <FONT SIZE=1 FACE="Tahoma">KickStart Issue</FONT>
</P>

<P><FONT COLOR="#000000" SIZE=2 FACE="Trebuchet MS">Dear Gurus</FONT>
</P>

<P><FONT COLOR="#000000" SIZE=2 FACE="Trebuchet MS">I need a help here. I have create a RHEL4ASU4 32bit source server and configured dhcp/nfs/kickstart on it. I am also using the initrd.img and vmlinuz from the first CD to pxe boot the destination machines. I use the pxelinux concept of kickstarting. Here is my default file</FONT></P>

<P><FONT COLOR="#000000" SIZE=2 FACE="Trebuchet MS">LABEL pxe</FONT>

<BR><FONT COLOR="#000000" SIZE=2 FACE="Trebuchet MS">        MENU LABEL pxe</FONT>

<BR><FONT COLOR="#000000" SIZE=2 FACE="Trebuchet MS">        kernel vmlinuz-pxe</FONT>

<BR><FONT COLOR="#000000" SIZE=2 FACE="Trebuchet MS">        append ksdevice=eth0 console=tty0 load_ramdisk=1 initrd=initrd-pxe.img network ks=nfs:192.168.203.180:/kickstart/rhelas4u4/i386/kickstart.cfg</FONT></P>

<P><FONT COLOR="#000000" SIZE=2 FACE="Trebuchet MS">As you see, I am passing the kickstart parameters via additional boot loader parameters. </FONT>

<BR><FONT COLOR="#000000" SIZE=2 FACE="Trebuchet MS">/kickstart/rhelas4u4/i386 contains the entire distribution of RHEL4ASU4</FONT>
</P>

<P><FONT COLOR="#000000" SIZE=2 FACE="Trebuchet MS">Now am using a kickstart configuration file (client's file) wherein he calls many post install and pre install scripts. I get the following error :-</FONT></P>

<P><FONT COLOR="#000000" SIZE=2 FACE="Trebuchet MS">IOError: [Errno 2] No such file or directory : '/tmp/xxxxxx' </FONT>

<BR><FONT COLOR="#000000" SIZE=2 FACE="Trebuchet MS">This directory is mentioned in the %pre script to be created. But looks like it is unable to.</FONT>
</P>

<P><FONT COLOR="#000000" SIZE=2 FACE="Trebuchet MS">Before that I get bunch of File "/usr/lib/anaconda/kickstary.py" , line numbers messages but no errors on that.</FONT>
</P>

<P><FONT COLOR="#000000" SIZE=2 FACE="Trebuchet MS">Would appreciate your help and direction regards this</FONT>
</P>

<P><FONT COLOR="#000000" SIZE=2 FACE="Trebuchet MS">Thanks</FONT>

<BR><I><FONT COLOR="#000000" FACE="Times New Roman">- Abhijit Das</FONT></I>
</P>

</BODY>
</HTML>