Wednesday, May 1, 2024
 Popular · Latest · Hot · Upcoming
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 802  / 1 Year ago, sun, march 12, 2023, 2:09:02

I recently uninstalled Ubuntu from my dual boot, so I could change some partition stuff, but even after deleting the ubuntu folder from the EFI folder, a blank entry still appeared on the boot menu. I tried to reinstall Ubuntu with my new partition setup, but it gave me an error relating to grub fails to install. I’m not sure why I got this error saying that I deleted it from the system partition. If I try to boot into the new Ubuntu boot entry I get greeted with the grub Bash, rather than a boot menu. Any ideas on how to fix this?


More From » dual-boot

 Answers
3

Okay, so after doing a bit of research, I couldn't find a definitive answer to fix these problems, but if you want to reinstall Ubuntu without getting the GRUB2 error I found a way to fix that.


After getting the error, reboot the computer, and enter the Live CD environment. This is because I've had issues unmounting the /target folder, so a reboot is an easy fix.


Then, install the Boot Repair app by using these commands:


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

After install it, run the app:


sudo  boot-repair

Make sure to go into advanced options and verify that the GRUB2 and operating system partition locations are correct, or else the app might not work correctly. Follow the instructions in the app until it says you are safe to reboot.


[#1375] Monday, March 13, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
eeperant

Total Points: 39
Total Questions: 106
Total Answers: 117

Location: Finland
Member since Sat, Dec 5, 2020
3 Years ago
;