Triple boot:XP,ubuntu&FC5 grub failed
Guillermo Garron
guillermo.fedora at gmail.com
Thu Aug 31 02:09:39 UTC 2006
On 8/30/06, Guillermo Garron <guillermo.fedora at gmail.com> wrote:
> On 8/30/06, Mirko Scurk <mdebian at sfsb.hr> 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)
you can check this page i wrote for this a few minutes ago.
http://linuxcare.blogspot.com/
regards.
Guillermo.
More information about the ubuntu-users
mailing list