Failing upgrade from version 7-200 fc43

Can you ls /boot/efi again, to check that the mv command worked?

it did when i checked it

udo ls /boot/efi
253d517cf4e1494d80c3550b6fa6ede8_disabled EFI FSCK0000.REC FSCK0001.REC mach_kernel System ‘System Volume Information’

Thanks, so we have to look for other reasons why the kernel postinstall script tries to write to /boot/efi :worried:

Can you try:

dnf list --installed "kernel-uki*"

If those packages somehow got installed, that’s another reason why the system might be trying to right to /boot/efi.

its just says no listed packages

dnf list --installed “kernel-uki*”
No matching packages to list

I think this exhausts my troubleshooting sorry, I can’t immediately think of what other factors can cause this.

Can you show the output of kernel-install ? This has relevant information and it may help someone troubleshoot.

kernel-install
Machine ID: 253d517cf4e1494d80c3550b6fa6ede8
Kernel Image Type: pe
Layout: other
Boot Root: /boot
Entry Token Type: machine-id
Entry Token: 253d517cf4e1494d80c3550b6fa6ede8
Entry Directory: /boot/253d517cf4e1494d80c3550b6fa6ede8/6.18.7-200.fc43.x86_64
Kernel Version: 6.18.7-200.fc43.x86_64
Kernel: /usr/lib/modules/6.18.7-200.fc43.x86_64/vmlinuz
Initrds: (unset)
Initrd Generator: (unset)
UKI Generator: (unset)
Plugins: /usr/lib/kernel/install.d/10-devicetree.install
/etc/kernel/install.d/20-grub.install
/usr/lib/kernel/install.d/50-depmod.install
/usr/lib/kernel/install.d/50-dracut.install
/usr/lib/kernel/install.d/51-dracut-rescue.install
/usr/lib/kernel/install.d/55-set-boot-entry.install
/usr/lib/kernel/install.d/60-kdump.install
/usr/lib/kernel/install.d/90-loaderentry.install
/usr/lib/kernel/install.d/90-uki-copy.install
/usr/lib/kernel/install.d/92-crashkernel.install
/usr/lib/kernel/install.d/92-tuned.install
/usr/lib/kernel/install.d/95-kernel-hooks.install
/usr/lib/kernel/install.d/99-grub-mkconfig.install
Plugin Environment: LC_COLLATE=C.UTF-8
KERNEL_INSTALL_VERBOSE=0
KERNEL_INSTALL_IMAGE_TYPE=pe
KERNEL_INSTALL_MACHINE_ID=253d517cf4e1494d80c3550b6fa6ede8
KERNEL_INSTALL_ENTRY_TOKEN=253d517cf4e1494d80c3550b6fa6ede8
lines 1-30

You could make it even stronger: using install in this case would install all the kernel-debug as well as kernel-uki packages, which could create additional problems.

Hit the space bar to get the rest of thelines, which would also provide useful information.

(unset)
Plugins: /usr/lib/kernel/install.d/10-devicetree.install
/etc/kernel/install.d/20-grub.install
/usr/lib/kernel/install.d/50-depmod.install
/usr/lib/kernel/install.d/50-dracut.install
/usr/lib/kernel/install.d/51-dracut-rescue.install
/usr/lib/kernel/install.d/55-set-boot-entry.install
/usr/lib/kernel/install.d/60-kdump.install
/usr/lib/kernel/install.d/90-loaderentry.install
/usr/lib/kernel/install.d/90-uki-copy.install
/usr/lib/kernel/install.d/92-crashkernel.install
/usr/lib/kernel/install.d/92-tuned.install
/usr/lib/kernel/install.d/95-kernel-hooks.install
/usr/lib/kernel/install.d/99-grub-mkconfig.install
Plugin Environment: LC_COLLATE=C.UTF-8
KERNEL_INSTALL_VERBOSE=0
KERNEL_INSTALL_IMAGE_TYPE=pe
KERNEL_INSTALL_MACHINE_ID=253d517cf4e1494d80c3550b6fa6ede8
KERNEL_INSTALL_ENTRY_TOKEN=253d517cf4e1494d80c3550b6fa6ede8
KERNEL_INSTALL_BOOT_ROOT=/boot
KERNEL_INSTALL_LAYOUT=other
KERNEL_INSTALL_INITRD_GENERATOR=
KERNEL_INSTALL_UKI_GENERATOR=
KERNEL_INSTALL_STAGING_AREA=/tmp/kernel-install.staging.XXXXXX
Plugin Arguments: add|remove
6.18.7-200.fc43.x86_64
/boot/253d517cf4e1494d80c3550b6fa6ede8/6.18.7-200.fc43.x86_64
/usr/lib/modules/6.18.7-200.fc43.x86_64/vmlinuz
[INITRD…]

theresx the rest

This looks normal, except that the kernel version is 6.18.7-200.fc43.x86_64.

I would like the list of

  • The contents of the file /etc/default/grub
  • The output of the command rpm -qa 'kernel*' (with qoutes around “kernel*”)

GRUB_TIMEOUT=60
GRUB_DISTRIBUTOR=“$(sed ‘s, release .*$,g’ /etc/system-release)”
GRUB_DEFAULT=saved
GRUB_DISABLE_SUBMENU=true
GRUB_TERMINAL_OUTPUT=“gfxterm”
GRUB_CMDLINE_LINUX=“”
GRUB_DISABLE_RECOVERY=“true”
GRUB_ENABLE_BLSCFG=false
GRUB_THEME=/home/lewiscowan/Documents/Particle-sidebar-grub-themes/1080p/Particle-sidebar/theme.txt
GRUB_FONT=“/usr/share/grub/unicode.pf2”

