2019-05-01, 23:23
I'm having some problems getting netboot to work on a UEFI based arm 64-bit system (Ampere Computing eMAG). Right now I'm just trying to get Ubuntu to work.
I was originally trying to use a file like:
And was getting this error: http://ipxe.org/err/2e0080
My assumption is that the linux image is not EFI compatible. In the Ubuntu path I'm using there's a netbootaa64.efi file, which (and I have limited experience) looks like the right netboot binary for me to use. But I'm not quite sure how to use iPXE in this way.
Some more background:
Ubuntu netbootaa64.efi path: here
iPXE Version: 1.0.255+
Provisioning Platform: Packet
HW Platform: Ampere Computing eMAG (c2.large.arm on Packet)
I did some tests trying to chain load the efi file, something like:
The error above goes away and the efi file is downloaded, but I get dropped straight into the grub shell with no apparently filesystem*.
*ls in the grub shell gives me (hd0) with no partitions listed. ls (hd0)/ gives me a 'no filesystem found' error.
I also found some threads that reference using the
or
commands in the iPXE script, but those commands are not found and give an error when the script runs.
Anyone have some pointers to how I can get a netboot of Ubuntu working through iPXE on an aarch64 UEFI based system? Really stuck on this one.
I was originally trying to use a file like:
Code:
#!ipxe
kernel http://path/to/repo/linux initrd=initrd
initrd http://path/to/repo/initrd.gz
boot
And was getting this error: http://ipxe.org/err/2e0080
My assumption is that the linux image is not EFI compatible. In the Ubuntu path I'm using there's a netbootaa64.efi file, which (and I have limited experience) looks like the right netboot binary for me to use. But I'm not quite sure how to use iPXE in this way.
Some more background:
Ubuntu netbootaa64.efi path: here
iPXE Version: 1.0.255+
Provisioning Platform: Packet
HW Platform: Ampere Computing eMAG (c2.large.arm on Packet)
I did some tests trying to chain load the efi file, something like:
Code:
#!ipxe
chain http://path/to/repo/netbootaa64.efi
The error above goes away and the efi file is downloaded, but I get dropped straight into the grub shell with no apparently filesystem*.
*ls in the grub shell gives me (hd0) with no partitions listed. ls (hd0)/ gives me a 'no filesystem found' error.
I also found some threads that reference using the
Code:
kernelefi
Code:
initrdefi
Anyone have some pointers to how I can get a netboot of Ubuntu working through iPXE on an aarch64 UEFI based system? Really stuck on this one.