79
votes
How to return from grub prompt to the grub menu?
Type normal, hit Enter, and then tap Esc until the menu is displayed. Hitting Esc at this point won't drop you to the grub command prompt (so don't worry about hitting Esc too many times).
- 891
70
votes
Accepted
accidentally deleted EFI partition, system is still running!
Thanks to ubfan1, I was able to repair and reboot. I followed these steps:
Recreate a partition using GParted in the "unallocated" section created by deleting the original EFI partition.
...
- 801
38
votes
How to return from grub prompt to the grub menu?
Executing the normal command brought me back to the grub menu.
I found this command (and others) by pressing Tab in the grub CLI.
- 531
23
votes
Ubuntu 20.04 Upgrade failure concerning grub-efi-amd64-signed
I used:
apt list --upgradable to get list of packages that needed to be upgraded:
Listing... Done
grub-common/focal-updates 2.04-1ubuntu26.11 amd64 [upgradable from: 2.04-1ubuntu26.9]
grub-efi-amd64-...
- 231
21
votes
accidentally deleted EFI partition, system is still running!
@Dennis D, just to complete your answer, not everybody will have another machine with *nix.. so
recreate a partition using Gparted in the "unallocated" section
created by deleting the ...
- 311
19
votes
Accepted
Errors during upgrade from 17.10 to 18.04 (shim-signed and grub-efi-amd64-signed)
I had the exact same error. The solution I found in order to upgrade the remaining last 2 packages was:
sudo su -
cd /boot/efi/EFI
mv ubuntu ubuntu-old
apt install -f
mv ubuntu-old ubuntu
update-...
18
votes
Accepted
Remove Windows entry in GRUB menu
Open terminal (Alt+Ctrl+T) and follow the below procedure :
Paste the following command in terminal sudo gedit /etc/default/grub. It will open a file named /boot/grub/grub.cfg file.
Add ...
- 1,062
15
votes
Accepted
Does this answer work for UEFI computers?
If you have EFI, then there will be an EFI System Partition (ESP) on the disk. This partition has to be mounted on /boot/efi, so that GRUB can use it. The partition:
is formatted FAT32,
is usually ...
- 190k
13
votes
Accepted
Impossible to update UEFI dbx
I had a similar problem on my Dell 5820 under Ubuntu 22.04. I suggest checking whether the binary is used.
To do this I suggest to check whether the file /boot/efi/EFI/Boot/shimx64.efi is listed in ...
- 146
12
votes
Add grub menu for OS X
Adding the following codes to /etc/grub.d/40_custom file worked fine for me:
menuentry "OS X" {
insmod hfsplus
search --set=root --file /System/Library/CoreServices/boot.efi
chainloader /...
- 191
12
votes
Accepted
Can I safely remove grub after installing rEFInd?
The short answer is "yes, you can safely remove GRUB if rEFInd works for you." There are some caveats, though. Most notably, it's always possible that something in the future will break. For instance, ...
- 43.2k
12
votes
How do I get the grub menu to show on a MacBook?
SHORT ANSWER
This workaround worked on my 13" Apple Macbook Pro mid-2009 running 64-bit XUbuntu 20.04:
Create a LiveCD of the *Ubuntu (i.e. Ubuntu, XUbuntu, KUbuntu...) distribution just in case....
- 944
11
votes
Accepted
Put old SSD with Win10 Installed into laptop with Linux and boot Windows?
I booted into Win10 and it worked fine (with my login and all). Didn't get any errors about invalid license due to different hardware. Before I booted, I ran sudo update-grub with both disks installed....
- 197
10
votes
Accepted
Restore Apple bootloader on an (Intel) Mac after an update-grub was run by an external Ubuntu installation
(Scroll down for the actual fix)
So things were even more complicated than it seemed at first.
In order to maintain compatibility with MS-Windows, Apple uses a hybrid UEFI and Legacy MBR mode. ...
- 14.5k
8
votes
How do I install two independent Ubuntu installations on a single hard drive with UEFI?
I have two suggestions...
Option #1: Separate ESPs
Under EFI, the boot loader resides on "the" EFI System Partition (ESP). I put the word "the" in quotation marks because there's no rule that says ...
- 43.2k
8
votes
Unable to boot Windows 8 after Ubuntu installation
My solution to fix the problem is as follows:
Go to bios menu by selecting system setup. Press right arrow to change tabs until you come across secure boot. if it is enabled then disable it. If this ...
- 294
8
votes
Accepted
Installing Ubuntu 20.04 to a USB pen drive (256 GB) with NVIDIA Drivers
Ubuntu 20.04 USB that boots both BIOS and UEFI with Nvidia, AMD and Standard GPU Drivers. Step by Step
Create Full Install of Ubuntu 20.04 to USB that works in both BIOS and UEFI modes using the ...
- 18.3k
7
votes
Accepted
Grub loader always takes 10 seconds
You have enabled GRUB_HIDDEN_TIMEOUT_QUIET, but you haven't specified the timeout length of it (GRUB_HIDDEN_TIMEOUT=0is commented). This is why it is reverting back to 10 seconds.
Because ...
- 280
7
votes
Accepted
grub-install: error: cannot find EFI directory
Try this:
Boot the Ubuntu Live Usb-Dvd.
Open a terminal,Press Ctrl+Alt+T
Run it:
sudo -i
mount /dev/sda2 /mnt
mount /dev/sda1 /mnt/boot/efi
grub-install --boot-directory=/mnt/boot --bootloader-id=...
- 14.8k
7
votes
How to check if I'm using GRUB-EFI or GRUB-PC?
See this question to determine how your computer was booted:
How can I tell if my system was booted as EFI/UEFI or BIOS?
This isn't quite the same as the question you asked, which is why I'm not ...
- 43.2k
7
votes
Accepted
rEFInd: very slow boot when using EFI Stub Loader
I'm rEFInd's maintainer.
This is a filesystem driver issue. For reasons I don't fully understand, some of rEFInd's filesystem drivers (especially the ext2_x64.efi driver) are slow on some computers. ...
- 43.2k
7
votes
Accepted
How can I prevent grub updates from resetting my EFI bootorder
sudo dpkg-reconfigure grub-efi-amd64
For the first couple of questions accept the existing values (just press Enter) but when it comes to this, select No:
+----------------------| Configuring grub-...
- 453
7
votes
Put old SSD with Win10 Installed into laptop with Linux and boot Windows?
I call this a "Frankenstein" build.
You're taking the brains from one machine and putting it into an entirely different machine.
It might work and it might not. It also might appear to work, ...
- 11.6k
6
votes
Accepted
What does "--no-nvram" do while installing grub?
With BIOS, the motherboard stores the order of physical devices to boot from in non-volatile memory (NVRAM) so it survives a reboot. This ensures when you turn the machine on the motherboard still ...
- 382
6
votes
Accepted
grub-install fails on ubuntu 20.04.1
Running "grub-install --no-nvram" seems to have fixed it for me.
Solution taken from https://bugs.launchpad.net/ubuntu/+source/grub2-signed/+bug/1872212
- 76
6
votes
Accepted
Installing Ubuntu on MacBook Pro 2019 with macOS Big Sur
To install a solid Ubuntu with working grub, mouse, touchpad and wi-fi on MacBook with said configuration I have used a distribution from GitHub repo, where Ubuntu versions for T2 MacBook are posted. ...
- 91
5
votes
Accepted
Restore /boot/efi
UPDATE: since /boot/efi became corrupted I slapped together a vulgar script to recreate /boot/efi. Use at your own risk!
After finding the message above (by entering the manual recovery commandline ...
- 281
5
votes
UBUNTU 16.04 ERROR INSTALLING GRUB
The solution for dual boot Windows 10 and Ubuntu 16.04 is a bit tricky because it is somewhat hardware dependent.
See this link for detailed answer and general explanation.
See this link for the ...
- 151
5
votes
I have 2 EFI partitions on 2 separate drives. How do I combine them?
Short answer:
Overall, this is a Windows problem, so I recommend asking about it on a Windows forum. A quick Google of your error message produced several hits, like this one. I recommend against ...
- 43.2k
5
votes
How do I get the grub menu to show on a MacBook?
I'm experiencing the same issue with 20.04 on a MacBook Pro 5,5 (13" Mid-2009). Booting from the Ubuntu Live USB installer displays the grub graphical menu absolutely fine.
A workaround that is ...
- 51
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
grub-efi × 600grub2 × 242
dual-boot × 229
uefi × 194
boot × 190
partitioning × 51
bootloader × 49
windows-10 × 45
boot-repair × 40
system-installation × 39
18.04 × 24
16.04 × 23
windows-8 × 23
20.04 × 21
grubrescue × 19
windows × 17
14.04 × 16
mac × 15
apt × 13
live-usb × 13
12.04 × 12
bios × 12
secure-boot × 12
usb × 11
hard-drive × 11