iPXE discussion forum

Full Version: How to use script when chainloading from UEFI GRUB
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Greetings,

I have a UEFI bootable USB stick which I want to use to load iPXE and run a custom script.
Here is the GRUB2 entry:

menuentry "iPXE"{
search --no-floppy --set=root -f /live/ipxe.efi
chainloader /live/ipxe.efi + 1
}

I have placed a plain text file script at /live/script.ipxe but it doesn't see the script. What do I have to do?

Thanks,
David
(2016-01-08 20:39)dthatcher Wrote: [ -> ]I have a UEFI bootable USB stick which I want to use to load iPXE and run a custom script.
Here is the GRUB2 entry:

menuentry "iPXE"{
search --no-floppy --set=root -f /live/ipxe.efi
chainloader /live/ipxe.efi + 1
}

I have placed a plain text file script at /live/script.ipxe but it doesn't see the script. What do I have to do?

UEFI iPXE does not currently have the ability to load images (e.g. scripts) from a local UEFI filesystem. This is planned to be implemented. In the meantime, you'll have to build ipxe.efi with your script embedded (via the EMBED=... build option).

Michael
Reference URL's