<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>SUMMARY: RE: KickStart Issue</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16414" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=841400212-21032007><FONT face=Arial
color=#0000ff size=2>Just a note, there is no "<FONT face="Trebuchet MS"
color=#000000>probably linux messed up with the file format" issue here. Any
*NIX variant treats linefeeds differently than DOS based utilites. What happens
is DOS based utilites put different control characters at the end of text lines
than *NIX utilities do. For as long as it has been this way, to expect
a text file edited on a windows machine to appear as expected on a *NIX
machine is not even in the realm of reasonable. Furthermore, since *NIX systems
have been around much longer than DOS based systems, I'd say that "probably
Windows messed up with the file format"... </FONT></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=841400212-21032007><FONT face="Trebuchet MS"
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=841400212-21032007><FONT face="Trebuchet MS"
size=2>But thats just me :)</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=841400212-21032007><FONT face="Trebuchet MS"
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=841400212-21032007><FONT face="Trebuchet MS"
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=841400212-21032007><FONT face="Trebuchet MS"
size=2>Aside from all that, I'm glad you were able to figure it out and get
things going. Have fun :)</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><SPAN class=841400212-21032007><FONT face=Arial color=#0000ff
size=2>Regards.</FONT></SPAN></DIV><!-- Converted from text/rtf format -->
<P><SPAN lang=en-us><FONT face="Courier New" size=2>Corey Kovacs</FONT></SPAN>
<BR><SPAN lang=en-us><FONT face="Courier New" size=2>Senior Systems
Engineer</FONT></SPAN> <BR><SPAN lang=en-us><FONT face="Courier New"
size=2>Technology Management Associates</FONT></SPAN> <BR><SPAN lang=en-us><FONT
face="Courier New" size=2>703.279.6168 (B)</FONT></SPAN> <BR><SPAN
lang=en-us><FONT face="Courier New" size=2>855-6168 (R)</FONT></SPAN> </P>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV><FONT
face="Courier New" 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 8:03 PM<BR><B>To:</B>
kickstart-list@redhat.com<BR><B>Subject:</B> SUMMARY: RE: KickStart
Issue<BR></FONT><BR></DIV>
<DIV></DIV><!-- Converted from text/rtf format -->
<P><FONT face="Trebuchet MS" color=#000000 size=2>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 face="Trebuchet MS" color=#000000 size=2>Thanks</FONT> <BR><I><FONT
face="Times New Roman" color=#000000>- Abhijit Das</FONT></I> </P><BR>
<P><FONT face=Tahoma size=1>_____________________________________________
</FONT><BR><B><FONT face=Tahoma size=1>From: </FONT></B> <FONT face=Tahoma
size=1>Abhijit Das </FONT><BR><B><FONT face=Tahoma
size=1>Sent: </FONT></B> <FONT face=Tahoma size=1>Tuesday, March 20,
2007 12:23 AM</FONT> <BR><B><FONT face=Tahoma
size=1>To: </FONT></B> <FONT face=Tahoma
size=1>'kickstart-list@redhat.com'</FONT> <BR><B><FONT face=Tahoma
size=1>Cc: </FONT></B> <FONT face=Tahoma size=1>Abhijit
Das</FONT> <BR><B><FONT face=Tahoma
size=1>Subject: </FONT></B> <FONT
face=Tahoma size=1>KickStart Issue</FONT> </P>
<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>