Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
UEFI sanboot local drive
2017-09-27, 13:57
Post: #1
UEFI sanboot local drive
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 ?
Find all posts by this user
Quote this message in a reply
2017-09-27, 19:32
Post: #2
RE: UEFI sanboot local drive
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

Read the FAQ before posting.
Did you include relevant ipxe.org error urls?
Visit this user's website Find all posts by this user
Quote this message in a reply
2017-09-28, 08:40
Post: #3
RE: UEFI sanboot local drive
Thank you, I'll try that.
Find all posts by this user
Quote this message in a reply
Post Reply 




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