Hey Bill,

This is not an uncommon thing to be doing, and there are definitely challenges in terms of MBR/EFI, and media in doing this.

I've culled some of my key resources as a short list of URLs here:

http://www.tuxfixer.com/mount-modify-edit-repack-create-uefi-iso-including-kickstart-file/
https://access.redhat.com/solutions/60959
http://ideanist.com/2017/03/09/unattended-kickstart-installation-centos-7/
http://www.frankreimer.de/?p=522
http://www.smorgasbork.com/2012/01/04/building-a-custom-centos-7-kickstart-disc-part-3/
https://gist.github.com/vkanevska/fd624f708cde7d7c172a576b10bc6966 # This is where I learned you have to mount -o loop the efi image
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/anaconda_customization_guide/

I'd pay very close attention to that github gist that points out that efi image that you'll need to mount and modify (there are actually three locations you need to edit/modify for the bootable media: EFI/BOOT/grub.cfg, isolinux.cfg, and within images/efiboot.img).

The mkisofs command that we're using at ${EMPLOYER} is:

mkisofs -o "${BASE_DIR}"/"${ENV}"/custom_${today}.iso \
-b isolinux/isolinux.bin -c isolinux/boot.cat \
--no-emul-boot --boot-load-size 4 --boot-info-table \
-eltorito-alt-boot -e images/efiboot.img -no-emul-boot \
-graft-points -m .git* -f -J -R -V "CentOS 7 x86_64" -A \
"CentOS 7 x86_64" -volset "CentOS 7 x86_64" /custom/

We're clearly working on/with CentOS, but you should be close with the above.

Regards,

Steven M. Miano
(727)244-9990
http://stevenmiano.com
2AFF 44FC 5CC6 B712 00C7  79EF 1811 C2CB 8219 4F52
On 5/24/18 14:17, Bill wrote:
I am creating a custom installation ISO using kickstart.  This install ISO is based on SL 7.2.

When I burn a DVD from this ISO I can boot from the DVD and the install menu come up as expected.  

When I use dd to copy the ISO to a USB key and try to boot from the USB key the install menu does not appear and the system boots from the hard drive.  

I tried using dd to copy the SL7.2 ISO to a USB key.  When I try to boot from this USB key the install menu comes up as expected.

What files on the SL7.2 have to do with booting from the USB key?

Is there a mkisofs option I should be using to make booting USB key work?

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to