Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
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.
  1. #1
    Just Joined!
    Join Date
    Sep 2008
    Posts
    16

    Unhappy 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

  2. #2
    Linux User sgosnell's Avatar
    Join Date
    Oct 2010
    Location
    Baja Oklahoma
    Posts
    494
    Did you run "sudo update-grub"?

  3. #3
    Just Joined!
    Join Date
    Sep 2008
    Posts
    16
    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.'

  4. $spacer_open
    $spacer_close
  5. #4
    Linux User sgosnell's Avatar
    Join Date
    Oct 2010
    Location
    Baja Oklahoma
    Posts
    494
    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.

  6. #5
    Just Joined!
    Join Date
    Sep 2008
    Posts
    16
    It is not installed !
    Which package do I need ?

    regards,

    Steven M

  7. #6
    Linux User sgosnell's Avatar
    Join Date
    Oct 2010
    Location
    Baja Oklahoma
    Posts
    494
    If grub isn't installed, you can't boot. Exactly what results do you get when you run
    Code:
    sudo update-grub
    in a terminal?

  8. #7
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    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.

  9. #8
    Just Joined!
    Join Date
    Sep 2008
    Posts
    16
    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

  10. #9
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    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.

  11. #10
    Linux Engineer nujinini's Avatar
    Join Date
    Apr 2009
    Posts
    1,272
    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 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.
    nujinini
    Linux User #489667

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •