On 10-08-2020 15:06, Carlos E. R. wrote:
On 10/08/2020 14.02, Carlos E. R. wrote:
On Monday, 2020-08-10 at 13:37 +0200, Carlos E. R. wrote:
...
reboot
It booted, but look:
Telcontar:~ # efibootmgr -v BootCurrent: 0000 Timeout: 1 seconds BootOrder: 0000,0001,0004 Boot0000* main_opensuse-secureboot HD(1,GPT,800b649f-a2e3-4dad-b2bf-b7ecc5ef11d8,0x800,0xfa000)/File(\EFI\MAIN_OPENSUSE\SHIM.EFI) Boot0001* UEFI OS HD(1,GPT,800b649f-a2e3-4dad-b2bf-b7ecc5ef11d8,0x800,0xfa000)/File(\EFI\BOOT\BOOTX64.EFI)..BO Boot0004 opensuse HD(1,GPT,800b649f-a2e3-4dad-b2bf-b7ecc5ef11d8,0x800,0xfa000)/File(\EFI\OPENSUSE\GRUBX64.EFI)..BO Telcontar:~ # rcgpm start Telcontar:~ #
WTF!?
Telcontar:~ # l /boot/efi/EFI/boot/ total 3736 drwxr-xr-x 2 root root 8192 Mar 20 23:57 ./ drwxr-xr-x 6 root root 8192 Aug 10 13:52 ../ -rwxr-xr-x 1 root root 1158688 Mar 22 00:46 MokManager.efi* -rwxr-xr-x 1 root root 1208968 Mar 22 00:46 bootx64.efi* -rwxr-xr-x 1 root root 358768 Mar 17 04:18 fallback.efi* -rwxr-xr-x 1 root root 150 Mar 22 00:46 grub.cfg* -rwxr-xr-x 1 root root 1062752 Mar 22 00:46 grub.efi* Telcontar:~ #
Who is doing that!? I had to disable that "UEFI OS" inside the BIOS setup to make stick. What "efibootmgr" does, something else reverts.
Maybe the name "main_opensuse-secureboot" is too long or has invalid chars?
Telcontar:~ # efibootmgr -v BootCurrent: 0000 Timeout: 1 seconds BootOrder: 0000,0001 Boot0000* main_opensuse-secureboot HD(1,GPT,800b649f-a2e3-4dad-b2bf-b7ecc5ef11d8,0x800,0xfa000)/File(\EFI\MAIN_OPENSUSE\SHIM.EFI) Boot0001 UEFI OS HD(1,GPT,800b649f-a2e3-4dad-b2bf-b7ecc5ef11d8,0x800,0xfa000)/File(\EFI\BOOT\BOOTX64.EFI)..BO Telcontar:~ #
Notice the "BootOrder: 0000,0001", it still lists 0001, although disabled.
All things you don,t want It has to do with errors an default in uefi. Boot/bootx64.efi is the fallback mode I wil give you my script as an example How to use efibootmgr. __________ #!/bin/bash # #efivar script # clear # set -x # #variables # # Delete first old entry's # efidev=/dev/nvme0n1 #disk met de efi partitie # # Set efi varabelen (boot entry in uefi) # efibootmgr -c -l \\EFI\\refind\\refind_x64.efi -L refind -d $efidev #0 efibootmgr -c -l \\EFI\\leap152\\grubx64.efi -L leap152 -d $efidev #1 efibootmgr -c -l \\EFI\\leap151\\grubx64.efi -L leap151 -d $efidev #2 efibootmgr -c -l \\EFI\\tumbleweed\\grubx64.efi -L tumbleweed -d $efidev #3 # efibootmgr --bootorder 1,2,3,0 # # efibootmgr -b 6 -B #delete entry 6 # delete of efi variables Regards, -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org