<p dir="ltr">No.   and you might want to use genisoimage going forward.   </p>
<div class="gmail_quote">On Jun 8, 2016 9:05 AM, "Hearn, Stan J." <<a href="mailto:Stan.Hearn@nscorp.com">Stan.Hearn@nscorp.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Do I have to build the ISO on a RHEL 7 system?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <a href="mailto:kickstart-list-bounces@redhat.com" target="_blank">kickstart-list-bounces@redhat.com</a> [mailto:<a href="mailto:kickstart-list-bounces@redhat.com" target="_blank">kickstart-list-bounces@redhat.com</a>]
<b>On Behalf Of </b>Mr. Pushpendra Chavan<br>
<b>Sent:</b> Wednesday, June 08, 2016 8:41 AM<br>
<b>To:</b> Discussion list about Kickstart<br>
<b>Subject:</b> [EXTERNAL] Re: RHEL 7 problems.<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-family:"Arial","sans-serif";color:#274e13">Hello,<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-family:"Arial","sans-serif";color:#274e13">Here are the steps which I follow to modify my ISO for adding Kickstart, you might want to give it a try. One can run these steps on RHEL7/CentOS7
 machine.<br>
<br>
1. Mount the DVD iso at some location:<br>
<br>
</span><span style="font-family:"Tahoma","sans-serif";color:#274e13">    # mount -o loop /path/to/rhel-server-7.2-x86_64-dvd.iso /mnt</span><span style="font-family:"Arial","sans-serif";color:#274e13"><br>
<br>
2. Then create a directory and copy all the contents of the ISO into the same.<br>
<br>
</span><span style="font-family:"Tahoma","sans-serif";color:#274e13">    # mkdir /tmp/rhel7<br>
    # shopt -s dotglob<br>
    # cp -avRf /mnt/* /tmp/rhel7</span><span style="font-family:"Arial","sans-serif";color:#274e13"><br>
<br>
3. Verify that all hidden files like .treeinfo are there in /tmp/rhel7<br>
<br>
</span><span style="font-family:"Tahoma","sans-serif";color:#274e13">    # cd /tmp/rhel7<br>
    #  ls -a</span><span style="font-family:"Arial","sans-serif";color:#274e13"><br>
<br>
4. Get the kickstart file and rename it to ks.cfg<br>
<br>
</span><span style="font-family:"Tahoma","sans-serif";color:#274e13">    # cd /tmp/rhel7<br>
    # wget <a href="ftp://192.168.122.254/rhel7/ks.cfg" target="_blank">ftp://192.168.122.254/rhel7/ks.cfg</a>
</span><span style="font-family:"Arial","sans-serif";color:#274e13"><========== or simply copy your kickstart file<br>
<br>
5. Confirm the LABEL of the DVD iso.<br>
<br>
</span><span style="font-family:"Tahoma","sans-serif";color:#274e13">    # blkid /path/to/rhel-server-7.2-x86_64-dvd.iso
</span><span style="font-family:"Arial","sans-serif";color:#274e13"><br>
<br>
6. Add the stanza in /tmp/rhel7/isolinux/isolinux.cfg file as follows.<br>
<br>
</span><span style="font-family:"Tahoma","sans-serif";color:#274e13">#######################################<br>
label kickstart<br>
  menu label ^Kickstart Installation of RHEL7.2<br>
  kernel vmlinuz<br>
  append initrd=initrd.img inst.stage2=hd:LABEL=RHEL-7.2\x20Server.x86_64 inst.ks=cdrom:/ks.cfg<br>
#######################################</span><span style="font-family:"Arial","sans-serif";color:#274e13"><br>
<br>
Make sure that the stanza has inst.stage2 and the correct label.<br>
<br>
7. Now, save the file and create the ISO as follows.<br>
<br>
</span><span style="font-family:"Tahoma","sans-serif";color:#274e13">    # mkisofs -J -T -o /tmp/rhel7test.iso -b isolinux/isolinux.bin -c isolinux/<a href="http://secure-web.cisco.com/1UMmCKqlVs5S02IVStJ2oWf5O2EAILD6pDZSIRHEYfHnX1NT0NI0br2PNX4vXs4STSwWWTwhuAANnKzx2UK3KCuZIFO4KNRwSnfrdkVhxA_i-zlra-ffDUBuKkdidpZest4x1YnWOuItfMbvoXPN6UDyGYl-hRMoCwGIuWUW39FL8x8jRlaLfyUuywEXebUncWYc_4f8qAi3_whsHnUh5pT-zL4kMrp18NTNHs4uqd3OSW2LUShL2htSsA7bva4zr/http%3A%2F%2Fboot.cat" target="_blank">boot.cat</a>
 -no-emul-boot -boot-load-size 4 -boot-info-table -R -m TRANS.TBL -graft-points -V "RHEL-7.2 Server.x86_64" /tmp/rhel7/</span><span style="font-family:"Arial","sans-serif";color:#274e13"><br>
<br>
The ISO /tmp/rhel7test.iso will be bootable. This will be for Legacy Boot only, for UEFI boot, the procedure will be a little bit different. Just few more steps added/replaced.<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif";color:#274e13">Regards,<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif";color:#274e13">Pushpendra Chavan.<u></u><u></u></span></p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
</div>

<br>_______________________________________________<br>
Kickstart-list mailing list<br>
<a href="mailto:Kickstart-list@redhat.com">Kickstart-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/kickstart-list" rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/kickstart-list</a><br></blockquote></div>