Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
HDD Boot from ipxe.efi loaded via network
2020-08-14, 16:05
Post: #4
RE: HDD Boot from ipxe.efi loaded via network
Progress.

If you don't have a FAT32 formatted ESP, it looks like this:

Code:
ipxe: iPXE> imgload file://dsfg/sdfg
ipxe: LOCAL 0x9698bd48 could not enumerate handles: Error 0x7f4de08e (http://ipxe.org/7f4de08e)
ipxe: Download of "sdfg" failed: Error 0x7f4de08e (http://ipxe.org/7f4de08e)
ipxe: Could not start download: Error 0x7f4de08e (http://ipxe.org/7f4de08e)

Setting the GPT label for the ESP is wrong. You need to set the FAT label, i.e. mkfs.vfat -n MYLABEL /dev/sda1 or fatlabel /dev/sda1 MYLABEL, which finally lead to success on the above mentioned HP, and an Intel NUC NUC5i5RYB:

Code:
ipxe: iPXE> imgload file://FATLABEL/EFI/debian/grubx64.efi
ipxe: LOCAL 0x9a938ce8 found PciRoot(0x0)/Pci(0x1F,0x2)/Sata(0x0,0xFFFF,0x0)/HD(1,GPT,86502F95-E8D0-4BFC-B4BC-76D6123D2D77,0x800,0x80
ipxe: 000) with label "FATLABEL"
ipxe: LOCAL 0x9a938ce8 using PciRoot(0x0)/Pci(0x1F,0x2)/Sata(0x0,0xFFFF,0x0)/HD(1,GPT,86502F95-E8D0-4BFC-B4BC-76D6123D2D77,0x800,0x80
ipxe: 000) with label "FATLABEL"
ipxe: LOCAL 0x9a938ce8 base path ""
ipxe: LOCAL 0x9a938ce8 using "\EFI\debian\grubx64.efi"
ipxe: file://FATLABEL/EFI/debian/grubx64.efi...Downloaded "grubx64.efi"
ipxe:  ok
ipxe: iPXE> boot
ipxe: Executing "grubx64.efi"
[..grub prompt here..]
ipxe: Execution of "grubx64.efi" completed
ipxe: iPXE>

If you have an ESP with an empty label, like in my previous post, it doesn't work, i.e. file:///EFI/debian/grubx64.efi does not work, even though the output looks different from passing an invalid label.

So far this looks promising, I'll continue experimenting next week.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: HDD Boot from ipxe.efi loaded via network - simon - 2020-08-14 16:05



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