iPXE discussion forum

Full Version: UEFI sanboot local drive
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

With QEMU, I'm trying to boot directly on a local drive from iPXE with an UEFI binary but I always get the error:
Code:
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
Code:
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 ?
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
Thank you, I'll try that.
Reference URL's