Net-booting an EFI image on an aarch64 server with iPXE script
|
2019-05-03, 18:18
Post: #4
|
|||
|
|||
RE: Net-booting an EFI image on an aarch64 server with iPXE script
I think I'm coming to a better understanding about the bootloading process, but need some clarification/validation.
If I understand this correctly, iPXE is a bootloader in a similar vein as Grub. So with iPXE, if you can load the right kernel and initrd images, you can boot/pass control straight to those images. However, in my case, where I use sanboot to load an ISO, I'm loading this image into memory, mounting it as a "CDRom Drive", and booting to it through grub. So in the sanboot case, grub takes over as the bootloader instead of iPXE. Is this a correct understanding? If I wanted to continue with the grub method (thought experiment here), could I modify the ISO file's grub.cfg to be something like: Code: set timeout=3 And then repackage the ISO? That, in theory, should tell grub to auto run the first menu item after 3 seconds, and the first menu item would have linux imgargs built into the grub.cfg file? Seems a little hacky, but functional, and within the bounds of what grub is intended to do. So then where do EFI scripts come in to play? I'm having issues imgfetching the linux image provided by Ubuntu in the arm64 netboot folder. I get error 2e008081 every time I try to load an arm64 linux image from Ubuntu's build repo. My gut is telling me that the image is not EFI compatible (is there a way to test this?). There is however a bootnetaa64.efi file, which seems applicable in my situation. So back to a question about how iPXE works here - if I try to execute an EFI file through imgload/initrd, does it drop the system into the EFI shell and execute those scripts? Is EFI then responsible for loading and passing control to the right initrd image? Does iPXE ever gain control back? Do I also need to imgfetch -n any other files from the Ubuntu repo? Like: Code: imgfetch -n linux http://..linux, Would that work? My current testing is imgloading the bootnetaa64.efi file, but when I do a boot command I get dropped into the EFI shell with no filesystems mounted and no error messages at all. |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Net-booting an EFI image on an aarch64 server with iPXE script - travislazar - 2019-05-01, 23:23
RE: Net-booting an EFI image on an aarch64 server with iPXE script - NiKiZe - 2019-05-02, 22:56
RE: Net-booting an EFI image on an aarch64 server with iPXE script - travislazar - 2019-05-03, 02:13
RE: Net-booting an EFI image on an aarch64 server with iPXE script - travislazar - 2019-05-03 18:18
RE: Net-booting an EFI image on an aarch64 server with iPXE script - travislazar - 2019-05-03, 21:41
RE: Net-booting an EFI image on an aarch64 server with iPXE script - travislazar - 2019-05-03, 23:17
RE: Net-booting an EFI image on an aarch64 server with iPXE script - NiKiZe - 2019-05-03, 23:21
RE: Net-booting an EFI image on an aarch64 server with iPXE script - travislazar - 2019-05-04, 00:16
RE: Net-booting an EFI image on an aarch64 server with iPXE script - travislazar - 2019-05-04, 02:21
|
User(s) browsing this thread: 1 Guest(s)