But afterwards there are none of the appropriate files in /boot, with the exception of symvers-6.18.6-200.fc43.x86_64.xz. This has been going on through many updates for weeks. Any ideas how I can move things along?
sudo dnf remove $(dnf repoquery --installonly --latest-limit=-1)
Failed to resolve the transaction:
Problem: The operation would result in removing of running kernel: kernel-core-0:6.17.11-300.fc43.x86_64
Vladislov, thanks much for working this issue with me! It has been bugging me…
sudo kernel-install -v add 6.18.6-200.fc43.x86_64
/lib/modules/6.18.6-200.fc43.x86_64/vmlinuz
Loaded config.
MACHINE_ID=f035c40fbb854c659cc4237b0dcd4045 set via /etc/machine-id.
Found container virtualization none.
Directory “/boot” is not the root of the file system.
Couldn’t find an XBOOTLDR partition.
Failed to check file system type of “/efi”: No such file or directory
File system “/boot” is not a FAT EFI System Partition (ESP) file system.
Using EFI System Partition at /boot/efi as $BOOT_ROOT.
Using entry token: f035c40fbb854c659cc4237b0dcd4045
kernel version (6.18.6-200.fc43.x86_64) set via command line.
kernel image file (/lib/modules/6.18.6-200.fc43.x86_64/vmlinuz) set via command line.
/boot/efi/loader/entries.srel with ‘type1’ found, using layout=bls.
Using ENTRY_DIR=/boot/efi/f035c40fbb854c659cc4237b0dcd4045/6.18.6-200.fc43.x86_64
mkdir -p /boot/efi/f035c40fbb854c659cc4237b0dcd4045/6.18.6-200.fc43.x86_64
Using plugins:
/usr/lib/kernel/install.d/10-devicetree.install
/usr/lib/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=1
KERNEL_INSTALL_IMAGE_TYPE=pe
KERNEL_INSTALL_MACHINE_ID=f035c40fbb854c659cc4237b0dcd4045
KERNEL_INSTALL_ENTRY_TOKEN=f035c40fbb854c659cc4237b0dcd4045
KERNEL_INSTALL_BOOT_ROOT=/boot/efi
KERNEL_INSTALL_LAYOUT=bls
KERNEL_INSTALL_INITRD_GENERATOR=
KERNEL_INSTALL_UKI_GENERATOR=
KERNEL_INSTALL_STAGING_AREA=/tmp/kernel-install.staging.DJmNuT
Plugin arguments: add 6.18.6-200.fc43.x86_64 /boot/efi/f035c40fbb854c659cc4237b0dcd4045/6.18.6-200.fc43.x86_64 /lib/modules/6.18.6-200.fc43.x86_64/vmlinuz
Successfully forked off ‘(sd-exec-strv)’ as PID 66412.
About to execute /usr/lib/kernel/install.d/10-devicetree.install add 6.18.6-200.fc43.x86_64 /boot/efi/f035c40fbb854c659cc4237b0dcd4045/6.18.6-200.fc43.x86_64 /lib/modules/6.18.6-200.fc43.x86_64/vmlinuz
Successfully forked off ‘(exec-inner)’ as PID 66413.
/usr/lib/kernel/install.d/10-devicetree.install succeeded.
About to execute /usr/lib/kernel/install.d/20-grub.install add 6.18.6-200.fc43.x86_64 /boot/efi/f035c40fbb854c659cc4237b0dcd4045/6.18.6-200.fc43.x86_64 /lib/modules/6.18.6-200.fc43.x86_64/vmlinuz
Successfully forked off ‘(exec-inner)’ as PID 66417.
/usr/lib/kernel/install.d/20-grub.install succeeded.
About to execute /usr/lib/kernel/install.d/50-depmod.install add 6.18.6-200.fc43.x86_64 /boot/efi/f035c40fbb854c659cc4237b0dcd4045/6.18.6-200.fc43.x86_64 /lib/modules/6.18.6-200.fc43.x86_64/vmlinuz
Successfully forked off ‘(exec-inner)’ as PID 66419.
+depmod -a 6.18.6-200.fc43.x86_64
/usr/lib/kernel/install.d/50-depmod.install succeeded.
About to execute /usr/lib/kernel/install.d/50-dracut.install add 6.18.6-200.fc43.x86_64 /boot/efi/f035c40fbb854c659cc4237b0dcd4045/6.18.6-200.fc43.x86_64 /lib/modules/6.18.6-200.fc43.x86_64/vmlinuz
Successfully forked off ‘(exec-inner)’ as PID 66420.
dracut\[I\]: Executing: /usr/bin/dracut -f --verbose --kernel-image /lib/modules/6.18.6-200.fc43.x86_64/vmlinuz --no-uefi --kver 6.18.6-200.fc43.x86_64 /tmp/kernel-install.staging.DJmNuT/initrd
dracut\[I\]: \*\*\* Including module: bash \*\*\*
dracut\[I\]: \*\*\* Including module: systemd \*\*\*
dracut\[I\]: \*\*\* Including module: fips \*\*\*
dracut\[I\]: \*\*\* Including module: fips-crypto-policies \*\*\*
dracut\[I\]: \*\*\* Including module: systemd-ask-password \*\*\*
dracut\[I\]: \*\*\* Including module: systemd-battery-check \*\*\*
dracut\[I\]: \*\*\* Including module: systemd-initrd \*\*\*
dracut\[I\]: \*\*\* Including module: systemd-journald \*\*\*
dracut\[I\]: \*\*\* Including module: systemd-modules-load \*\*\*
dracut\[I\]: \*\*\* Including module: systemd-pcrphase \*\*\*
dracut\[I\]: \*\*\* Including module: systemd-sysctl \*\*\*
dracut\[I\]: \*\*\* Including module: systemd-sysusers \*\*\*
dracut\[I\]: \*\*\* Including module: systemd-tmpfiles \*\*\*
dracut\[I\]: \*\*\* Including module: systemd-udevd \*\*\*
dracut\[I\]: \*\*\* Including module: nss-softokn \*\*\*
dracut\[I\]: \*\*\* Including module: i18n \*\*\*
dracut\[I\]: \*\*\* Including module: drm \*\*\*
dracut\[I\]: \*\*\* Including module: plymouth \*\*\*
dracut\[I\]: \*\*\* Including module: prefixdevname \*\*\*
dracut\[I\]: \*\*\* Including module: kernel-modules \*\*\*
dracut\[I\]: \*\*\* Including module: kernel-modules-extra \*\*\*
dracut\[I\]: \*\*\* Including module: tpm2-tss \*\*\*
dracut\[I\]: \*\*\* Including module: rootfs-block \*\*\*
dracut\[I\]: \*\*\* Including module: terminfo \*\*\*
dracut\[I\]: \*\*\* Including module: udev-rules \*\*\*
dracut\[I\]: \*\*\* Including module: dracut-systemd \*\*\*
dracut\[I\]: \*\*\* Including module: usrmount \*\*\*
dracut\[I\]: \*\*\* Including module: base \*\*\*
dracut\[I\]: \*\*\* Including module: fs-lib \*\*\*
dracut\[I\]: \*\*\* Including module: memstrack \*\*\*
dracut\[I\]: \*\*\* Including module: openssl \*\*\*
dracut\[I\]: \*\*\* Including module: shell-interpreter \*\*\*
dracut\[I\]: \*\*\* Including module: shutdown \*\*\*
dracut\[I\]: \*\*\* Including modules done \*\*\*
dracut\[I\]: \*\*\* Installing kernel module dependencies \*\*\*
dracut\[I\]: \*\*\* Installing kernel module dependencies done \*\*\*
dracut\[I\]: \*\*\* Resolving executable dependencies \*\*\*
dracut\[I\]: \*\*\* Resolving executable dependencies done \*\*\*
dracut\[I\]: \*\*\* Hardlinking files \*\*\*
dracut\[I\]: \*\*\* Hardlinking files done \*\*\*
dracut\[I\]: \*\*\* Generating early-microcode cpio image \*\*\*
dracut\[I\]: \*\*\* Constructing GenuineIntel.bin \*\*\*
dracut\[I\]: \*\*\* Store current command line parameters \*\*\*
dracut\[I\]: \*\*\* Creating image file ‘/tmp/kernel-install.staging.DJmNuT/initrd’ \*\*\*
dracut\[I\]: Using auto-determined compression method ‘zstd’
dracut\[I\]: \*\*\* Creating initramfs image file ‘/tmp/kernel-install.staging.DJmNuT/initrd’ done \*\*\*
/usr/lib/kernel/install.d/50-dracut.install succeeded.
About to execute /usr/lib/kernel/install.d/51-dracut-rescue.install add 6.18.6-200.fc43.x86_64 /boot/efi/f035c40fbb854c659cc4237b0dcd4045/6.18.6-200.fc43.x86_64 /lib/modules/6.18.6-200.fc43.x86_64/vmlinuz
Successfully forked off ‘(exec-inner)’ as PID 77497.
Skipping, there is already a rescue image generated with the same input parameters
/usr/lib/kernel/install.d/51-dracut-rescue.install succeeded.
About to execute /usr/lib/kernel/install.d/55-set-boot-entry.install add 6.18.6-200.fc43.x86_64 /boot/efi/f035c40fbb854c659cc4237b0dcd4045/6.18.6-200.fc43.x86_64 /lib/modules/6.18.6-200.fc43.x86_64/vmlinuz
Successfully forked off ‘(exec-inner)’ as PID 77499.
/usr/lib/kernel/install.d/55-set-boot-entry.install succeeded.
About to execute /usr/lib/kernel/install.d/60-kdump.install add 6.18.6-200.fc43.x86_64 /boot/efi/f035c40fbb854c659cc4237b0dcd4045/6.18.6-200.fc43.x86_64 /lib/modules/6.18.6-200.fc43.x86_64/vmlinuz
Successfully forked off ‘(exec-inner)’ as PID 77504.
/usr/lib/kernel/install.d/60-kdump.install succeeded.
About to execute /usr/lib/kernel/install.d/90-loaderentry.install add 6.18.6-200.fc43.x86_64 /boot/efi/f035c40fbb854c659cc4237b0dcd4045/6.18.6-200.fc43.x86_64 /lib/modules/6.18.6-200.fc43.x86_64/vmlinuz
Successfully forked off ‘(exec-inner)’ as PID 77505.
Installing /boot/efi/f035c40fbb854c659cc4237b0dcd4045/6.18.6-200.fc43.x86_64/initrd
Creating /boot/efi/loader/entries/f035c40fbb854c659cc4237b0dcd4045-6.18.6-200.fc43.x86_64.conf
/usr/lib/kernel/install.d/90-loaderentry.install succeeded.
About to execute /usr/lib/kernel/install.d/90-uki-copy.install add 6.18.6-200.fc43.x86_64 /boot/efi/f035c40fbb854c659cc4237b0dcd4045/6.18.6-200.fc43.x86_64 /lib/modules/6.18.6-200.fc43.x86_64/vmlinuz
Successfully forked off ‘(exec-inner)’ as PID 77517.
/usr/lib/kernel/install.d/90-uki-copy.install succeeded.
About to execute /usr/lib/kernel/install.d/92-crashkernel.install add 6.18.6-200.fc43.x86_64 /boot/efi/f035c40fbb854c659cc4237b0dcd4045/6.18.6-200.fc43.x86_64 /lib/modules/6.18.6-200.fc43.x86_64/vmlinuz
Successfully forked off ‘(exec-inner)’ as PID 77518.
/usr/lib/kernel/install.d/92-crashkernel.install succeeded.
About to execute /usr/lib/kernel/install.d/92-tuned.install add 6.18.6-200.fc43.x86_64 /boot/efi/f035c40fbb854c659cc4237b0dcd4045/6.18.6-200.fc43.x86_64 /lib/modules/6.18.6-200.fc43.x86_64/vmlinuz
Successfully forked off ‘(exec-inner)’ as PID 77528.
/usr/lib/kernel/install.d/92-tuned.install succeeded.
About to execute /usr/lib/kernel/install.d/95-kernel-hooks.install add 6.18.6-200.fc43.x86_64 /boot/efi/f035c40fbb854c659cc4237b0dcd4045/6.18.6-200.fc43.x86_64 /lib/modules/6.18.6-200.fc43.x86_64/vmlinuz
Successfully forked off ‘(exec-inner)’ as PID 77529.
/usr/lib/kernel/install.d/95-kernel-hooks.install succeeded.
About to execute /usr/lib/kernel/install.d/99-grub-mkconfig.install add 6.18.6-200.fc43.x86_64 /boot/efi/f035c40fbb854c659cc4237b0dcd4045/6.18.6-200.fc43.x86_64 /lib/modules/6.18.6-200.fc43.x86_64/vmlinuz
Successfully forked off ‘(exec-inner)’ as PID 77530.
/usr/lib/kernel/install.d/99-grub-mkconfig.install succeeded.
(sd-exec-strv) succeeded.
ls -a -l /boot
total 269460
dr-xr-xr-x. 5 root root 4096 Jan 25 10:50 .
dr-xr-xr-x. 20 root root 4096 Jan 10 09:26 ..
-rw-r–r–. 1 root root 292973 Dec 7 19:00 config-6.17.11-300.fc43.x86_64
drwx------. 9 root root 4096 Dec 31 1969 efi
drwx------. 3 root root 4096 Jan 17 13:02 grub2
-rw-------. 1 root root 176153065 Aug 20 10:07 initramfs-0-rescue-f035c40fbb854c659cc4237b0dcd4045.img
-rw-------. 1 root root 52781255 Dec 15 17:12 initramfs-6.17.11-300.fc43.x86_64.img
drwxr-xr-x. 3 root root 4096 Aug 20 10:06 loader
lrwxrwxrwx. 1 root root 47 Dec 15 17:11 symvers-6.17.11-300.fc43.x86_64.xz → /lib/modules/6.17.11-300.fc43.x86_64/symvers.xz
-rw-r–r–. 1 root root 186372 Jan 17 10:55 symvers-6.18.5-200.fc43.x86_64.xz
-rw-r–r–. 1 root root 186420 Jan 25 10:50 symvers-6.18.6-200.fc43.x86_64.xz
-rw-r–r–. 1 root root 11127188 Dec 7 19:00 System.map-6.17.11-300.fc43.x86_64
-rwxr-xr-x. 1 root root 16968040 Aug 20 10:06 vmlinuz-0-rescue-f035c40fbb854c659cc4237b0dcd4045
-rwxr-xr-x. 1 root root 18180136 Dec 7 19:00 vmlinuz-6.17.11-300.fc43.x86_64
-rw-r–r–. 1 root root 162 Dec 7 19:00 .vmlinuz-6.17.11-300.fc43.x86_64.hmac
Can you please next time, posting output from the terminal, using the </> button, please.
First press the </> button and then paste the output into it.
Otherwise we do get a sore pointing finger using the scroll wheel, scrolling all the long output
I followed the guidance on this page, still no joy. If I reinstall the kernel, dnf dutifully downloads and reinstalls it then immediately deletes it.
dnf shows the 6.18 kernel as being installed. The modules are all there at /lib/modules. Just no vmlinuz in /boot, nor config, initramfs, or System.map. Only symvers. Something is out of whack…
Yes, some issues are hard to understand with the limitations of a forum. It might help to know more of the history that might explain how the machine ID issue from F39 is could be present in F43 and maybe suggest where to look for other configuration problems.
Well, I’m not exactly sure how I did it, but I think I’ve got things back on an even keel. I have been searching high and low these past few days, and though I didn’t find a neat solution, I did get put on the right trail.
When I first read about the machine ID thing in /boot/efi, I thought that would be it, but no, not in and of itself. But one commenter wrote something to the effect of “when that old machine ID directory is there, the loader can get confused and everything goes sideways”.
There’s a subdirectory /boot/efi/loader which I figured I might as well look into. There was some things in there that looked unhelpful/old/obsolete. I backed it up, and just deleted everything except the directory structure.
Then I methodically removed the 6.18 packages that dnf thought was installed, one by one, giving the fully qualified package names. I could tell something was really happening this time. Then I tried a simple ‘dnf update’, and it found the new kernel. I gave it the go-ahead, it downloaded and installed and… didn’t turn right around and remove it all again, as it had been doing! I looked in /boot, and all the pieces were there. Time for the acid test.
I rebooted, did ‘uname -r’, and… there it was, 6.18.6-200.fc43.x86_64, in all its glory. I am pleased - this has taken a lot of my time and attention these past few days. But didn’t I learn a lot about Fedora in the process!
Many thanks to all who replied, and pointed me at useful resources! Only one mystery remains. How do I mark this thread solved? [got it ]
When you view your post withthe solution, there is line of icons at the bottom of the page. At the left end should be a box with a checkmark. Just click on that.
This is unreadable as posted.
As mentioned above please post text that you copy & paste as preformatted text so it retains the formatting as seen on screen.
Preformatted text is easily obtained by first pasting the text, then highlight it and click the </> button.
The next time you post text the difference will easily be seen with the result.
The problem is the Rich text editor. As you can see above, just reformatting not really works after it is once saved with the new editor. It somehow removes the new lines (it looks like it makes fix character length of a line) ore adds some back slashes as it would escape something.
However I gave my best to restore it as nice as possible.
Avoiding the use of an editor and simply copying into the clipboard and pasting avoids this type of interference while retaining the appropriate formatting.