Greetings:
Given a UEFI application, lets call it 'grubaa64.efi', how can I make it into a UEFI bootable ISO file?
I tried grub-mukrescue but I don't want hundreds of megabytes of grub module files in my ISO, in theory, the only file needed in the bootable ISO file should be grubaa64.efi and perhaps some kind of boot catalog item?
I tried using PYCDLIB but can't figure out how to use it.
Make simple UEFI bootable ISO
-
- Member
- Posts: 5562
- Joined: Mon Mar 25, 2013 7:01 pm
Re: Make simple UEFI bootable ISO
By "ISO" do you mean an optical disc image that will not work on any non-optical media?joevango wrote:Given a UEFI application, lets call it 'grubaa64.efi', how can I make it into a UEFI bootable ISO file?
Make a UEFI-bootable floppy disk (or hard disk) image, then instruct your optical disc image creation utility to use said image as the El Torito boot item for the EFI platform. The floppy/hard disk image may be pre-built, depending on where you got your copy of GRUB.
If grub-mkrescue is adding hundreds of megabytes of GRUB modules, something has gone wrong. It should be around ten megabytes at most, assuming you're targeting only a single architecture.joevango wrote:I tried grub-mukrescue but I don't want hundreds of megabytes of grub module files in my ISO,
You also need bootaa64.efi and at least enough GRUB modules to load your OS.joevango wrote:in theory, the only file needed in the bootable ISO file should be grubaa64.efi and perhaps some kind of boot catalog item?