All of lore.kernel.org
 help / color / mirror / Atom feed
* GRUB on two mbrs
@ 2007-10-17  2:30 John Pierce
  2007-10-18 11:43 ` Marco Gerards
  2007-10-21 19:29 ` steve platt
  0 siblings, 2 replies; 5+ messages in thread
From: John Pierce @ 2007-10-17  2:30 UTC (permalink / raw)
  To: grub-devel

Hello list member, I have hashed this out with a handful of people on
the fedora list and have had no luck making it work in any
permutation.

I have Fedora 7 installed on sda, it has a /dev/sda1 for /boot and
grub was installed to the mbr.  It boots Fedora fine.

I have Mandriva 2008 installed on sdb, it has a /dev/sdb1 for /boot
and grub was installed on the sdb mbr.

I would like to make an stanza in the fedora menu.lst file that will
pass control to the grub installed on sdb's mbr.

I want to do this so that when mandriva updates the kernel I will not
have to modify the menu.lst in the fedora installation.

Note:  I can boot mandriva from the stanza that I created in the
Fedora 7 menu.lst file, but if mandriva updates the kernel then I have
to modify the stanza.

I have tried almost every permutation of the following:

title Mandriva 2008
  rootnoverify (hd1,0)
  makeactive
  chainloader +1

I have tried it with chainloader, chainloader (hd1,0), chainloader
(hd1,0)+1.  I have tried with root (hd1,0).

I thought I had read somewhere one time that this could be done, but I
cannot find it any where.

Any thoughts or advice would be appreciated.

-- 
John
Registered Linux User 263680, get counted at
http://counter.li.org



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: GRUB on two mbrs
  2007-10-17  2:30 GRUB on two mbrs John Pierce
@ 2007-10-18 11:43 ` Marco Gerards
  2007-10-21 19:29 ` steve platt
  1 sibling, 0 replies; 5+ messages in thread
From: Marco Gerards @ 2007-10-18 11:43 UTC (permalink / raw)
  To: The development of GRUB 2

"John Pierce" <john.j35@gmail.com> writes:

> Hello list member, I have hashed this out with a handful of people on
> the fedora list and have had no luck making it work in any
> permutation.

[...]

This list is about the development of GRUB 2.  Your question is about
using GRUB Legacy, so not appropriate here.  Please use the
bug-grub@gnu.org mailing list, hopefully someone on that list can help
you.

--
Marco




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: GRUB on two mbrs
  2007-10-17  2:30 GRUB on two mbrs John Pierce
  2007-10-18 11:43 ` Marco Gerards
@ 2007-10-21 19:29 ` steve platt
  2007-10-21 20:15   ` Grub2 wiki steve platt
  1 sibling, 1 reply; 5+ messages in thread
From: steve platt @ 2007-10-21 19:29 UTC (permalink / raw)
  To: The development of GRUB 2

On Tue, 2007-10-16 at 21:30 -0500, John Pierce wrote:

> title Mandriva 2008
>   rootnoverify (hd1,0)
>   makeactive
>   chainloader +1

>  ... I have tried with root (hd1,0).

Have you tried "root (hd1)" yet?

I think that's the way to refer to the "MBR" of a drive ...

Steve




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Grub2 wiki
  2007-10-21 19:29 ` steve platt
@ 2007-10-21 20:15   ` steve platt
  2007-10-22  5:06     ` Robert Millan
  0 siblings, 1 reply; 5+ messages in thread
From: steve platt @ 2007-10-21 20:15 UTC (permalink / raw)
  To: The development of GRUB 2

Some time ago I tried to use Grub2, having found that Grub1 (Legacy)
didn't work on my system ( yes, I know my logic was poor! ).

While trying to find how to use it, I came across the following page :-

http://grub.enbug.org/TestingOnX86 

In that page there is a section about installing Grub2 on a "Real
system", which seems to me to have an obvious error which might mislead
others. I am too old and feeble to engage in battle with wicked wikis
but I would like to offer the following comment to the page's author (or
in the hope that it might help to improve the "documentation" of grub2:



In the first code box of this section the last command reads :-

  grub-install --grub-setup=/boot/grub/grub.cfg /dev/hda
I think the error is to quote the path to the config file as an argument
where the path to the grub-setup program is expected. The default path
is probably OK anyway, so you can probably just omit the whole option :-

  grub-install /dev/hda

The above should run grub-setup successfully (rather than trying to
execute grub.cfg!) for you so there's no need to run it again: If this
works then the comments that follow about a "bug in grub-install" could
be removed.

Hope this helps!
Steve




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Grub2 wiki
  2007-10-21 20:15   ` Grub2 wiki steve platt
@ 2007-10-22  5:06     ` Robert Millan
  0 siblings, 0 replies; 5+ messages in thread
From: Robert Millan @ 2007-10-22  5:06 UTC (permalink / raw)
  To: The development of GRUB 2

On Sun, Oct 21, 2007 at 09:15:40PM +0100, steve platt wrote:
> 
>   grub-install --grub-setup=/boot/grub/grub.cfg /dev/hda
> I think the error is to quote the path to the config file as an argument
> where the path to the grub-setup program is expected.

Fixed, thanks.

-- 
Robert Millan

<GPLv2> I know my rights; I want my phone call!
<DRM> What use is a phone call, if you are unable to speak?
(as seen on /.)



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-10-22  5:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-17  2:30 GRUB on two mbrs John Pierce
2007-10-18 11:43 ` Marco Gerards
2007-10-21 19:29 ` steve platt
2007-10-21 20:15   ` Grub2 wiki steve platt
2007-10-22  5:06     ` Robert Millan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.