UEFI with kickstart
UEFI with kickstart
I am trying to create a custom CentOS 8 ISO that includes my kickstart and I got it working properly for BIOS. However, UEFI boot does not work and always load the UEFI shell (see picture below). The original CentOS 8 ISO works ok on my KVM machine but my custom one does not. To create the ISO I am using:
mkisofs \
-o /ISO/boot.iso \
-b isolinux/isolinux.bin \
-c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table \
-eltorito-alt-boot \
-no-emul-boot \
-e images/efiboot.img \
-V "CentOS-8-1-1911-x86_64-dvd" \
-R -J -v -T .
I also tried to use xorriso with no success.
Any hint about what I am doing wrong?
Thanks.
mkisofs \
-o /ISO/boot.iso \
-b isolinux/isolinux.bin \
-c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table \
-eltorito-alt-boot \
-no-emul-boot \
-e images/efiboot.img \
-V "CentOS-8-1-1911-x86_64-dvd" \
-R -J -v -T .
I also tried to use xorriso with no success.
Any hint about what I am doing wrong?
Thanks.
Re: UEFI with kickstart
I've never done it but I do know that it needs to be a hybrid iso image.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: UEFI with kickstart
I have also tried it... When I try to make it hybrid, I get:
isohybrid --uefi /ISO/boot.iso
isohybrid: Warning: more than 1024 cylinders: 7272
isohybrid: Not all BIOSes will be able to boot this device
Still does not work... The funny thing is that the original ISO works...
isohybrid --uefi /ISO/boot.iso
isohybrid: Warning: more than 1024 cylinders: 7272
isohybrid: Not all BIOSes will be able to boot this device
Still does not work... The funny thing is that the original ISO works...
Re: UEFI with kickstart
Anyone with RedHat support access could share here the contents of this page:
https://access.redhat.com/solutions/60959
Thanks.
https://access.redhat.com/solutions/60959
Thanks.
Re: UEFI with kickstart
For more information on the free Red Hat Developer subscription please see http://developers.redhat.com/blog/2016/ ... available/
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: UEFI with kickstart
That was great! Thanks for sharing the info.
Cheers!
Cheers!
Re: UEFI with kickstart
I did the step by step procedure from Red Hat. Still does not work for UEFI.
Anyone that has solved this? If not, is it a Red Hat/CentOS 8 bug?
Thanks.
Anyone that has solved this? If not, is it a Red Hat/CentOS 8 bug?
Thanks.
-
- Posts: 45
- Joined: 2014/10/24 16:20:13
Re: UEFI with kickstart
Did you ever figure this out?? I almost have it but still hit roadblocks.
Re: UEFI with kickstart
I did this using xorriso. In the kickstart, I had to include a %pre section that checks if the system is uefi and add a /boot/efi partition if it is.
The labelling is also very picky and it caused me a bit of a headache figuring out so make sure the version you're using is 8-1-1911.
%pre check is:
xorriso command I used:
The labelling is also very picky and it caused me a bit of a headache figuring out so make sure the version you're using is 8-1-1911.
%pre check is:
Code: Select all
if [ -d /sys/firmware/efi ]; then
uefi partitions
else
bios partitions
fi
Code: Select all
xorriso -as mkisofs -o /isos/centOS8.iso -V "CentOS-8-1-1911-x86_64-dvd" -c isolinux/boot.cat -b isolinux/isolinux.bin -no-emul-boot -boot-load-size 4 -boot-info-table -eltorito-alt-boot -e images/efiboot.img -no-emul-boot -R -J .