help-grub
[Top][All Lists]
Advanced

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

Re: Managing multi grub installs


From: Andrey Borzenkov
Subject: Re: Managing multi grub installs
Date: Mon, 10 Mar 2014 21:03:04 +0400

В Mon, 10 Mar 2014 20:51:52 +0530
Rustom Mody <address@hidden> пишет:

> >
> > Why do not simply chainload each bootloader? I.e.
> >
> > 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
> 
> Notes
> 1 Tab expansion expands to that (there is no i386-pc directory)

Hmm ... this would mean relatively old grub2 version. I'm afraid I do
not have experience with them. Current grub2 puts enough information in
core.img to find its modules when loaded this way. It is possible that
older version depended on something passed by BIOS.

> 2 Unlike the configfile that immediately acts (and crashes) this does
> nothing until boot is given

That is normal behavior for all boot-related commands. "boot" is
executed implicitly at the end of menu entry. Otherwise you need to do
it manually.

> 3 Help multiboot said not loaded so tried with insmod multiboot. Still the 
> same
> 

Again, I'm afraid your "primary" grub2 version may be a bit old.
Hopefully someone could provide more information here.

> >
> > (adjust platform and paths as needed). Or simply configure each OS to
> > install bootblock in respective partition and use
> >
> > chainloader +1
> 
> I dont remember the details but there were a lot of issues with
> bootblock-grub when I last tried
> 
> Some other things Ive tried:
> 1. Setting prefix -- same error
> 2. setting debug=all to see where its failing -- Just too much output
> to make out anything and goes on forever until I give Ctrl-Alt-Del




reply via email to

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