[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Add multiboot2 header

From: Andrea G. Monaco
Subject: Re: [PATCH] Add multiboot2 header
Date: Tue, 09 Feb 2021 02:34:41 +0100

  > grub does find both headers indeed, but that doesn't boot, it says
  > "
  > error: you need to load the kernel first.
  > "
  > as if it doesn't recognize the gnumach file as being a proper ELF kernel
  > file.

Thanks for testing!
I get the same message when using "multiboot2". In my case I expect it:
I wrote a header that _requires_ a text mode from the bootloader (the
"required" field in the flags tag is 0), so the loading fails and when
the boot script reaches "boot" there is no kernel.

  set root=(hd0,9)
  multiboot2 /boot/gnumach.gz

Do you get that message only when using "multiboot2"? In that case,
could you please try at the grub2 prompt one line at a time? Does the
"multiboot2" line evokes any output?

  > Please avoid introducing spurious spaces at ends of lines

I will!

Andrea Monaco

reply via email to

[Prev in Thread] Current Thread [Next in Thread]