How to boot second grub?
Scott Talbot
talbotscott at cox.net
Sat Apr 30 20:09:53 UTC 2005
On Sat, 2005-04-30 at 11:23 -0400, av1 at ansae.com wrote:
> Very sorry, my finger hit "send" too fast and I forgot to type a subject.
>
> I've been able to set up two FC3's with a single grub, but what I'd really
> like to do is set up a second grub and have the first chainload to the
> second. (I want to play with custom kernels on the second.)
>
> I have two ide's, hda and hdb. My first fc3 is on hda. I tried installing
> the second fd3 with /boot on hdb1 and / on hdb2. I told anaconda to put the
> second grub on the mbr and used the advanced bootloader screen to reorder
> the drives so it would write it to hdb instead of hda.
>
> After installing, I went to my first grub.conf and added
>
> title Second Fedora
> rootnoveriy (hd1,0)
> chainloader +1
>
> But when I reboot and select Second Fedora, I get Error 13 invalid or
> unsupported executable format. What did I do wrong? What's the right way to
> set this up?
>
> --Cliff
>
Cliff:
You need to have a copy of grub in the /boot directory (or / if you
didn't make a new /boot).
assuming grub's hd1,0 is = to hdb1 you'll want to boot into your new
FC3 and perform grub-install /dev/hdb1
You now won't be able to get to your old install, so you'll have to
boot a rescue cd, chroot into your old install, and perform the grub-
install to wherever that bootstrap is (/dev/hda is the MRB and the most
usual place).
HTH
Scott
More information about the users
mailing list