rpm -qa ‘kernel*’
kernel-core-6.18.7-200.fc43.x86_64
kernel-modules-core-6.18.7-200.fc43.x86_64
kernel-modules-6.18.7-200.fc43.x86_64
kernel-modules-extra-6.18.7-200.fc43.x86_64
kernel-6.18.7-200.fc43.x86_64
kernel-devel-6.18.7-200.fc43.x86_64
kernel-core-6.19.11-200.fc43.x86_64
kernel-modules-core-6.19.11-200.fc43.x86_64
kernel-modules-6.19.11-200.fc43.x86_64
kernel-modules-extra-6.19.11-200.fc43.x86_64
kernel-devel-6.19.11-200.fc43.x86_64
kernel-6.19.11-200.fc43.x86_64
kernel-headers-6.19.6-200.fc43.x86_64
kernel-srpm-macros-1.0-27.fc43.noarch
kernel-core-6.19.12-200.fc43.x86_64
kernel-modules-core-6.19.12-200.fc43.x86_64
kernel-modules-6.19.12-200.fc43.x86_64
kernel-modules-extra-6.19.12-200.fc43.x86_64
kernel-6.19.12-200.fc43.x86_64
kernel-devel-6.19.12-200.fc43.x86_64

That option is not really supported and hasn’t for a long time. You will need to run sudo grub2-mkconfig -o /boot/grub2/grub.cfg every time you get a new kernel update.

This can be troublesome if you want UEFI secure boot.

sorry but what is uefi secuyre boot as i disabled secure bott in bios but when i tried to access uefi firmware settings in bootloader my computer bricked its self and i had to reseat ssd to fix it

what should i do from here in that case?

Leave that as is.

Then run

sudo grub2-mkconfig -o /boot/grub2/grub.cfg

Generating grub configuration file …
Found theme: /home/lewiscowan/Documents/Particle-sidebar-grub-themes/1080p/Particle-sidebar/theme.txt
Found linux image: /boot/vmlinuz-6.18.7-200.fc43.x86_64
Found initrd image: /boot/initramfs-6.18.7-200.fc43.x86_64.img
Found linux image: /boot/vmlinuz-0-rescue-253d517cf4e1494d80c3550b6fa6ede8
Found initrd image: /boot/initramfs-0-rescue-253d517cf4e1494d80c3550b6fa6ede8.img
Found Windows Boot Manager on /dev/nvme0n1p1@/EFI/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for UEFI Firmware Settings …
done

dnf repoquery -l kernel-core | grep vmlinuz-6.19.*

dnf repoquery -l kernel-core | grep vmlinuz-6.19.*
Updating and loading repositories:
RPM Fusion for Fedora 43 - Nonfree 100% | 248.6 KiB/s | 756.3 KiB | 00m03s
RPM Fusion for Fedora 43 - Nonfree - U 100% | 90.5 KiB/s | 265.1 KiB | 00m03s
RPM Fusion for Fedora 43 - Nonfree - S 100% | 5.4 KiB/s | 15.2 KiB | 00m03s
Visual Studio Code 100% | 11.0 MiB/s | 19.9 MiB | 00m02s
RPM Fusion for Fedora 43 - Nonfree - N 100% | 9.9 KiB/s | 26.9 KiB | 00m03s
RPM Fusion for Fedora 43 - Free - Upda 100% | 238.6 KiB/s | 618.2 KiB | 00m03s
ProtonVPN Fedora Stable repository 100% | 37.3 KiB/s | 58.6 KiB | 00m02s
Node.js Packages for Linux RPM based d 100% | 562.7 KiB/s | 928.5 KiB | 00m02s
N|Solid Packages for Linux RPM based d 100% | 386.3 KiB/s | 630.4 KiB | 00m02s
Copr repo for PyCharm owned by phracek 100% | 48.1 KiB/s | 79.5 KiB | 00m02s
Fedora 43 openh264 (From Cisco) - x86_ 100% | 3.8 KiB/s | 10.1 KiB | 00m03s
RPM Fusion for Fedora 43 - Free 100% | 228.2 KiB/s | 718.3 KiB | 00m03s
Copr repo for conky-manager2 owned by 100% | 3.7 KiB/s | 7.5 KiB | 00m02s
google-chrome 100% | 4.8 KiB/s | 9.8 KiB | 00m02s
Fedora 43 - x86_64 - Updates 100% | 8.1 MiB/s | 27.8 MiB | 00m03s
Fedora 43 - x86_64 100% | 6.9 MiB/s | 57.8 MiB | 00m08s
Repositories loaded.
/boot/.vmlinuz-6.19.12-200.fc43.x86_64.hmac
/boot/vmlinuz-6.19.12-200.fc43.x86_64
lewiscowan@fedora:~$ sudo grub2-mkconfig -o /boot/grub2/grub.cfg
[sudo] password for lewiscowan:
Generating grub configuration file …
Found theme: /home/lewiscowan/Documents/Particle-sidebar-grub-themes/1080p/Particle-sidebar/theme.txt
Found linux image: /boot/vmlinuz-6.18.7-200.fc43.x86_64
Found initrd image: /boot/initramfs-6.18.7-200.fc43.x86_64.img
Found linux image: /boot/vmlinuz-0-rescue-253d517cf4e1494d80c3550b6fa6ede8
Found initrd image: /boot/initramfs-0-rescue-253d517cf4e1494d80c3550b6fa6ede8.img
Found Windows Boot Manager on /dev/nvme0n1p1@/EFI/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for UEFI Firmware Settings …
done

sudo grubby --info=ALL | grep -E "^kernel|^index"

i gotno output from that command

Try sudo grubby --set-default /boot/vmlinuz-6.19.12-200.fc43.x86_64 after that reboot and see it’s pick up new kernel.