OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Mar 28, 2024 8:59 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Make simple UEFI bootable ISO
PostPosted: Thu May 04, 2023 12:53 pm 
Offline

Joined: Tue Apr 25, 2023 12:34 pm
Posts: 1
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.


Top
 Profile  
 
 Post subject: Re: Make simple UEFI bootable ISO
PostPosted: Sun May 07, 2023 3:27 pm 
Offline
Member
Member

Joined: Mon Mar 25, 2013 7:01 pm
Posts: 5099
joevango wrote:
Given a UEFI application, lets call it 'grubaa64.efi', how can I make it into a UEFI bootable ISO file?

By "ISO" do you mean an optical disc image that will not work on any non-optical media?

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.

joevango wrote:
I tried grub-mukrescue but I don't want hundreds of megabytes of grub module files in my ISO,

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:
in theory, the only file needed in the bootable ISO file should be grubaa64.efi and perhaps some kind of boot catalog item?

You also need bootaa64.efi and at least enough GRUB modules to load your OS.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: DotBot [Bot] and 71 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group