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

Thread: 11.10 clean install fails to install GRUB2 in /dev/sda2

  1. #1
    Join Date
    May 2009
    Beans
    8

    11.10 clean install fails to install GRUB2 in /dev/sda2

    I tried to install Ubuntu 11.10 amd64 on my notebook, but installation fails to install GRUB2 in custom location.

    My drive:
    sda
    sda1: win7 truecrypt wde (raw)
    sda2: /boot (ext2)
    sda5: / (ext4)
    sda3: truecrypt (raw)

    First I tried using Alternate CD and at the end it says it can't see other operating systems and suggests to install into MBR, I select no and specify /dev/sda2, it fails to install grub and finishes installation.
    Then I tried using Desktop CD (clean install again) and at the grub installation screen I select from the dropdown menu "sda2" and again it fails to install grub.

    Code:
    Unable to install GRUB in /dev/sda2
    Executing 'grub-install/dev/sda2' failed
    This is fatal error
    OK
    Are there any changes since 11.04, since I successfully installed 11.04 from alternate CD, installing grub to sda2 and then upgraded to 11.10 and it works.
    But how to go about fresh install using 11.10 CD's? Is this a bug that is now too late to mention?

  2. #2
    Join Date
    Mar 2006
    Beans
    8,348

    Re: 11.10 clean install fails to install GRUB2 in /dev/sda2

    I hope this will be helpful to you.
    There is no greater religion than a truth.

  3. #3
    Join Date
    May 2009
    Beans
    8

    Re: 11.10 clean install fails to install GRUB2 in /dev/sda2

    Thanks for the reply, I tried to boot Boot-Repair CD but in GRUB options tab, place GRUB into:, sda is the only option.
    So I'm not sure how would I repair failed 11.10 GRUB install using this Boot-Repair CD.

    (not my pic)


    I simply need to install GRUB to sda2, I think that is the only option for me.

    Is this a bug that made it to final release, can anyone confirm this?

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

    Re: 11.10 clean install fails to install GRUB2 in /dev/sda2

    Use the last option. Answered in the other thread.
    Back to Xorg...

    Retired.

  5. #5
    Join Date
    May 2009
    Beans
    8

    Re: 11.10 clean install fails to install GRUB2 in /dev/sda2

    The last option lists sda5 in my case, not sda2.

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

    Re: 11.10 clean install fails to install GRUB2 in /dev/sda2

    Quote Originally Posted by EC120 View Post
    The last option lists sda5 in my case, not sda2.
    You might be able to get an option for sda2 by running this command:
    Code:
    sudo dpkg-reconfigure grub-pc
    TAB to OK, and the last screen will ask where you want to install it. It will show the MBR(s) and partition(s). You select/deselect the specific location with the spacebar. Perhaps sda2 will display via this method.
    Back to Xorg...

    Retired.

  7. #7
    Join Date
    May 2006
    Location
    Norway
    Beans
    9
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: 11.10 clean install fails to install GRUB2 in /dev/sda2

    I have the same problem. Reinstalled an ubuntu 11.04 with 11.10. Will not install grub on any of my discs.

    Will try the solution suggested earlier.


    Kind Regards
    Brut.

  8. #8
    Join Date
    May 2009
    Beans
    8

    Re: 11.10 clean install fails to install GRUB2 in /dev/sda2

    Thanks drs305 for your suggestion.
    When I tried this command on a working ubuntu installation on other computer, I get those options on a third screen, but this installation does not work since it boots to grub> So I tried the command in live CD session, but I only get first 2 screens and then it exits to command prompt without giving me the choice to select the partition.
    I still have a lot of learning to do, and this install problem is not really critical for me, more of an experiment with 11.10. And if it is in fact a bug, as I think it is, it will not get fixed anyway till 12.04 cd's are released. For now I'm staying with 11.04 for my working system.

  9. #9
    Join Date
    May 2009
    Beans
    8

    Re: 11.10 clean install fails to install GRUB2 in /dev/sda2

    I tried 12.04 both Alpha 1 & Alpha 2 and neither could install grub.
    The solution is that the target partition must not be ext2.
    During installation I format sda2 (/boot) as ext4 and now it works with 11.10 and also 12.04.
    Can't believe how easy the solution was. If the installer would inform about this fact that would be great, instead of just stating that grub installation failed.

  10. #10
    Join Date
    Feb 2012
    Beans
    14

    Re: 11.10 clean install fails to install GRUB2 in /dev/sda2

    I believe this error occurs because the installer defaults to /dev/sda even if that is not the drive you have selected to install on. My machine has 3 drives in it and /dev/sdc was the one I was installing on but the installer still tried to put it on sda. Click on the custom partitions options and select the proper drive. Then just back out and continue. Installer had the grub drive showing correctly after this and the install went fine. I hope that helps.

Page 1 of 2 12 LastLast

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
  •