Re: Triple boot:XP,ubuntu&FC5 grub failed



On 8/30/06, Mirko Scurk <mdebian@xxxxxxx> wrote:

Roby wrote:
Gayal wrote:

# grub.conf generated by anaconda
#
...
title Fedora Core (2.6.15-1.2054_FC5)
root (hd0,7)
kernel /boot/vmlinuz-2.6.15-1.2054_FC5 ro root=LABEL=/ rhgb
quiet
initrd /boot/initrd-2.6.15-1.2054_FC5.img
title Ubuntu
rootnoverify (hd0,6)
chainloader +1
title Win XP
rootnoverify (hd0,0)
chainloader +1
-----------------------------------------------------------------------------------------------------------------------------------------

Notice the similarity of Ubuntu and Win stanzas generated by anaconda.
Well, this will never do. Ubuntu's entry ought to be more like FC,
the other linux that dwells on your HD. Something like ...

title Ubuntu
root (hd0,6)
kernel (copy this from menu.lst kernel line in Ubuntu)
initrd (also from Ubuntu's menu.lst)


Or not, if he instaled grub from ubuntu on ubuntu partition. Then
chainloader makes sense!
You are right

I have exactly that on my Desktop
I have the grub of FC5 on the MBR,
then i have grub on the Ubuntu partition,

and my grub config sees like that, the good thing of doing this way is
that when you run
$ yum update
or
$ sudo apt-get update

you do not have to worry about pointing to the new kernels.
do this
boot from any of the linux you are able to boot, after that
run
$ grub
that will give you the grub shell
-> root (hd0,6) # your ubuntu partition
-> configure (hd0,6) # will install grub on your ubuntu partion.

be sure you have a good menu.lst file on you /boot/grub/ directory on
the hd0,6 partion,
pointing to you Ubuntu

now you chainloader command will make sense.
please tell me if you need any more help, I will be at home in two
hours and will be able to see how my PC is configure and working.
regards,
please send me the output of:
$ fdisk -l
$ df (from FC5 and Ubuntu if possible)


Guillermo.

--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



Relevant Pages

  • Re: Can GRUB boot GRUB?
    ... I then added a new drive and installed FC4 on it, which put a GRUB ... shrank 98SE, and put Ubuntu on the second partition, telling the Ubuntu ... If you truly have grub installed in the MBR of both drives and ...
    (Fedora)
  • Re: Grub chainloader
    ... Festplatte meines Rechners installieren. ... installieren und per Chainloader vom Ubuntu Grub aus zu starten. ...
    (de.comp.os.unix.linux.misc)
  • Re: expand /boot partition?
    ... install several new Ubuntu versions from live or ... /dev/sda1 - Windows Vista ... I use the Windows Vista bootloader. ... I figure the menu just need to be told where grub is again.. ...
    (Ubuntu)
  • Re: Messed up Grub
    ... commands and then I will explain them later) ... This will get you a "grub>" prompt (i.e. the grub ... I decided to use my sda and sdb drives as one drive. ... Ubuntu users group. ...
    (Ubuntu)
  • Re: update grub + 2 ubtuntu installs with shared /boot
    ... understanding all the automatisms which are in ubuntu and deal with grub. ... Almost like how, after my Kubuntu install, the installer created a new ...
    (Ubuntu)