I recently installed Fedora on my system as a toy. As usual, my grub setup was replaced with a configuration that didn’t have openSUSE as the first OS. I decided to use efibootmgr to fix it.
efibootmgr gave me the following error message.
localhost:/boot # efibootmgr
EFI variables are not supported on this system.
localhost:/boot #
I verified that all systems have /boot/efi mounted.
localhost:/home/jc # bootctl status
systemd-boot not installed in ESP.
System:
Not booted with EFI
Available Boot Loaders on ESP:
ESP: /boot/efi (/dev/disk/by-partuuid/434be06a-6729-4f0a-9a44-715d71d72afb)
File: ├─/EFI/BOOT/bootx64.efi
├─/EFI/BOOT/fallback.efi
├─/EFI/BOOT/MokManager.efi
├─/EFI/BOOT/fbx64.efi
├─/EFI/BOOT/mmx64.efi
├─/EFI/BOOT/bkpbootx64.efi
├─/EFI/BOOT/grubx64.efi
├─/EFI/BOOT/BOOTIA32.EFI
└─/EFI/BOOT/fbia32.efi
Boot Loader Entries:
$BOOT: /boot/efi (/dev/disk/by-partuuid/434be06a-6729-4f0a-9a44-715d71d72afb)
token: opensuse-tumbleweed
0 entries, no entry could be determined as default.
localhost:/home/jc #
sbctl was also suggested. It producted the following output:
localhost:/home/jc # sbctl verify
failed to find EFI system partition
ocalhost:/home/jc # sbctl status
system is not booted with UEFI
localhost:/home/jc #
/boot/efi is mounted.
localhost:/home/jc # ls /boot/efi
EFI System mach_kernel
localhost:/home/jc #
Best next step is probably to go into UEFI BIOS setup and disable CSM (legacy/MBR) booting, to force booting only in UEFI mode, so that whatever you boot, efibootmgr can do its job.
Also provide here output from lsblk -f <device>for whichever disk(s) host some operating system, other than USB media.
tree /boot/efi may also be helpful, as your bootctl status output seems unexpectedly brief. I would have expected it to have included probably directories ubuntu, opensuse & fedora.
Try booting TW installation media with CSM disabled, selecting to boot the installed system, to run efibootmgr -v to paste here. If you can’t make that work, try booting with CSM disabled same media into rescue mode, to run efibootmgr -v to paste here.
When I boot TW 20250319 installation media (iso installed to USB) in UEFI mode, on selecting “More …” from first screen, top selection (on second screen of selections) is “Rescue System”. When boot finishes, the screen provides:
openSUSE Tumbleweed Rescue System
rescue login:
where I login as root with no password and succeed to run efibootmgr or efibootmgr -v.
Behavior and result is same with TW 20250505 on a Ventoy USB.
Best if you can make boot from installed system work, as from rescue mode, command output either needs to be written somewhere for transcription to this forum, or command output needs to be redirected to a file that can be accessed from wherever you run a browser to copy and paste here. If you find you must copy manually you can skip most of the UUID string characters, keeping just the first several characters of each to use for identification. Also you can skip lines referring to USB entries. IOW, save the first three lines of output, plus portions of any Boot…* line that includes opensuse, fedora, windows or ubuntu.