Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: No bootloader after fedora 15 install

  1. #1
    Join Date
    Oct 2010
    Beans
    179

    No bootloader after fedora 15 install

    Hello, I have seen multiple others with this problem, I now have it too. I had Ubuntu 10.10 installed on my entire disk, then I installed Fedora 15 with it. The resizing-the-disk went smoothly, everything is great, but now when I turn on my machine, I get no grub, no boot loader, nothing. I just get thrown right into Fedora. I saw on a few other posts that if you manage to get into Ubuntu, you can open a terminal and type something along the lines of sudo grub update, and that would do the trick. The only issue is that I can't even get into ubuntu. I also was told that if you boot from a livecd you can edit the boot config, or view it, or something. I'm pretty new to all this "bootloader grub" jazz, and am hopelessly confused. How do I make it so that upon startup, I am able to choose between Ubuntu and Fedora?

    Any input is apreciated, thanks in advance.
    It felt like judgment, but it was only rain.

  2. #2
    Join Date
    Oct 2009
    Beans
    2,199
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: No bootloader after fedora 15 install

    Hi there. It is because fedora's boot-loader code (legacy Grub) over-wrote Ubuntu's boot-loader code (probably Grub2) as they occupy the same disk area. The trick would have been, and there is no way you would have know to do this, to install fedora without installing Grub and then boot Ubuntu and run 'sudo update-grub' to add fedora to Ubuntu's Grub menu.

    Ways to fix Ubuntu's Grub are here: https://help.ubuntu.com/community/Grub2 in Section 12, assuming your 10.10 is using Grub2.
    ASRock P67 Extreme6, Intel i5 2500K, 8GB RAM, nVidia 6600GT, 4x1TB RAID1+0

  3. #3
    Join Date
    May 2007
    Location
    The New Forest
    Beans
    Hidden!
    Distro
    Xubuntu

    Re: No bootloader after fedora 15 install

    Alternatively you can add ubuntu to the fedora bootloader or even install grub2 to it.

  4. #4
    Join Date
    Oct 2010
    Beans
    179

    Re: No bootloader after fedora 15 install

    I followed the guide YesWeCan posted, and used Boot Repair and ran the First Repair option. Now when I boot up, I have grub again, but no option listed for Fedora, only Ubuntu. I was going to run the Second Repair option, but evidently I have to remove all my GRUB 2 files from /boot/grub. Then it nicely tells me that my system would be then unbootable if i don't install another bootloader. I thought this was implying that it was going to re-install grub, but i'd rather not take my chance.

    So I don't think I can add Ubuntu to Fedora's loader now, because I can't get into Fedora anymore.

    I'm still hopelessly lost.
    It felt like judgment, but it was only rain.

  5. #5
    Join Date
    Jan 2007
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: No bootloader after fedora 15 install

    jfed,

    For now, just don't do anything rash. Someone familiar with Fedora's boot process will come along and either tell you what to put in the Grub 2 40_custom file or how to chainload into Fedora's boot loader so you will be able to get a working Fedora menuentry in the Grub 2 menu.
    New to Wayland.

    Retired.

  6. #6
    Join Date
    Oct 2010
    Beans
    179

    Re: No bootloader after fedora 15 install

    Well if you insist. I have no problem wiping my disk and reinstalling both operating systems, because it seems the root of my problem stems from installing Fedora incorrectly. Or I could just wait like you said.
    It felt like judgment, but it was only rain.

  7. #7
    Join Date
    Jan 2007
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: No bootloader after fedora 15 install

    Quote Originally Posted by jfed View Post
    Well if you insist. I have no problem wiping my disk and reinstalling both operating systems, because it seems the root of my problem stems from installing Fedora incorrectly. Or I could just wait like you said.
    It's obviously up to you, and how much time you want to spend either waiting or reinstalling.

    You could do a search for "Fedora menuentry" and you would probably find an example of what to put in /etc/grub.d/40_custom. Since 'menuentry' is unique to Grub 2 and not Grub legacy, you would probably find an example if it can be done this way.

    If you find one, you would just need to change the 'set root' line to the proper drive/partition and edit the 'linux' line to make sure the UUID or other reference pointed to the correct partition.
    New to Wayland.

    Retired.

  8. #8
    Join Date
    Oct 2010
    Beans
    179

    Re: No bootloader after fedora 15 install

    Would it be possible to just delete my Fedora partition all together using a program like gparted? That way I could just go back to using Ubuntu alone, and perhaps try Fedora some other time.

    By the way, thanks for all your help.
    It felt like judgment, but it was only rain.

  9. #9
    Join Date
    Oct 2009
    Beans
    2,199
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: No bootloader after fedora 15 install

    Hi again. fedora 15 uses LVM and this makes it is easy for update-grub to recognize it. You have to install LVM in Ubuntu first and have it activate the fedora volumes.

    sudo apt-get install lvm2
    sudo vgchange -ay
    sudo update-grub
    sudo grub-install /dev/sda (assuming your disk is named sda)

    and watch the output of update-grub to see that it lists fedora
    ASRock P67 Extreme6, Intel i5 2500K, 8GB RAM, nVidia 6600GT, 4x1TB RAID1+0

  10. #10
    Join Date
    Oct 2010
    Beans
    179

    Re: No bootloader after fedora 15 install

    Really? Thats it?

    And yes, I believe my hard drive is /sda. I can just make sure through gparted.

    Well, I'll do that. And report back here, hopefully this will fix my problem. Thanks for all your help!

    EDIT
    Okay well everything was going great, I ran all the commands you said to. And I did watch the output from update-grub, and sure enough, Fedora was listed! Yay me. So then I ran grub-install, and it told me the installation failed, and said there was also no error report. "Great." I thought. I actually posted that here, but then I decided to just give my computer a reboot, and there it was.A Fedora option listed at the bottum of my boot menu. So in other words, everything is solved.

    Thanks everyone for helping me so much, especially you YesWeCan.
    Last edited by jfed; August 18th, 2011 at 04:24 PM.
    It felt like judgment, but it was only rain.

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

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