On an AMD workstation I am unable to update 41->42. When I try (using recommended sudo dnf system-upgrade download --releasever=42 sudo dnf system-upgrade reboot)
On reboot, I get Kernel panic! (Attempted to kill init)
I managed to recover but just doing a clean re-install. I was able to select my existing home btrfs to mount as /home, which save me from having to restore it.
On 4/16/25 11:51 AM, Neal Becker wrote:
On an AMD workstation I am unable to update 41->42. When I try (using recommended sudo dnf system-upgrade download --releasever=42 sudo dnf system-upgrade reboot)
On reboot, I get Kernel panic! (Attempted to kill init)
That sounds like an existing issue. dnf doesn't do anything other than download the rpm files and set a flag to run the upgrade process instead of a normal boot. It will use the current kernel and initramfs that you were already using. At what point in the boot did that kernel panic happen?
On Wed, Apr 16, 2025 at 4:30 PM Samuel Sieb samuel@sieb.net wrote:
On 4/16/25 11:51 AM, Neal Becker wrote:
On an AMD workstation I am unable to update 41->42. When I try (using recommended sudo dnf system-upgrade download --releasever=42 sudo dnf system-upgrade reboot)
On reboot, I get Kernel panic! (Attempted to kill init)
That sounds like an existing issue. dnf doesn't do anything other than download the rpm files and set a flag to run the upgrade process instead of a normal boot. It will use the current kernel and initramfs that you were already using. At what point in the boot did that kernel panic happen?
I guess we'll never know. I needed to get the machine running so did a clean install from USB. The kernel panic screen didn't give any more information, I don't think I tried hitting esc to see more messages. Prior to reinstall F42 I was able to boot back into F41 using an older kernel, so maybe the particular kernel had an issue? In any case it's now running F42 without problems.
Reinstall went better than I expected, I was able to re-use my existing home which was a btrfs fs, and the installer did the right thing, not trying to create a new home dir for me.
On Wed, Apr 16, 2025 at 10:22 PM Neal Becker ndbecker2@gmail.com wrote:
On an AMD workstation I am unable to update 41->42. When I try (using recommended sudo dnf system-upgrade download --releasever=42 sudo dnf system-upgrade reboot)
On reboot, I get Kernel panic! (Attempted to kill init)
Something similar happened in my case. The solution that worked to me:
dnf reinstall kernel-core kernel-modules kernel depmod 6.14.2-300.fc42.x86_64 dracut --force /boot/initramfs-6.14.2-300.fc42.x86_64.img 6.14.2-300.fc42.x86_64
Hope this helps you!
Paul