iPXE discussion forum
Loading a kernel header in grub2 - Printable Version

+- iPXE discussion forum (https://forum.ipxe.org)
+-- Forum: iPXE user forums (/forumdisplay.php?fid=1)
+--- Forum: General (/forumdisplay.php?fid=2)
+--- Thread: Loading a kernel header in grub2 (/showthread.php?tid=14949)



Loading a kernel header in grub2 - ChrisLucas29 - 2018-10-31 14:39

Hello,

I've created a .lkrn file via this command:
Code:
make bin/ipxe.lkrn

And I'm trying to boot it via the grub shell but It keeps freezing and I'm not getting any error mesages. Here is the code in grub2:
Code:
exec tail -n +3 $0
menuentry "Netboot"{
linux /boot/ipxe.lkrn
}



RE: Loading a kernel header in grub2 - NiKiZe - 2018-10-31 21:21

So you are booting in legacy pcbios mode and gets a hang?
How/where was grub booted from? Was it from disk?


RE: Loading a kernel header in grub2 - ChrisLucas29 - 2018-11-02 14:20

1. My device a EFI 32-bit. Must it be a legacy BIOS
2. It's using an micro SD card to boot


RE: Loading a kernel header in grub2 - NiKiZe - 2018-11-02 14:25

ipxe.lkrn can only boot in pcbios mode.
please try ipxe.efi instead.
it is x86 and not ARM right?


RE: Loading a kernel header in grub2 - ChrisLucas29 - 2018-11-02 14:42

ipxe.efi works its a x86


RE: Loading a kernel header in grub2 - ChrisLucas29 - 2018-11-05 11:54

What's pcbios mode?


RE: Loading a kernel header in grub2 - NiKiZe - 2018-11-05 11:56

(2018-11-05 11:54)ChrisLucas29 Wrote:  What's pcbios mode?

Pcbios or legacy mode is the usual boot for x86 when not using efi.