No. and you might want to use genisoimage going forward. On Jun 8, 2016 9:05 AM, "Hearn, Stan J." <stan.he...@nscorp.com> wrote:
> Do I have to build the ISO on a RHEL 7 system? > > > > *From:* kickstart-list-boun...@redhat.com [mailto: > kickstart-list-boun...@redhat.com] *On Behalf Of *Mr. Pushpendra Chavan > *Sent:* Wednesday, June 08, 2016 8:41 AM > *To:* Discussion list about Kickstart > *Subject:* [EXTERNAL] Re: RHEL 7 problems. > > > > Hello, > > 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. > > 1. Mount the DVD iso at some location: > > # mount -o loop /path/to/rhel-server-7.2-x86_64-dvd.iso /mnt > > 2. Then create a directory and copy all the contents of the ISO into the > same. > > # mkdir /tmp/rhel7 > # shopt -s dotglob > # cp -avRf /mnt/* /tmp/rhel7 > > 3. Verify that all hidden files like .treeinfo are there in /tmp/rhel7 > > # cd /tmp/rhel7 > # ls -a > > 4. Get the kickstart file and rename it to ks.cfg > > # cd /tmp/rhel7 > # wget ftp://192.168.122.254/rhel7/ks.cfg <========== or simply copy > your kickstart file > > 5. Confirm the LABEL of the DVD iso. > > # blkid /path/to/rhel-server-7.2-x86_64-dvd.iso > > 6. Add the stanza in /tmp/rhel7/isolinux/isolinux.cfg file as follows. > > ####################################### > label kickstart > menu label ^Kickstart Installation of RHEL7.2 > kernel vmlinuz > append initrd=initrd.img inst.stage2=hd:LABEL=RHEL-7.2\x20Server.x86_64 > inst.ks=cdrom:/ks.cfg > ####################################### > > Make sure that the stanza has inst.stage2 and the correct label. > > 7. Now, save the file and create the ISO as follows. > > # mkisofs -J -T -o /tmp/rhel7test.iso -b isolinux/isolinux.bin -c > isolinux/boot.cat > <http://secure-web.cisco.com/1UMmCKqlVs5S02IVStJ2oWf5O2EAILD6pDZSIRHEYfHnX1NT0NI0br2PNX4vXs4STSwWWTwhuAANnKzx2UK3KCuZIFO4KNRwSnfrdkVhxA_i-zlra-ffDUBuKkdidpZest4x1YnWOuItfMbvoXPN6UDyGYl-hRMoCwGIuWUW39FL8x8jRlaLfyUuywEXebUncWYc_4f8qAi3_whsHnUh5pT-zL4kMrp18NTNHs4uqd3OSW2LUShL2htSsA7bva4zr/http%3A%2F%2Fboot.cat> > -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/ > > 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. > > Regards, > > Pushpendra Chavan. > > > > _______________________________________________ > Kickstart-list mailing list > Kickstart-list@redhat.com > https://www.redhat.com/mailman/listinfo/kickstart-list >
_______________________________________________ Kickstart-list mailing list Kickstart-list@redhat.com https://www.redhat.com/mailman/listinfo/kickstart-list