Skip to main content
99 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).
Jake Magee's user avatar
  • 1,091
69 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. ...
Dennis D's user avatar
  • 819
40 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.
Onderbetaald's user avatar
26 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 ...
Hackz's user avatar
  • 361
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-...
Thomas Pickett's user avatar
19 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 ...
Pankaj Kumar Gautam's user avatar
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-...
George Tavantzopoulos's user avatar
19 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 ...
Benoit's user avatar
  • 331
17 votes
Accepted

Move bootloader or remove efi partition in second drive

Facing the very same problem with Ubuntu 18.04, I followed PrakashS's answer while making sure the new EFI partition was mounted at /boot/efi before installing grub into it. I first created a new ...
David Oliver's user avatar
16 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 ...
muru's user avatar
  • 200k
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 /...
Mos's user avatar
  • 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, ...
Rod Smith's user avatar
  • 44.4k
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....
Yuri Sucupira's user avatar
11 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. ...
You'reAGitForNotUsingGit's user avatar
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....
LinuxNinja's user avatar
9 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. ...
AksenovAN's user avatar
  • 121
8 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 ...
Samuel Harmer's user avatar
8 votes

Grub crashes on Apt upgrade (grub-install: error: cannot find EFI directory)

The solution for me was : sudo apt remove grub-efi-amd64-signed sudo apt install grub-pc On a OVH server (kimsufi)
Pascal BRIET's user avatar
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 ...
C.S.Cameron's user avatar
  • 19.8k
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=...
kyodake's user avatar
  • 15.5k
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 ...
Rod Smith's user avatar
  • 44.4k
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. ...
Rod Smith's user avatar
  • 44.4k
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-...
Tobia's user avatar
  • 575
7 votes

Move bootloader or remove efi partition in second drive

Follow this procedure to move the boot loader: Find the UUID of /dev/sdb1 using sudo blkid (copy it) Change the UUID of boot/efi entry in /etc/fstab with that of sdb1 sudo grub-install /dev/sdb sudo ...
PrakashS's user avatar
  • 136
7 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
isienmai's user avatar
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, ...
Nmath's user avatar
  • 12.4k
5 votes

How to safely remove Windows from EFI (and GRUB)

Windows Boot Manager bootmgr, manages the boot process. UEFI-based systems contain a firmware boot manager, Bootmgfw.efi. The BCD settings for the device and path elements in Windows Boot Manager ...
kyodake's user avatar
  • 15.5k
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 ...
Paresh471's user avatar
  • 161
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 ...
Rod Smith's user avatar
  • 44.4k
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 ...
visnaut's user avatar
  • 51

Only top scored, non community-wiki answers of a minimum length are eligible