After installing Ubuntu from USB, GRUB2 can't be installed!

24,098

your best bet to install grub2 is Boot-Repair tool.

enter image description here

Boot-Repair is a simple tool to repair frequent boot issues you may encounter in Ubuntu like when you can't boot Ubuntu after installing Windows or another Linux distribution, or when you can't boot Windows after installing Ubuntu, or when GRUB is not displayed anymore, some upgrade breaks GRUB, etc.

How to install?

sudo add-apt-repository ppa:yannubuntu/boot-repair && sudo apt-get update
sudo apt-get install -y boot-repair

How to run?

boot-repair

How to use?

enter image description here

enter image description here enter image description here enter image description here enter image description here

more info here.

Share:
24,098

Related videos on Youtube

AliAlghamdi
Author by

AliAlghamdi

Updated on September 18, 2022

Comments

  • AliAlghamdi
    AliAlghamdi over 1 year

    Hello ladies and gentlemen! I installed Ubuntu alongside with Windows 7 using live USB.

    It wouldn't let me install GRUB, it says there's a fatal error with the partition chose. I literally chose every single partition yet it didn't work! So I chose not to install a bootloader for the sake of it's not working. Can any one help me on how to install a bootloader, I'm talking from live usb.

  • AliAlghamdi
    AliAlghamdi almost 12 years
    That's what I get! I just want to let you know that I'm behind a university proxy and the software center works just fine! Traceback (most recent call last): File "/usr/bin/add-apt-repository", line 125, in <module> ppa_info = get_ppa_info_from_lp(user, ppa_name) File "/usr/lib/python2.7/dist-packages/softwareproperties/ppa.py"‌​, line 80, in get_ppa_info_from_lp curl.perform() pycurl.error: (7, "couldn't connect to host")
  • Rahul Virpara
    Rahul Virpara almost 12 years
    try sudo add-apt-repository ppa:yannubuntu/boot-repair
  • Ryan_RCM
    Ryan_RCM almost 12 years
    Fantastic. Worked perfectly for me after upgrading Oneiric to 12.04. (I'd lost grub, and my Windows partition was no longer mapped). Thanks!
  • HappyDeveloper
    HappyDeveloper almost 12 years
    This worked for me, thanks! I just ran the "Recommended Repair". A little warning though: At some point it asked me if I wanted to continue, and recommended to backup stuff. I chose 'no' but it continued nevertheless.