[Top][All Lists]

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

Re: chainload to another grub2

From: Pascal Hambourg
Subject: Re: chainload to another grub2
Date: Sun, 10 Mar 2019 09:57:58 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:60.0) Gecko/20100101 Thunderbird/60.5.1

Le 08/03/2019 à 14:24, lejeczek a écrit :

How would I chain to another grub(on an NVMe) ?

First, the BIOS/UEFI firmware must have NMVe support, either natively or via a BIOS ROM extension.

I'm trying something this simple:

insmod chain
drivemap -s hd0 hd1
chainloader (hd1)+

Why do you swap (hd0) and (hd1) ? GRUB does not need it. Also, chainloading (hd1) after that means chainloading the original (hd0).

but I get:

"error: invalid signature.
Press any key...."

It seems that the MBR does not contain the boot signature (the aa 55 bytes at the end). Or this is GRUB for EFI (check environment variables with the "set" command) which expects an EFI executable file as the chainloader argument instead of a boot sector.

reply via email to

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