pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: sysutils/grub2: multiboot is still working?
Frédéric Fauberteau <triaxx%NetBSD.org@localhost> wrote:
>Le 2018-08-01 19:02, Robert Swindells a écrit :
>> Frédéric Fauberteau <triaxx%NetBSD.org@localhost> wrote:
>>> grub-mkconfig generates (in a submenu) lines for both boot methods:
>>> - knetbsd
>>> - multiboot
>>> but when I select the multiboot choice, I get the following errors:
>>> --- grub error ---
>>> error: no multiboot header found.
>>> error: kernel must be loaded first.
>>>
>>> Press key to continue... (approximate translation since messages are
>>> i18ned)
>>> --- /grub error ---
>>>
>>> The line from grub.cfg is:
>>> multiboot /netbsd /netbsd root=dk3 -z
>>> but
>>> multiboot /netbsd
>>> does not work either
>>>
>>> I plan to investigate, but if multiboot is broken, the reason becomes
>>> obvious...
>>
>> Have you got MULTIBOOT defined in your kernel config ?
>
>$ uname -v
>NetBSD 8.0 (HYDRALISK) #1: Tue Jul 31 18:43:06 CEST 2018
>root@hydralisk:/usr/obj/sys/arch/amd64/compile/HYDRALISK
>$ grep MULTIBOOT /usr/src/sys/arch/amd64/conf/HYDRALISK
>options MULTIBOOT
I think that only NetBSD/i386 is able to load using multiboot, not
NetBSD/amd64.
A test of the grub2 package might be to build sysutils/xenkernel48
for amd64 and try to boot that.
Home |
Main Index |
Thread Index |
Old Index