17
votes
How can I repair grub? (How to get Ubuntu back after installing Windows?)
On EFI-based systems (such as most systems that shipped with Windows 8 or later), Windows will sometimes update its boot loader or reset it to be the default boot loader. This is particularly common ...
17
votes
Accepted
Error on Ubuntu boot up - "recovering journal"
Let's first check your file system for errors. To check the file system on your Ubuntu partition:
Boot to the GRUB menu.
Choose Advanced Options.
Choose Recovery mode.
Choose Root access.
At the # ...
13
votes
Accepted
Why is "boot-repair" listed twice in the ubuntu documentation?
The last line contains two commands.
The first part installs boot-repair. (sudo apt-get install -y boot-repair)
The "&&" characters is a delimiter like ";" is, however its conditional on ...
10
votes
Grub and Ubuntu disappeared after Windows update
If you're on your Windows, search for 'Command Prompt' and run as administrator. Then, in the command line, type:
bcdedit /set {bootmgr} path \EFI\ubuntu\grubx64.efi
Then, restart and you're good to ...
8
votes
Dual boot with Windows 10 broken after update
I see this question was asked a couple of years ago. Since it comes up fairly high in the search results, I'll put in a late answer anyway. I have a dual-boot Windows/Ubuntu machine that I've been ...
7
votes
Accepted
Unable to boot newly installed Ubuntu 16.04 using UEFI mode?
Finally, I got it to boot in UEFI. The problem is with UEFI firmware which seems buggy. It does require the EFI partition to be the first one in the GPT table. The partition entries in GPT table were ...
7
votes
Cant enable gdm3 after following a tutorial on how to remove KDE from ubuntu
I faced similar type of problem. This is happened because of missing the Install in your gdm3.service file. To solve this, firstly you have to go /lib/systemd/system/ directory and then open the gdm3....
6
votes
How do I get my HP laptop to boot into grub from my new efi file?
I spent a day for the same problem and I finally solved it. The following is the exact solution. The full article for solving the problem is here Which is written by Rod Smith.
Useful information
...
6
votes
"GPT detected. Please create a BIOS-Boot partition" while using boot-repair
You can handle this issue as follows:
Start Gparted.
Identify the boot partition. Mine is the first 16.00MiB on my system disk.
Delete the partition (you will not want to delete the wrong partition ...
6
votes
Accepted
Can I remove Windows Boot Manager from dedicated Ubuntu computer?
It is normal to have two ubuntu entries. One is shim and the other grub. You can see the details of each with :
sudo efibootmgr -v
You can delete the /EFI/Microsoft folder in the ESP - efi system ...
6
votes
dual boot problem after using os-uninstaller
You have an UEFI system and UEFI install, but somehow converted the ESP - efi system partition sda2 from FAT32 to NTFS. It must be FAT32 with boot flag to be seen as ESP.
And now all references to ...
6
votes
Getting grub menu to work on dual boot Ubuntu 22.04 Windows 11. Currently boots in a loop
Ubuntu 22.04 comes with Grub 2.06 and on this version, the OS Prober is set to 'disable' by default which means you won't find the other OSes such as Windows on the Grub prompt as before. So here's a ...
5
votes
Accepted
How to disable hibernation and fastboot from windows so dual boot works in Ubuntu 14.04
Boot into Windows, disable hibernation and Fast Boot.
Open command prompt as administrator and execute:
powercfg /h off
Open the "old" version of Windows Control Panel.
Go to the Power Settings ...
5
votes
How can I repair grub? (How to get Ubuntu back after installing Windows?)
It turns out grub can be fixed from Windows too. Running the following (as administrator) from CMD brought the grub menu back for me.
bcdedit /set {bootmgr} path \EFI\ubuntu\grubx64.efi
5
votes
How can I repair grub? (How to get Ubuntu back after installing Windows?)
Answers given by Scott and Web-E are good enough and have helped a lot many times. But many a times, the boot-repair tool is not able to repair grub due to problems related to i386 and amd64 platform ...
5
votes
Accepted
Ubuntu 16.04 won't boot when installed after Windows 10
I have finally managed to get into GRUB and boot to Ubuntu (Windows 10 works too!). Basically, I have followed this video (the part interesting for me starts about 5:50). In case of video take down, ...
5
votes
Accepted
Problem with dual boot Win 10 | boot-repair unsuccessful
I had a similar issue. My EFI partition had a hidden flag, for some reason. After removing that flag (using GParted) boot-repair worked.
5
votes
Accepted
Will OS-Uninstaller delete my data?
OS-Uninstaller does not uninstall any other operating systems except for the OS that is selected to be uninstalled, but if you choose to uninstall an OS it will remove everything on that partition ...
4
votes
How can I repair grub? (How to get Ubuntu back after installing Windows?)
Scott Severance's answer is valid and detailed but there is a resolution that requires no external boot device and so no need to identify and manually mount all of your Ubuntu partitions leading up to ...
4
votes
Why isn't boot-repair in the official Ubuntu repositories?
According to a Launchpad bug page, it needs a sponsor to upload it to the Ubuntu and Debian repositories. I read down the thread a bit and, while its rather old, it seems the developer still has no ...
4
votes
Accepted
Wubi installed Ubuntu 12.04 is not booting suddenly and showing GRUB prompt instead
If You have a 12.04 Live CD or bootable USB, Boot using that to Live Mode.
Then mount your 'root.disc' and 'oldroot.disc' files in two folders in Live users home folder. (I'm assuming your two files ...
4
votes
How to repair Grub if yannubuntu doesn't exist?
In my case i forgot to connect to the internet. After connecting to the wifi it worked.
4
votes
Accepted
Grub and Ubuntu disappeared after Windows update
Windows 10 Anniversary Update, and I understand that Windows 10 Creators Update is the same, both can delete Linux partitions for no particular reason. It's not fully understood what factors trigger ...
3
votes
Unable to install boot-repair
wilmc's answer didn't work for me, but it was on the right track which helped me find the answer. This is what I did to get this to work.
First, type in these commands:
cd /etc/apt/sources.list.d
...
3
votes
Dual boot Win 8 / Ubuntu loads only Win
The answer above didn't work for my friend's HP Pavilion, but I found a decent workaround. It seems that HP's firmware always overwrites the BootOrder on every boot and sets Windows first, but it ...
3
votes
How do I get my HP laptop to boot into grub from my new efi file?
On my HP laptop I did as follows, step by step:
1 - Boot into ubuntu with F9
2 - Check where Windows boot loader is located
sudo efibootmgr -v
In my case /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
...
3
votes
Accepted
Boot-Repair gets a kernel-panic while scanning the system
This is a known bug with older versions of the kernel, caused by the driver for the Realtek RTL8821AE WiFi card. Unfortunately, the ISO file which you can download from Sourceforge uses a kernel which ...
3
votes
Accepted
boot repair disk not loading - boots into black screen
NVIDIA GEFORCE GTX 970 is a quite new graphics adapter, which often has compatibility issues with the open source nouveau drivers. Boot from the USB drive - once the GRUB menu appears, press the E key ...
3
votes
Accepted
Transfer Ubuntu to new, smaller disk with different partition number
So I took the plunge since nobody answered and decided to give it a shot, and it worked, in the end. Here's what I did;
I plugged my new SSD in via USB.
Opened gparted and went to my 1TB, right-...
3
votes
Wubi installed Ubuntu 12.04 is not booting suddenly and showing GRUB prompt instead
I was able to fix my problem. I have adopted half of the trick suggested by Anwar and rest I tried with my own as given below. Hope it can help others. I don't know technically correct it is, but it ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
boot-repair × 917grub2 × 402
boot × 391
dual-boot × 386
uefi × 153
partitioning × 79
bootloader × 62
windows-10 × 57
windows × 46
windows-8 × 45
14.04 × 44
grub-efi × 44
windows-7 × 42
12.04 × 36
16.04 × 34
20.04 × 34
grubrescue × 32
18.04 × 31
live-usb × 27
system-installation × 26
bios × 20
kernel × 18
upgrade × 16
installation × 13
hard-drive × 13