The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 807 - File: showthread.php PHP 7.3.15 (Linux)
File Line Function
/showthread.php 807 errorHandler->error





Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Net-booting an EFI image on an aarch64 server with iPXE script
2019-05-01, 23:23
Post: #1
Net-booting an EFI image on an aarch64 server with iPXE script
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:

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
or
Code:
initrdefi
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.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Net-booting an EFI image on an aarch64 server with iPXE script - travislazar - 2019-05-01 23:23



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