iPXE discussion forum
iPXE EFI booting ISOs - Printable Version

+- iPXE discussion forum (https://forum.ipxe.org)
+-- Forum: iPXE user forums (/forumdisplay.php?fid=1)
+--- Forum: General (/forumdisplay.php?fid=2)
+--- Thread: iPXE EFI booting ISOs (/showthread.php?tid=7983)



iPXE EFI booting ISOs - power270 - 2016-03-10 02:05

Any way I can boot ISOs in an EFI firmware. I wanted to boot dban and/or memtest.


RE: iPXE EFI booting ISOs - SebastianRoth - 2016-03-10 08:21

(2016-03-10 02:05)power270 Wrote:  Any way I can boot ISOs in an EFI firmware. I wanted to boot dban and/or memtest.

Sure... There are numerous examples on how to boot an ISO from iPXE. Start looking for
Code:
chain memdisk iso...
Or you can extract the ISO and boot the kernel/initrd directly. As well a lot of examples available.

The more interesting question: Is iPXE working on your EFI firmware device? iPXE does actually run on a lot of new UEFI machines that I've tried. Even tablets and such. Just give it a try!


RE: iPXE EFI booting ISOs - power270 - 2016-03-10 17:26

I'm booting iso's in BIOS iPXE using chaining with no issues, but its not working in EFI mode. iPXE loads my menu, but errors on memdisk.

Could not boot: Exec format error http://ipxe.org/2e008081

:MemTest
initrd /boot/iso/memtest.iso
chain /boot/x64/memdisk iso raw
boot || goto failed


RE: iPXE EFI booting ISOs - NiKiZe - 2016-03-10 18:08

Image booting uses INT13 which is BIOS only.
EFI have other mechanisms, however that is not implemented yet in ipxe.

First of you should as much as possible extract kernels etc instead of loading isos, for memtest, there is even memtest.0 which is a NBP and can return to ipxe when done instead of rebooting.

but memtest is legacy only and can never run in a efi environment.

dban can run the kernel directly, _if_ it is compiled with EFI_STUB enabled.

Update: http://forum.ipxe.org/showthread.php?tid=7998&pid=13194#pid13194