Elinvention / efiboots

Manage EFI boot loader entries with this simple GUI
GNU General Public License v3.0
138 stars 19 forks source link

After using the script, I am unable to enter the system BIOS #11

Open Konstantinusz opened 4 years ago

Konstantinusz commented 4 years ago

Hi!

I used the script to set the nextboot option to my USB DVD drive. After restart DVD wasn't booted. I restarted again, and tried to enter system BIOS, to look for the boot options. Since then I am unable to enter the BIOS any more, it simply freezes with a black screen, and a non-blinking cursor in the left top corner. I think this is a BIOS problem, though.

Elinvention commented 4 years ago

Hi, I'm sorry to hear that. Have you tried to clear CMOS, to at least restore the EFI functionality? Can you post the output of efibootmgr -v?

Konstantinusz commented 4 years ago

I can't provide the output of efibootmgr, because since then I tried to modify the NVRAM content with it several times, but without success. I didn't know either, how to do a CMOS reset on this new laptop, as I ordered it 4 days ago. Finally it turned out that I had to use these commands to restore the NVRAM content to a state, which is accepted by the malfunctioning UEFI setup utility ("BIOS setup utility"):

sudo grub-install --target=x86_64-efi --efi-directory=/efi --bootloader-id=GRUB
sudo mkinitcpio -p
sudo grub-mkconfig -o /boot/grub/grub.cfg

After that I was able to enter the BIOS setup again. However I wasn't able to login my previous linux installation after that. To do so, I had to boot the laptop from an install CD, chroot-ing to the installed OS, and issuing those 3 command again. Then I could choose the GRUB boot from the laptop's boot menu.