fedora – Missing Ubuntu and Windows entries in UEFI boot menu

I encountered an issue where my Ubuntu and Windows entries were missing from the UEFI boot menu after installing Fedora in Legacy mode. I attempted to use the Boot Repair tool in Ubuntu to fix the problem, but it failed with an error message stating “Error: NVRAM is locked” and “ubuntu not found in efibootmgr.”

I recently installed Fedora in Legacy mode on my Lenovo IdeaPad 330 15IKBR laptop, and as a result, the entries for Ubuntu and Windows disappeared from the UEFI boot menu. I tried using the Boot Repair tool in Ubuntu (running from a live Linux USB) to fix the issue, but it encountered an error with the message “Error: NVRAM is locked” and “ubuntu not found in efibootmgr.”

Here are the steps I’ve taken so far:

  1. Installed Fedora in Legacy mode alongside Ubuntu and Windows.
  2. Noticed that the Ubuntu and Windows entries were missing from the UEFI boot menu.
  3. Used the Boot Repair tool in Ubuntu to repair the boot loader.
  4. Encountered the error “Error: NVRAM is locked” and “ubuntu not found in efibootmgr.”

After that, I’ve taken some other steps:

I am currently running a live Linux USB in UEFI mode and have encountered issues when trying to add UEFI entries for Ubuntu and Windows via the terminal.

  1. Installed the efibootmgr package using apt-get.
  2. Attempted to create UEFI entries for Ubuntu and Windows using the efibootmgr command.
  3. Verified the entries using efibootmgr and confirmed that they were present.
  4. However, after rebooting the system, the UEFI options did not display the desired entries.

I really don’t know what to do anymore.

Read more here: Source link