Päivitys tapahtuu yksinkertaisesti asentamalla grub uudelleen:
sudo dnf reinstall grub2-efi shim
Ongelmana on vaan se että Fedorassa komento antaa virheilmoituksia. Asensin openSuse Tubleweedin ja ajoin siinä vastaavan komennon (grub2-efi paketin nimi on grub2-x86_64-efi openSusessa.). Grub päivittyi siten että openSuse otti päävastuun ja se sekä muut Linuxit (KaOS ja Fedora) ovat normaaliin tapaan valittavina Grub-menusta.
Virhe:
[raimo@kone-2 ~]$ sudo dnf reinstall grub2-efi shim
[sudo] password for raimo:
Last metadata expiration check: 2:59:40 ago on Thu 26 Mar 2020 22:20:55 EET.
Dependencies resolved.
================================================================================
Package Architecture Version Repository Size
================================================================================
Reinstalling:
grub2-efi-ia32 x86_64 1:2.04-10.fc32 fedora 465 k
grub2-efi-x64 x86_64 1:2.04-10.fc32 fedora 492 k
shim-x64 x86_64 15-8 fedora 658 k
Transaction Summary
================================================================================
Total download size: 1.6 M
Installed size: 10 M
Is this ok [y/N]: y
Downloading Packages:
(1/3): grub2-efi-ia32-2.04-10.fc32.x86_64.rpm 1.1 MB/s | 465 kB 00:00
(2/3): grub2-efi-x64-2.04-10.fc32.x86_64.rpm 964 kB/s | 492 kB 00:00
(3/3): shim-x64-15-8.x86_64.rpm 1.2 MB/s | 658 kB 00:00
--------------------------------------------------------------------------------
Total 1.7 MB/s | 1.6 MB 00:00
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Reinstalling : shim-x64-15-8.x86_64 1/6
error: lsetfilecon: (/boot/efi/EFI/BOOT/BOOTX64.EFI;5e7d38ca, system_u:object_r:boot_t:s0) Operation not supported
error: lsetfilecon: (/boot/efi/EFI/BOOT/fbx64.efi;5e7d38ca, system_u:object_r:boot_t:s0) Operation not supported
error: lsetfilecon: (/boot/efi/EFI/fedora/BOOTX64.CSV;5e7d38ca, system_u:object_r:boot_t:s0) Operation not supported
error: lsetfilecon: (/boot/efi/EFI/fedora/mmx64.efi;5e7d38ca, system_u:object_r:boot_t:s0) Operation not supported
error: lsetfilecon: (/boot/efi/EFI/fedora/shim.efi;5e7d38ca, system_u:object_r:boot_t:s0) Operation not supported
error: lsetfilecon: (/boot/efi/EFI/fedora/shimx64-fedora.efi;5e7d38ca, system_u:object_r:boot_t:s0) Operation not supported
error: lsetfilecon: (/boot/efi/EFI/fedora/shimx64.efi;5e7d38ca, system_u:object_r:boot_t:s0) Operation not supported
Reinstalling : grub2-efi-x64-1:2.04-10.fc32.x86_64 2/6
error: lsetfilecon: (/boot/efi/EFI/fedora/fonts, system_u:object_r:boot_t:s0) Operation not supported
error: lsetfilecon: (/boot/efi/EFI/fedora/grubx64.efi;5e7d38ca, system_u:object_r:boot_t:s0) Operation not supported
Reinstalling : grub2-efi-ia32-1:2.04-10.fc32.x86_64 3/6
error: lsetfilecon: (/boot/efi/EFI/fedora/grubia32.efi;5e7d38ca, system_u:object_r:boot_t:s0) Operation not supported
Cleanup : shim-x64-15-8.x86_64 4/6
Cleanup : grub2-efi-x64-1:2.04-10.fc32.x86_64 5/6
Cleanup : grub2-efi-ia32-1:2.04-10.fc32.x86_64 6/6
Verifying : grub2-efi-ia32-1:2.04-10.fc32.x86_64 1/6
Verifying : grub2-efi-ia32-1:2.04-10.fc32.x86_64 2/6
Verifying : grub2-efi-x64-1:2.04-10.fc32.x86_64 3/6
Verifying : grub2-efi-x64-1:2.04-10.fc32.x86_64 4/6
Verifying : shim-x64-15-8.x86_64 5/6
Verifying : shim-x64-15-8.x86_64 6/6
Reinstalled:
grub2-efi-ia32-1:2.04-10.fc32.x86_64 grub2-efi-x64-1:2.04-10.fc32.x86_64
shim-x64-15-8.x86_64
Complete!