Results 1 to 10 of 12
I installed Fedora and as a result I have lost my boot menu which gives access
to my Ubuntu OS. I was expecting that Fedora would detect my partitions and ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 01-23-2011 #1Just Joined!
- Join Date
- Sep 2008
- Posts
- 15
longing for ubuntu
I installed Fedora and as a result I have lost my boot menu which gives access
to my Ubuntu OS. I was expecting that Fedora would detect my partitions and re-create
an updated boot menu just like Ubuntu does.
I have tried editing /boot/grub/grub.conf in Fedora
by adding some lines like this ...
title Ubuntu 10.4, kernel 2.6.22-14-generic
root (hd0,5)
kernel /vmlinuz-2.6.22-14-generic ro root=/dev/sda1
initrd /initrd.img-2.6.22-14-generic
I cannot remember the full name of the kernel loaded in Ubuntu and so I am taking a guess ...
Rebooting will show the menu entry for Ubuntu but it will not boot when ENTER is clicked. Instead I get a 'file not found' error.
Here is my updated partition table ...
Device Boot Start End Blocks Id System
/dev/sda1 * 1 26 204800 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2 26 7798 62432256 8e Linux LVM
/dev/sda4 7799 18310 84435527 f W95 Ext'd (LBA)
/dev/sda5 7799 8060 2104452 82 Linux swap / Solaris
/dev/sda6 8061 10671 20972826 83 Linux
/dev/sda7 10672 15163 36079908+ 83 Linux
/dev/sda8 15163 18174 24184832 83 Linux
/dev/sda9 18174 18310 1091584 82 Linux swap / Solaris
please, any help appreciated,
regards,
Steven M
- 01-23-2011 #2
- 01-23-2011 #3Just Joined!
- Join Date
- Sep 2008
- Posts
- 15
NO because 'Rebooting will show the menu entry for Ubuntu but it will not boot when ENTER is clicked. Instead I get a 'file not found' error.'
- 01-23-2011 #4
Try running "sudo update-grub" before you reboot. That should fix the problem. Editing grub manually is a last resort, and letting it fix itself might work.
- 01-24-2011 #5Just Joined!
- Join Date
- Sep 2008
- Posts
- 15
It is not installed !
Which package do I need ?
regards,
Steven M
- 01-24-2011 #6
If grub isn't installed, you can't boot. Exactly what results do you get when you run
in a terminal?Code:sudo update-grub
- 01-24-2011 #7
If this is being done from fedora, sudo is not installed by default.
Also, I'm not sure that update-grub is applicable to Fedora.
You should post your grub.conf file. It's no use guessing what's in it. If you're lising kernel 2.6.22, that's certainly wrong for Ubuntu 10.04, which is using 2.6.32.
(hd0,5) is point to /dev/sda6. Is that where your Ubuntu install is? You would need to change the root=/dev/sda1 line as well.
SuperGrubDisk might be of use to you.
Also, you don't need two swap partitions. You can share one between multiple distro installs.
- 01-24-2011 #8Just Joined!
- Join Date
- Sep 2008
- Posts
- 15
Here is my partition table ... a bit of a mess !
Device Boot Start End Blocks Id System
/dev/sda1 * 1 26 204800 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2 26 7798 62432256 8e Linux LVM
/dev/sda4 7799 18310 84435527 f W95 Ext'd (LBA)
/dev/sda5 7799 8060 2104452 82 Linux swap / Solaris
/dev/sda6 8061 10671 20972826 83 Linux
/dev/sda7 10672 15163 36079908+ 83 Linux
/dev/sda8 15163 18174 24184832 83 Linux
/dev/sda9 18174 18310 1091584 82 Linux swap / Solaris
How do I look into my grub.conf file in my Ubuntu partition - /dev/sda7
I am using Fedora on /dev/sda2 ...
Here is the fedora grub config file ...
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/mapper/vg_stevenm-lv_root
# initrd /initrd-[generic-]version.img
#boot=/dev/sda
default=1
timeout=15
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.31.5-127.fc12.i686.PAE)
root (hd0,0)
kernel /vmlinuz-2.6.31.5-127.fc12.i686.PAE ro root=/dev/mapper/vg_stevenm-lv_root LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=uk rhgb quiet
initrd /initramfs-2.6.31.5-127.fc12.i686.PAE.img
What do I need to add to it to offer my Ubuntu partition ?
Is there an easier way Without having to edit grub.conf
regards,
Steven Matthews
- 01-24-2011 #9
It might be easier to reinstall Ubuntu's GRUB2, using a live CD. That should have OS detection and be able to add your Fedora install automagically.
- 01-24-2011 #10I don't know if i'm wrong but I think Fedora does not play well with other linux OS on a multi boot. It does not read any other linux system aside from windows and itself.I installed Fedora and as a result I have lost my boot menu which gives access
to my Ubuntu OS. I was expecting that Fedora would detect my partitions and re-create
an updated boot menu just like Ubuntu does.
nujinini
Linux User #489667


Reply With Quote
