help-grub
[Top][All Lists]
Advanced

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

Re: Managing multi grub installs


From: Goh Lip
Subject: Re: Managing multi grub installs
Date: Wed, 12 Mar 2014 10:06:03 +0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0



On 03/12/2014 01:32 AM, Rustom Mody wrote:
On Tue, Mar 11, 2014 at 9:53 PM, Jordan Uggla <address@hidden> wrote:
On Mon, Mar 10, 2014 at 8:21 AM, Rustom Mody <address@hidden> wrote:
menuentry "Debian bootloader" {
   search --set --label Debian500G
   multiboot /boot/grub/i386-pc/core.img
}

Tried this. I get:

Welcome to Grub (in inverse video)
error file not found
Entering rescue mode
grub rescue>

How I tried:

At the grub prompt I gave the following
multiboot (hd0,5)/boot/grub/core.img


Note that "root=(something,else); multiboot
(hd0,5)/boot/grub/core.img" is *not* functionally equivalent to
"root=(hd0,5); multiboot (hd0,5)/boot/grub/core.img". The multiboot
loader actually uses the value of $root and passes that information
along to the kernel its loading, in the case of loading grub it's used
to find the correct device value for $prefix.

Try actually using "search --set=root --fs-uuid=UUID_HERE; multiboot
/boot/grub/core.img".

Same result; viz. I get this

Welcome to Grub (in inverse video)
error file not found
Entering rescue mode
grub rescue>

Slightly different words if I put --fs-uuid=UUID_HERE
Exactly the above when there is no '=' sign

Also tried with label (which is my original) -- same thing

I preceded that line by a
insmod multiboot




Multiboot works only with grub version is 2.00. Not with version 1.99 and below. You can try to boot the vmlinuz/initrd directly with


menuentry "Debian bootloader" {
  search --label --set=root Debian500G
  linux /vmlinuz root=LABEL=Debian500G ro
  initrd /initrd.img
}




reply via email to

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