Re: USB ISO for CentOS 8

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



You will want to follow the instructions for creating a custom .iso

https://access.redhat.com/solutions/60959
^^^ Requires a Red Hat account, or Red Hat Developer Account.

The keys are to modify both:

- /isolinux/isolinux.cfg - for legacy BIOS boot
- /EFI/BOOT/grub.cfg - for UEFI boot

Make sure not to change the Volume Label, as this can mess up the UEFI boot

Then generate the .iso:

# cd /tmp/rhel7/
# mkisofs -o /tmp/rhel7test.iso -b isolinux/isolinux.bin -J -R -l -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 -V "RHEL-7.7 Server.x86_64"  .

^^^ Change the "-V" label accordingly for CentOS 8 to match the CentOS 8 disk label.

And the critical command for USB drive booting:

# isohybrid --uefi /tmp/rhel7test.iso




Gregory Young 


-----Original Message-----
From: CentOS <centos-bounces@xxxxxxxxxx> On Behalf Of Jerry Geis
Sent: October 4, 2019 11:30 AM
To: CentOS mailing list <centos@xxxxxxxxxx>
Subject:  USB ISO for CentOS 8

I did the dd of the ISO to a 16G USB device.

the second partition is FAT so I can edit it - I want to make a custom menu entry.
I edited the grub.cfg - but that did not work - my menu option does not show.

Then I think I need to change BOOT.cfg and generate the grub.cfg - but I dont know in this case how to generate for the USB device.

What command do I use for that ?
Thanks,

Jerry
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux