Skip to content

simple ipxe.iso edit #1155

Answered by mcb30
ffgomez asked this question in Q&A
Feb 15, 2024 · 3 comments · 4 replies
Discussion options

You must be logged in to vote

Yes, you can use util/genfsimg manually as follows:

make bin/ipxe.lkrn bin-x86_64-efi/ipxe.efi
./util/genfsimg -o ipxe.img -s embed.ipxe bin/ipxe.lkrn bin-x86_64-efi/ipxe.efi

This will create a combined BIOS/UEFI disk image which includes your autoexec.ipxe script. You can subsequently edit the autoexec.ipxe script within the disk image.

You can also include an ARM64 image if you want a combined x86/ARM disk image, e.g.:

make bin/ipxe.lkrn bin-x86_64-efi/ipxe.efi
make bin-arm64-efi/ipxe.efi CROSS=aarch64-linux-gnu-
./util/genfsimg -o ipxe.img -s autoexec.ipxe bin/ipxe.lkrn bin-x86_64-efi/ipxe.efi bin-arm64-efi/ipxe.efi

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
3 replies
@ffgomez
Comment options

@NiKiZe
Comment options

@mcb30
Comment options

Answer selected by ffgomez
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@ffgomez
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants