I have an acer laptop (originally came with Windows) with InsydeH20 Setup Utility as the F2 menu. As a newb to Linux, I installed Ubuntu Desktop and I regretted adding disk encryption and I figured out quickly that it wasn't easy, so I just wiped the drive. I set it up and had to add a 'Trusted UEFI file to execute' with F2 by adding EFI/ubuntu/shimx64.efi
as UbuntuFS
.
Now, when I press F2 and navigate to 'Boot', I see an entry for my old Ubuntu FS as EFI File Boot 0: UbuntuFS
. I'd like to remove that.
I have seen two answers already telling me to use a USB or CD to use Terminal and sudo efibootmgr -b x -B
and it will NOT go away. I installed Ubuntu a second time and tried setting the UEFI Trusted file (what I did the first time) but it said 'Boot Description is exist'. It actually showed two options, one named ubuntu
and UbuntuFS
so I removed both. Using F12 to boot onto 'UbuntuFS' also says there's nothing to boot to.
So, can I reset my BIOS or UEFI to at least reset or preferably remove the boot priority to remove 'UbuntuFS' from my boot list? Boot mode is UEFI and Secure Boot is on. The EFI File appears as the last option in priority. Currently, the laptop is in an unusable state and only has access to my bootable USB, bios menu, and has an EFI option for a OS that is no longer on my HDD.
I have seen:
- https://techlibrary.hpe.com/docs/iss/proliant_uefi/UEFI_Edgeline_103117/s_deleting_boot_option.html (What is this referring to?)
- https://askubuntu.com/a/63613 (Tried, did not remove option from F2 menu. Also have seen many other answers based around
efibootmgr
)
I have wasted time with:
- Removing the CMOS and Laptop battery to wipe BIOS (doesn't do anything) (Attempt to wipe boot options)
- Running between Windows 10 and Linux install USBs to delete 'EFI/ubuntu' (still shows up on F2)
- Tried 'bcdedit /enum' and 'bcdedit /delete' on Windows 10
- Wiped the entire HDD clean using GParted on a Linux USB, including the EFI partition
- About to try this...
Please tell me that there's something EASY for this, I've sunk way too much time figuring this out with no avail.
sudo efibootmgr
? (Edit your question and add the output). – Enterprise Aug 07 '22 at 20:27ubuntu
andUbuntuFS
, so I removed both. Then after running the instructions from the linked AU post and going back to the F2 menu and back into Linux it showsubuntu
. – SomePerson Aug 07 '22 at 21:03ubuntu
is the entry for your current OS. – Enterprise Aug 07 '22 at 22:35sudo efibootmgr
and still gotUbuntuFS
. Repeated this process twice and I still see it. – SomePerson Aug 08 '22 at 00:13