1. Mounten Sie CentOS/RHEL 6.9 Installations-ISO in /media/RHEL6.9;
# mkdir /media/RHEL6.9 # mount -o ro /dev/cdrom /media/RHEL6.9
2. Erstellen Sie einen neuen Ordner /opt/make_iso;
# mkdir /opt/make_iso
3. Kopieren Sie alle Dateien der Installations-ISO von CentOS/RHEL 6.9 nach /opt/make_iso;
# tar cf - /media/RHEL6.9 | ( cd /opt/make_iso/; tar xpvf - )
4. Kopieren Sie die uefi-Kickstart-Konfigurationsdatei in das Stammverzeichnis des ISO-Images:
# cp uefi_ks.cfg /opt/make_iso/ks.cfg
5. Kopieren Sie efiboot.img in das Stammverzeichnis des ISO-Images:
# cp /opt/make_iso/images/efiboot.img /opt/make_iso
6. Führen Sie den folgenden Befehl aus, um ein bootfähiges UEFI-ISO-Image zu generieren:
# mkisofs -b isolinux/isolinux.bin -no-emul-boot -boot-load-size 4 -boot-info-table -eltorito-alt-boot -e efiboot.img -no-emul-boot -no-iso-translate -r -l -T -J -o /tmp/uefi_boot.iso /opt/make_iso
Datei /tmp/uefi_boot.iso ist das UEFI-bootfähige ISO-Image.