Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Loading a kernel header in grub2
2018-10-31, 14:39
Post: #1
Loading a kernel header in grub2
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
}
Find all posts by this user
Quote this message in a reply
2018-10-31, 21:21
Post: #2
RE: Loading a kernel header in grub2
So you are booting in legacy pcbios mode and gets a hang?
How/where was grub booted from? Was it from disk?

Read the FAQ before posting.
Did you include relevant ipxe.org error urls?
Visit this user's website Find all posts by this user
Quote this message in a reply
2018-11-02, 14:20 (This post was last modified: 2018-11-02 14:21 by ChrisLucas29.)
Post: #3
RE: Loading a kernel header in grub2
1. My device a EFI 32-bit. Must it be a legacy BIOS
2. It's using an micro SD card to boot
Find all posts by this user
Quote this message in a reply
2018-11-02, 14:25
Post: #4
RE: Loading a kernel header in grub2
ipxe.lkrn can only boot in pcbios mode.
please try ipxe.efi instead.
it is x86 and not ARM right?

Read the FAQ before posting.
Did you include relevant ipxe.org error urls?
Visit this user's website Find all posts by this user
Quote this message in a reply
2018-11-02, 14:42
Post: #5
RE: Loading a kernel header in grub2
ipxe.efi works its a x86
Find all posts by this user
Quote this message in a reply
2018-11-05, 11:54
Post: #6
RE: Loading a kernel header in grub2
What's pcbios mode?
Find all posts by this user
Quote this message in a reply
2018-11-05, 11:56
Post: #7
RE: Loading a kernel header in grub2
(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.

Read the FAQ before posting.
Did you include relevant ipxe.org error urls?
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 




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