iPXE discussion forum
UEFI sanboot local drive - Printable Version

+- iPXE discussion forum (https://forum.ipxe.org)
+-- Forum: iPXE user forums (/forumdisplay.php?fid=1)
+--- Forum: General (/forumdisplay.php?fid=2)
+--- Thread: UEFI sanboot local drive (/showthread.php?tid=10327)

UEFI sanboot local drive - thb - 2017-09-27 13:57


With QEMU, I'm trying to boot directly on a local drive from iPXE with an UEFI binary but I always get the error:
iPXE> sanboot -n -d 0x80
Booting from SAN device 0x80
Boot from SAN device 0x80 failed: No such device (http://ipxe.org/2c222087)

I compile iPXE from source with
make bin-x86_64-efi/ipxe.efi

When I try with a bios version, it works fine. I'm probably missing something but I can't see what.

Any idea on how to do it ?

RE: UEFI sanboot local drive - NiKiZe - 2017-09-27 19:32

In efi you should probably try exit or exit 1 (the 1 to return a error to efi firmware) which should result in it trying to boot the next boot device.
There is no direct equivalent in efi since disk access is a completely different beast in EFI

RE: UEFI sanboot local drive - thb - 2017-09-28 08:40

Thank you, I'll try that.