[Bug 1167933] New: Error when running grub2-install --target=i386-efi (snapshot 20200325)
http://bugzilla.opensuse.org/show_bug.cgi?id=1167933 Bug ID: 1167933 Summary: Error when running grub2-install --target=i386-efi (snapshot 20200325) Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: x86-64 OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Bootloader Assignee: jsrain@suse.com Reporter: nwr10cst-oslnx@yahoo.com QA Contact: jsrain@suse.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0 Build Identifier: This is running in a KVM virtual machine (64-bit), where I am using the 32-bit efi firmware: UEFI i686: /usr/share/qemu/ovmf-ia32-code.bin Because this is not fully supported by openSUSE, I manually reinstall grub when I see that it has been updated. That usually goes smoothly. But this time, it produced an error: ---- begin transcript ---- # grub2-install --target=i386-efi Installing for i386-efi platform. Could not delete variable: Invalid argument grub2-install: error: efibootmgr failed to register the boot entry: Block device required. ---- end transcript ---- As a crosscheck, I ran "efibootmgr" ---- begin transcript ---- # efibootmgr BootCurrent: 0001 Timeout: 0 seconds BootOrder: 0001,0000,0009 Boot0000* UiApp Boot0001* opensuse Boot0009* EFI Internal Shell ---- end transcript ---- The needed entry for "opensuse" is there. However, it was already there previously, so it is possible that the call to "efibootmgr" failed. The appropriate boot files were updated (in "/boot/grub2" and in "/boot/efi/EFI/opensuse". And the system still boots. I also updated Tumbleweed in a VM using x86_64 efi. So I tried manually installing there (with "shim-install"). I did not see any comparable error message. Reproducible: Always -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1167933
Jiri Srain
http://bugzilla.opensuse.org/show_bug.cgi?id=1167933
http://bugzilla.opensuse.org/show_bug.cgi?id=1167933#c1
--- Comment #1 from Neil Rickert
http://bugzilla.opensuse.org/show_bug.cgi?id=1167933
http://bugzilla.opensuse.org/show_bug.cgi?id=1167933#c2
--- Comment #2 from Neil Rickert
http://bugzilla.opensuse.org/show_bug.cgi?id=1167933
http://bugzilla.opensuse.org/show_bug.cgi?id=1167933#c3
Neil Rickert
http://bugzilla.opensuse.org/show_bug.cgi?id=1167933
http://bugzilla.opensuse.org/show_bug.cgi?id=1167933#c5
--- Comment #5 from Neil Rickert
try to delete the variable manually
That gives the same problem. See command 7# below. tw32efi.attlocal.net:croot 5# efibootmgr BootCurrent: 0001 Timeout: 0 seconds BootOrder: 0001,0000,0009 Boot0000* UiApp Boot0001* opensuse Boot0009* EFI Internal Shell tw32efi.attlocal.net:croot 6# efibootmgr -b 1 -B Could not delete variable: Invalid argument tw32efi.attlocal.net:croot 7# rm Boot0001* rm: cannot remove 'Boot0001-8be4df61-93ca-11d2-aa0d-00e098032b8c': Invalid argument tw32efi.attlocal.net:croot 8# ls -l Boot0001* -rw-r--r-- 1 root root 132 Apr 6 12:15 Boot0001-8be4df61-93ca-11d2-aa0d-00e098032b8c -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1167933
http://bugzilla.opensuse.org/show_bug.cgi?id=1167933#c7
--- Comment #7 from Neil Rickert
http://bugzilla.opensuse.org/show_bug.cgi?id=1167933
http://bugzilla.opensuse.org/show_bug.cgi?id=1167933#c14
--- Comment #14 from Neil Rickert
BTW, Neil, what if you disable or mask systemd-hibernate service?
It seems to already be disabled. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1167933
http://bugzilla.opensuse.org/show_bug.cgi?id=1167933#c15
--- Comment #15 from Neil Rickert
We do not support mixed mode ( 32-bit EFI firmware + 64-bit openSUSE )
Yes, I am aware of that. However, it seems to me that you also do not support pure 32-bit mode with EFI. The Tumbleweed 32-bit installer has no provision for EFI booting. However, hardware exists with 32-bit EFI booting and the Intel Atom processor. And there have been people asking how to set that up in openSUSE forum posts. So I thought it was worth experimenting. I did have to improvise in order to install. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1167933
http://bugzilla.opensuse.org/show_bug.cgi?id=1167933#c16
--- Comment #16 from Gary Ching-Pang Lin
http://bugzilla.opensuse.org/show_bug.cgi?id=1167933
Fritz Hudnut
http://bugzilla.opensuse.org/show_bug.cgi?id=1167933
http://bugzilla.opensuse.org/show_bug.cgi?id=1167933#c17
--- Comment #17 from Neil Rickert
participants (1)
-
bugzilla_noreply@novell.com