Make ISO images hybrid and with GPT to improve compatability #2547
Labels
bug
Something isn't working
triage
Add this label to issues that should be triaged and prioretized in the next planning call
unconfirmed
Kairos version:
3.0.9
CPU architecture, OS, and Version:
Dell optiplex 7050 (several years old)
Describe the bug
With trusted boot, does not recognize bootable USB stick (UEFI)
To Reproduce
just create TB install iso and try to boot off it, it will not be shown as bootable
Expected behavior
that the stick shows as a bootable device
Additional context
I managed to get it to work by modifying the ISO build command here:
kairos/Earthfile
Line 522 in 47b3d1c
I changed it to:
xorriso -as mkisofs -V 'UKI_ISO_INSTALL' -e efiboot.img -no-emul-boot -isohybrid-gpt-basdat -isohybrid-mbr /usr/lib/ISOLINUX/isohdppx.bin -o test.iso /mnt/original_iso
Before running the above, I had to mount a generated ISO into /mnt/original_iso, and install isolinux + syslinux-common to get /usr/lib/ISOLINUX/isohdppx.bin:
sudo apt-get install isolinux syslinux-common
After this, the device shows as bootable on my dell.
The text was updated successfully, but these errors were encountered: