<br><font size=2 face="sans-serif">I got this problem solved - I hadn't
realized the .discinfo file didn't get copied off media during my rsync
..anyway, I restored it & it makes it through the install.</font>
<br>
<br><font size=2 face="sans-serif">Now, however, it will not execute the
%post section - in which I call another script that I try to copy off from
a directory on virtual CDROM (ISO) that I'm building from...  my question
is:  during %post, how is the cdrom mounted, another words, do I have
to  mount the cdrom in the script something like mount -t iso9660
-o ro /dev/cdrom /media ?  Or do I use a %post --chroot in some fashion?
 </font>
<br><font size=2 face="sans-serif"><br>
Gene L. Huft<br>
Distributed Systems Engineering<br>
------------------------------------------------<br>
512-310-4104<br>
512-673-0717 (Cell)<br>
Gene.Huft@Wachovia.com</font>
<br><font size=1 color=#800080 face="sans-serif">----- Forwarded by Gene
Huft/IT/WACH on 03/05/2008 09:21 PM -----</font>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>Gene Huft/IT/WACH</b> </font>
<p><font size=1 face="sans-serif">03/05/2008 02:43 PM</font>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td><font size=1 face="sans-serif">kickstart-list@redhat.com</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">Kickstarting to VM via ISO image</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br><font size=2 face="sans-serif">Kickstart Gurus,</font>
<br>
<br><font size=2 face="sans-serif">I have a fully contained ISO image of
the original RHEL5.1 32-bit source tree, along with some additional RPMs
& a custom ks.cfg file.  The goal is to totally automate the build
to a VMware VM via mapping the ISO file to a virtual CDROM.  </font>
<br>
<br><font size=2 face="sans-serif">I have modified the default isolinux/isolinux.cfg
file as follows:</font>
<br>
<br><font size=2 face="sans-serif">default xander</font>
<br><font size=2 face="sans-serif">prompt 1</font>
<br><font size=2 face="sans-serif">timeout 600</font>
<br><font size=2 face="sans-serif">display boot.msg</font>
<br><font size=2 face="sans-serif">F1 boot.msg</font>
<br><font size=2 face="sans-serif">F2 options.msg</font>
<br><font size=2 face="sans-serif">F3 general.msg</font>
<br><font size=2 face="sans-serif">F4 param.msg</font>
<br><font size=2 face="sans-serif">F5 rescue.msg</font>
<br><font size=2 face="sans-serif">label xander</font>
<br><font size=2 face="sans-serif">  kernel vmlinuz</font>
<br><font size=2 face="sans-serif">  append initrd=initrd.img ramdisk_size=8192
ks=cdrom:/ks.cfg</font>
<br><font size=2 face="sans-serif">label text</font>
<br><font size=2 face="sans-serif">  kernel vmlinuz</font>
<br><font size=2 face="sans-serif">  append initrd=initrd.img text</font>
<br><font size=2 face="sans-serif">label ks</font>
<br><font size=2 face="sans-serif">  kernel vmlinuz</font>
<br><font size=2 face="sans-serif">  append ks initrd=initrd.img</font>
<br><font size=2 face="sans-serif">label local</font>
<br><font size=2 face="sans-serif">  localboot 1</font>
<br><font size=2 face="sans-serif">label memtest86</font>
<br><font size=2 face="sans-serif">  kernel memtest</font>
<br><font size=2 face="sans-serif">  append -</font>
<br>
<br>
<br><font size=2 face="sans-serif">In my kickstart file, I of cource specify
"cdrom".  The ISO image will boot the VM into RedHat's initial
screen, but when hit return or let it time out it, it complains that it
cannot find the install media on any cdrom.  </font>
<br>
<br><font size=2 face="sans-serif">I also tried to put the kickstart file
into the initrd.img by uncompressing image, copying ks.cfg into it, modifying
isolinux.cfg to:</font>
<br>
<br><font size=2 face="sans-serif">append initrd=initrd.img ramdisk_size=8192
ks=file:/ks.cfg</font>
<br>
<br><font size=2 face="sans-serif">Then recompressed it, moved it into
proper place & re-generated ISO image. Again, the ISO will boot the
VM to initial RH screen, but soon there after get the "cd not found"
error.</font>
<br><font size=2 face="sans-serif">Is this just a VMware thing?  My
coworker has no trouble with SuSE builds working....am I overlooking something
simple?</font>
<br>
<br><font size=2 face="sans-serif">Thanks in advance.</font>
<br>
<br><font size=2 face="sans-serif">Gene</font>