<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>KickStart Issue</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2914" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=502522615-20032007>The way kickstart works is that it copies your 
kickstart file from the remote location to the local filesystem as /tmp/ks.cfg, 
so it sounds like it's not getting your kickstart file.  The easiest way to 
troubleshoot is to put a sleep statement in your %pre and/or %post, then go to 
the Alt-F2 terminal and poke around.  You will see your ks.cfg file in /tmp 
if it's been copied across, etc.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=502522615-20032007></SPAN></FONT> </DIV><FONT face=Arial 
color=#0000ff size=2></FONT><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> kickstart-list-bounces@redhat.com 
[mailto:kickstart-list-bounces@redhat.com] <B>On Behalf Of </B>Abhijit 
Das<BR><B>Sent:</B> Tuesday, March 20, 2007 12:23 AM<BR><B>To:</B> 
kickstart-list@redhat.com<BR><B>Cc:</B> Abhijit Das<BR><B>Subject:</B> KickStart 
Issue<BR></FONT><BR></DIV>
<DIV></DIV><!-- Converted from text/rtf format -->
<P><FONT face="Trebuchet MS" color=#000000 size=2>Dear Gurus</FONT> </P>
<P><FONT face="Trebuchet MS" color=#000000 size=2>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 face="Trebuchet MS" color=#000000 size=2>LABEL pxe</FONT> <BR><FONT 
face="Trebuchet MS" color=#000000 
size=2>        MENU LABEL pxe</FONT> 
<BR><FONT face="Trebuchet MS" color=#000000 
size=2>        kernel vmlinuz-pxe</FONT> 
<BR><FONT face="Trebuchet MS" color=#000000 
size=2>        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 face="Trebuchet MS" color=#000000 size=2>As you see, I am passing the 
kickstart parameters via additional boot loader parameters. </FONT><BR><FONT 
face="Trebuchet MS" color=#000000 size=2>/kickstart/rhelas4u4/i386 contains the 
entire distribution of RHEL4ASU4</FONT> </P>
<P><FONT face="Trebuchet MS" color=#000000 size=2>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 face="Trebuchet MS" color=#000000 size=2>IOError: [Errno 2] No such 
file or directory : '/tmp/xxxxxx' </FONT><BR><FONT face="Trebuchet MS" 
color=#000000 size=2>This directory is mentioned in the %pre script to be 
created. But looks like it is unable to.</FONT> </P>
<P><FONT face="Trebuchet MS" color=#000000 size=2>Before that I get bunch of 
File "/usr/lib/anaconda/kickstary.py" , line numbers messages but no errors on 
that.</FONT> </P>
<P><FONT face="Trebuchet MS" color=#000000 size=2>Would appreciate your help and 
direction regards this</FONT> </P>
<P><FONT face="Trebuchet MS" color=#000000 size=2>Thanks</FONT> <BR><I><FONT 
face="Times New Roman" color=#000000>- Abhijit Das</FONT></I> </P></BODY></HTML>