ELF64 ? - Printable Version +- iPXE discussion forum (https://forum.ipxe.org) +-- Forum: iPXE user forums (/forumdisplay.php?fid=1) +--- Forum: General (/forumdisplay.php?fid=2) +--- Thread: ELF64 ? (/showthread.php?tid=12587) |
ELF64 ? - jolyon - 2018-07-09 09:01 Is it possible to boot an ELF64 kernel using iPXE? Any guidance greatly appreciated! thanks, jolyon RE: ELF64 ? - NiKiZe - 2018-07-10 19:21 How does one get a ELF64 kernel that does not already work out of the box with iPXE (pcbios mode) ? RE: ELF64 ? - jolyon - 2018-07-11 07:11 (2018-07-10 19:21)NiKiZe Wrote: How does one get a ELF64 kernel that does not already work out of the box with iPXE (pcbios mode) ? By building one and then being unclear whether the problem is the binary or iPXE; hence the question! You are saying that iPXE should work with an ELF64 kernel? RE: ELF64 ? - NiKiZe - 2018-07-11 08:19 Let me rephrase, How do you build it?, is it a linux kernel? what is the error you get in iPXE if you try to use it? are you using pcbios or efi boot mode? For Linux bzImages are supported in pcbios mode, in EFI mode you will need to have EFI stub compiled in. RE: ELF64 ? - jolyon - 2018-07-11 08:39 (2018-07-11 08:19)NiKiZe Wrote: Let me rephrase, How do you build it?, is it a linux kernel? what is the error you get in iPXE if you try to use it? are you using pcbios or efi boot mode? Thanks NiKiZe; it's not linux - it's a small kernel code base that should work in both 32 and 64 bit (ho ho). so i have an ELF, 32 bit build and an ELF64, 64 bit build. I rebuilt iPXE for x64, naively thinking everything would "just work". The error was that the ELF64 image is "not multiboot". thanks for helping me get my head round it a little! |