Hi.
After upgrading F30 to F31 I need to manually select specific efi file after each reboot to boot up Fedora system.
I read several posts and discussions, but I couldn’t take any steps to get the system to boot properly after restart without going to bios and manually selecting specific efi file. (I have not studied the uefi and the grub so far in detail so maybe it is a something in configuration but I dont know what exactly a I don
t know why it is problem after upgrade.)
My computer is HP EliteBook 850 G4. Primarily designed for Windows.
Fast boot is disabled. Legacy Support is enabled and Secure Boot disabled.
Right after reboot I see:
System BootOrder not found. Creating boot entry “Boot0012” with label “Fedora” for file “\EFI\fedora\shimx64.efi” Reset System
(Then system is rebooted and this is repeated continuously).
Then I need go to:
-
bios
-
boot menu
-
boot from file
-
efi, PciRoot(0x0)/Pci(0x1D,0x0)/Pci…/NVMe…
-
Path: \ EFI \ fedora \ grubx64.efi
And then system starts ok. A friend who install Fedora on my Windows notebook is no longer available, so I can’t tell if there is a separate partition for Windows, anyway, I don’t use it.
Can you help me fix booting for Fedora 31? Thanks.
Log of efibootmgr is attached.
So far I have tried: sudo dnf reinstall shim* grub* kernel*
but this command ended with multiple errors like error: unpacking of archive failed on file /boot/efi/EFI/BOOT/BOOTIA32.EFI;5dee3425: cpio: open
, error: shim-ia32-15-8.x86_64: install failed
(important parts of the logs are attached below)
$ sudo efibootmgr -v
BootCurrent: 000A
Timeout: 5 seconds
BootOrder: 000D,000E,000C,000B,0000,0001,0002,0003,0004,0005,0006,0007,0008,0009,000F
Boot0000 Startup Menu FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)....ISPH
Boot0001 System Information FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0002 Bios Setup FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0003 3rd Party Option ROM Management FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0004 System Diagnostics FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0005 System Diagnostics FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0006 System Diagnostics FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0007 System Diagnostics FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0008 Boot Menu FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0009 HP Recovery FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot000A* \EFI\fedora\grubx64.efi PciRoot(0x0)/Pci(0x1d,0x0)/Pci(0x0,0x0)/NVMe(0x1,00-00-00-00-00-00-00-00)/HD(1,GPT,8a088251-c7fa-4973-8e8d-84cdbf93c2e5,0x800,0x64000)/File(\EFI\fedora\grubx64.efi)....ISPH
Boot000B* INTEL SSDPEKKF512G7H-BTPY70160C3D512F BBS(HD,INTEL SSDPEKKF512G7H-BTPY70160C3D512F,0x400)/PciRoot(0x0)/Pci(0x1d,0x0)/Pci(0x0,0x0)/NVMe(0x1,00-00-00-00-00-00-00-00)......ISPH
Boot000C USB: BBS(65535,,0x0)/PciRoot(0x0)/Pci(0x14,0x0)......ISPH
Boot000D* INTEL SSDPEKKF512G7H-BTPY70160C3D512F PciRoot(0x0)/Pci(0x1d,0x0)/Pci(0x0,0x0)/NVMe(0x1,00-00-00-00-00-00-00-00)N.....YM....R,Y.....ISPH
Boot000E USB: PciRoot(0x0)/Pci(0x14,0x0)N.....YM....R,Y.....ISPH
Boot000F Network Boot FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0010* IPV4 Network - Intel(R) Ethernet Connection (4) I219-V PciRoot(0x0)/Pci(0x1f,0x6)/MAC(f430b9c7084c,0)/IPv4(0.0.0.00.0.0.0,0,0)N.....YM....R,Y.....ISPH
Boot0011* IPV6 Network - Intel(R) Ethernet Connection (4) I219-V PciRoot(0x0)/Pci(0x1f,0x6)/MAC(f430b9c7084c,0)/IPv6([::]:<->[::]:,0,0)N.....YM....R,Y.....ISPH
$ sudo dnf reinstall shim* grub* kernel*
Last metadata expiration check: 4:18:51 ago on Po 9. december 2019, 08:27:19 CET.
Dependencies resolved.
======================================================================================================================================================================================================
Package Architecture Version Repository Size
======================================================================================================================================================================================================
Reinstalling:
grub2-common noarch 1:2.02-104.fc31 updates 876 k
grub2-efi-ia32 x86_64 1:2.02-104.fc31 updates 434 k
grub2-efi-ia32-cdboot x86_64 1:2.02-104.fc31 updates 1.4 M
grub2-efi-x64 x86_64 1:2.02-104.fc31 updates 458 k
grub2-efi-x64-cdboot x86_64 1:2.02-104.fc31 updates 1.4 M
grub2-pc x86_64 1:2.02-104.fc31 updates 25 k
grub2-pc-modules noarch 1:2.02-104.fc31 updates 847 k
grub2-tools x86_64 1:2.02-104.fc31 updates 1.8 M
grub2-tools-efi x86_64 1:2.02-104.fc31 updates 469 k
grub2-tools-extra x86_64 1:2.02-104.fc31 updates 916 k
grub2-tools-minimal x86_64 1:2.02-104.fc31 updates 552 k
kernel x86_64 5.3.14-300.fc31 updates 41 k
kernel-core x86_64 5.3.14-300.fc31 updates 30 M
kernel-devel x86_64 5.3.14-300.fc31 updates 12 M
kernel-headers x86_64 5.3.11-300.fc31 updates 1.1 M
kernel-modules x86_64 5.3.14-300.fc31 updates 28 M
kernel-modules-extra x86_64 5.3.14-300.fc31 updates 1.9 M
grubby x86_64 8.40-36.fc31 fedora 38 k
shim-ia32 x86_64 15-8 fedora 599 k
shim-x64 x86_64 15-8 fedora 658 k
Transaction Summary
======================================================================================================================================================================================================
...
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Running scriptlet: grub2-common-1:2.02-104.fc31.noarch 1/1
Reinstalling : grub2-common-1:2.02-104.fc31.noarch 1/40
error: lsetfilecon: (/boot/efi/EFI/fedora, system_u:object_r:boot_t:s0) Operation not supported
Reinstalling : grub2-tools-minimal-1:2.02-104.fc31.x86_64 2/40
Running scriptlet: grub2-tools-1:2.02-104.fc31.x86_64 3/40
Reinstalling : grub2-tools-1:2.02-104.fc31.x86_64 3/40
Reinstalling : grub2-tools-extra-1:2.02-104.fc31.x86_64 4/40
Reinstalling : kernel-core-5.3.14-300.fc31.x86_64 5/40
Running scriptlet: kernel-core-5.3.14-300.fc31.x86_64 5/40
Reinstalling : kernel-modules-5.3.14-300.fc31.x86_64 6/40
Running scriptlet: kernel-modules-5.3.14-300.fc31.x86_64 6/40
Reinstalling : grub2-pc-modules-1:2.02-104.fc31.noarch 7/40
Reinstalling : grub2-pc-1:2.02-104.fc31.x86_64 8/40
Reinstalling : kernel-5.3.14-300.fc31.x86_64 9/40
Reinstalling : kernel-modules-extra-5.3.14-300.fc31.x86_64 10/40
Running scriptlet: kernel-modules-extra-5.3.14-300.fc31.x86_64 10/40
Reinstalling : grub2-efi-ia32-1:2.02-104.fc31.x86_64 11/40
error: lsetfilecon: (/boot/efi/EFI/fedora/fonts, system_u:object_r:boot_t:s0) Operation not supported
error: lsetfilecon: (/boot/efi/EFI/fedora/grubia32.efi;5dee3425, system_u:object_r:boot_t:s0) Operation not supported
Reinstalling : grub2-efi-x64-1:2.02-104.fc31.x86_64 12/40
error: lsetfilecon: (/boot/efi/EFI/fedora/grubx64.efi;5dee3425, system_u:object_r:boot_t:s0) Operation not supported
Reinstalling : grubby-8.40-36.fc31.x86_64 13/40
Running scriptlet: grubby-8.40-36.fc31.x86_64 13/40
Reinstalling : grub2-efi-ia32-cdboot-1:2.02-104.fc31.x86_64 14/40
error: lsetfilecon: (/boot/efi/EFI/fedora/fonts, system_u:object_r:boot_t:s0) Operation not supported
error: lsetfilecon: (/boot/efi/EFI/fedora/fonts/unicode.pf2;5dee3425, system_u:object_r:boot_t:s0) Operation not supported
error: lsetfilecon: (/boot/efi/EFI/fedora/gcdia32.efi;5dee3425, system_u:object_r:boot_t:s0) Operation not supported
Reinstalling : grub2-efi-x64-cdboot-1:2.02-104.fc31.x86_64 15/40
error: lsetfilecon: (/boot/efi/EFI/fedora/gcdx64.efi;5dee3425, system_u:object_r:boot_t:s0) Operation not supported
Reinstalling : grub2-tools-efi-1:2.02-104.fc31.x86_64 16/40
Reinstalling : shim-x64-15-8.x86_64 17/40
error: lsetfilecon: (/boot/efi/EFI/BOOT/BOOTX64.EFI;5dee3425, system_u:object_r:boot_t:s0) Operation not supported
error: lsetfilecon: (/boot/efi/EFI/BOOT/fbx64.efi;5dee3425, system_u:object_r:boot_t:s0) Operation not supported
error: lsetfilecon: (/boot/efi/EFI/fedora/BOOTX64.CSV;5dee3425, system_u:object_r:boot_t:s0) Operation not supported
error: lsetfilecon: (/boot/efi/EFI/fedora/mmx64.efi;5dee3425, system_u:object_r:boot_t:s0) Operation not supported
Error unpacking rpm package shim-x64-15-8.x86_64
Reinstalling : shim-ia32-15-8.x86_64 18/40
error: unpacking of archive failed on file /boot/efi/EFI/fedora/shim.efi;5dee3425: cpio: open
error: shim-x64-15-8.x86_64: install failed
Error unpacking rpm package shim-ia32-15-8.x86_64
Reinstalling : kernel-headers-5.3.11-300.fc31.x86_64 19/40
error: unpacking of archive failed on file /boot/efi/EFI/BOOT/BOOTIA32.EFI;5dee3425: cpio: open
error: shim-ia32-15-8.x86_64: install failed
Reinstalling : kernel-devel-5.3.14-300.fc31.x86_64 20/40
Running scriptlet: kernel-devel-5.3.14-300.fc31.x86_64 20/40
Cleanup : grub2-pc-1:2.02-104.fc31.x86_64 21/40
Cleanup : grub2-efi-x64-1:2.02-104.fc31.x86_64 22/40
Cleanup : grub2-efi-ia32-1:2.02-104.fc31.x86_64 23/40
Cleanup : kernel-5.3.14-300.fc31.x86_64 24/40
Running scriptlet: kernel-5.3.14-300.fc31.x86_64 24/40
Cleanup : grub2-pc-modules-1:2.02-104.fc31.noarch 25/40
Cleanup : grub2-efi-x64-cdboot-1:2.02-104.fc31.x86_64 26/40
Cleanup : grub2-efi-ia32-cdboot-1:2.02-104.fc31.x86_64 27/40
Cleanup : grub2-tools-extra-1:2.02-104.fc31.x86_64 28/40
Cleanup : grubby-8.40-36.fc31.x86_64 29/40
Cleanup : kernel-modules-extra-5.3.14-300.fc31.x86_64 30/40
Running scriptlet: kernel-modules-extra-5.3.14-300.fc31.x86_64 30/40
Cleanup : kernel-modules-5.3.14-300.fc31.x86_64 31/40
Running scriptlet: kernel-modules-5.3.14-300.fc31.x86_64 31/40
Cleanup : grub2-tools-1:2.02-104.fc31.x86_64 32/40
Cleanup : grub2-tools-minimal-1:2.02-104.fc31.x86_64 33/40
Cleanup : grub2-tools-efi-1:2.02-104.fc31.x86_64 34/40
Cleanup : grub2-common-1:2.02-104.fc31.noarch 35/40
Cleanup : kernel-headers-5.3.11-300.fc31.x86_64 36/40
error: shim-x64-15-8.x86_64: erase skipped
error: shim-ia32-15-8.x86_64: erase skipped
Cleanup : kernel-devel-5.3.14-300.fc31.x86_64 37/40
Running scriptlet: kernel-core-5.3.14-300.fc31.x86_64 38/40
Cleanup : kernel-core-5.3.14-300.fc31.x86_64 38/40
Running scriptlet: grub2-tools-1:2.02-104.fc31.x86_64 38/40
Running scriptlet: kernel-core-5.3.14-300.fc31.x86_64 38/40
grub2-editenv: error: cannot open `/boot/grub2/grubenv': Read-only file system.
Verifying : grub2-common-1:2.02-104.fc31.noarch 1/40
Verifying : grub2-common-1:2.02-104.fc31.noarch 2/40
Verifying : grub2-efi-ia32-1:2.02-104.fc31.x86_64 3/40
Verifying : grub2-efi-ia32-1:2.02-104.fc31.x86_64 4/40
Verifying : grub2-efi-ia32-cdboot-1:2.02-104.fc31.x86_64 5/40
Verifying : grub2-efi-ia32-cdboot-1:2.02-104.fc31.x86_64 6/40
Verifying : grub2-efi-x64-1:2.02-104.fc31.x86_64 7/40
Verifying : grub2-efi-x64-1:2.02-104.fc31.x86_64 8/40
Verifying : grub2-efi-x64-cdboot-1:2.02-104.fc31.x86_64 9/40
Verifying : grub2-efi-x64-cdboot-1:2.02-104.fc31.x86_64 10/40
Verifying : grub2-pc-1:2.02-104.fc31.x86_64 11/40
Verifying : grub2-pc-1:2.02-104.fc31.x86_64 12/40
Verifying : grub2-pc-modules-1:2.02-104.fc31.noarch 13/40
Verifying : grub2-pc-modules-1:2.02-104.fc31.noarch 14/40
Verifying : grub2-tools-1:2.02-104.fc31.x86_64 15/40
Verifying : grub2-tools-1:2.02-104.fc31.x86_64 16/40
Verifying : grub2-tools-efi-1:2.02-104.fc31.x86_64 17/40
Verifying : grub2-tools-efi-1:2.02-104.fc31.x86_64 18/40
Verifying : grub2-tools-extra-1:2.02-104.fc31.x86_64 19/40
Verifying : grub2-tools-extra-1:2.02-104.fc31.x86_64 20/40
Verifying : grub2-tools-minimal-1:2.02-104.fc31.x86_64 21/40
Verifying : grub2-tools-minimal-1:2.02-104.fc31.x86_64 22/40
Verifying : kernel-5.3.14-300.fc31.x86_64 23/40
Verifying : kernel-5.3.14-300.fc31.x86_64 24/40
Verifying : kernel-core-5.3.14-300.fc31.x86_64 25/40
Verifying : kernel-core-5.3.14-300.fc31.x86_64 26/40
Verifying : kernel-devel-5.3.14-300.fc31.x86_64 27/40
Verifying : kernel-devel-5.3.14-300.fc31.x86_64 28/40
Verifying : kernel-headers-5.3.11-300.fc31.x86_64 29/40
Verifying : kernel-headers-5.3.11-300.fc31.x86_64 30/40
Verifying : kernel-modules-5.3.14-300.fc31.x86_64 31/40
Verifying : kernel-modules-5.3.14-300.fc31.x86_64 32/40
Verifying : kernel-modules-extra-5.3.14-300.fc31.x86_64 33/40
Verifying : kernel-modules-extra-5.3.14-300.fc31.x86_64 34/40
Verifying : grubby-8.40-36.fc31.x86_64 35/40
Verifying : grubby-8.40-36.fc31.x86_64 36/40
Verifying : shim-ia32-15-8.x86_64 37/40
Verifying : shim-ia32-15-8.x86_64 38/40
Verifying : shim-x64-15-8.x86_64 39/40
Verifying : shim-x64-15-8.x86_64 40/40
Reinstalled:
grub2-common-1:2.02-104.fc31.noarch grub2-efi-ia32-1:2.02-104.fc31.x86_64 grub2-efi-ia32-cdboot-1:2.02-104.fc31.x86_64 grub2-efi-x64-1:2.02-104.fc31.x86_64
grub2-efi-x64-cdboot-1:2.02-104.fc31.x86_64 grub2-pc-1:2.02-104.fc31.x86_64 grub2-pc-modules-1:2.02-104.fc31.noarch grub2-tools-1:2.02-104.fc31.x86_64
grub2-tools-efi-1:2.02-104.fc31.x86_64 grub2-tools-extra-1:2.02-104.fc31.x86_64 grub2-tools-minimal-1:2.02-104.fc31.x86_64 kernel-5.3.14-300.fc31.x86_64
kernel-core-5.3.14-300.fc31.x86_64 kernel-devel-5.3.14-300.fc31.x86_64 kernel-headers-5.3.11-300.fc31.x86_64 kernel-modules-5.3.14-300.fc31.x86_64
kernel-modules-extra-5.3.14-300.fc31.x86_64 grubby-8.40-36.fc31.x86_64
Failed:
shim-ia32-15-8.x86_64 shim-ia32-15-8.x86_64 shim-x64-15-8.x86_64 shim-x64-15-8.x86_64
Error: Transaction failed