After installing Ubuntu from USB, GRUB2 can't be installed!
your best bet to install grub2 is Boot-Repair
tool.
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?
more info here.
Related videos on Youtube
AliAlghamdi
Updated on September 18, 2022Comments
-
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 almost 12 yearsThat'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 almost 12 yearstry
sudo add-apt-repository ppa:yannubuntu/boot-repair
-
Ryan_RCM almost 12 yearsFantastic. Worked perfectly for me after upgrading Oneiric to 12.04. (I'd lost grub, and my Windows partition was no longer mapped). Thanks!
-
HappyDeveloper almost 12 yearsThis 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.