Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to use script when chainloading from UEFI GRUB
2016-01-08, 20:39
Post: #1
How to use script when chainloading from UEFI GRUB
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
Find all posts by this user
Quote this message in a reply
2016-01-15, 08:29
Post: #2
RE: How to use script when chainloading from UEFI GRUB
(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
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)