New
#1
UEFI Boot problem after bcedit command
I 'm afraid that I've made a mess in the UEFI of my laptop, that can't be fixed. The history is the following:
I had a dual boot setup, Windows 10 and Ubuntu, but I wasn't using the linux for a long time. Now I will need to use it again, so I decided to remove the old one (version 14) and install the most recent version.
I followed the steps in this tutorial: How To Remove Ubuntu From A Computer Dual Booting With Windows 10 (UEFI only) Everyday Linux User
In short:
sudo efibootmgr
sudo efibootmgr -0 1, to make windows the default boot (I guess it is here that the mess starts, beacuse I put only windows in the boot list)
Then I deleted the ubnutu from EFI partition.
So far no problems. I was able to remove Ubuntu from booting, and was able to boot into Windows 10.
But when I tried to boot trough a DVD to install the new Ubuntu version, nothing happened. In the boot order menu in the UEFI there was only one one option, Windows Boot Manager, and no other driver (DVD, HD, USB, etc.). There's also no option to add new drives from the UEFI menus.
Searching in the internet for how to enable to boot from DVD again I haven't found no solution that resolved my problem.
Then comes the big mess. After a couple of hours without no results, I found a post where it was used the following command in Windows prompt:
bcdedit /set {bootmgr} path \EFI\refind\refind_x64.efi
I don't know why, but I just executed the command without further reading.
Now I simply can't boot. It says all boot options are tried, but none succeeded.
I tried to use the laptop's recovery, to restore it to factory conditions, but it had no effect on this issue.
Anyone can help me? Does it have a way to solve or I simply "killed" the laptop?
And if I can make the computer bootable again, how do I add new boot options to the UEFI?
Thanks in advance and sorry for any english mistakes.