After updating fedora and running sudo dnf5 offline reboot system got stuck, i’ve tried to reboot it but cannot boot any of the kernels(including recovery) because of kernel pani exitcode=0x00007f00
Is there a way to rerun upgrade from livecd? should it be a F41 or F42 livecd?
Tried to mount root, boot, boot/efi partitions to run a distro-sync against them.
but couldn’t chroot /mnt
liveuser@localhost-live:~$ sudo chroot /mnt
grep: error while loading shared libraries: /lib64/libpcre2-8.so.0: file too short
grep: error while loading shared libraries: /lib64/libpcre2-8.so.0: file too short
grep: error while loading shared libraries: /lib64/libpcre2-8.so.0: file too short
flatpak: error while loading shared libraries: /lib64/libglib-2.0.so.0: file too short
/usr/bin/sed: error while loading shared libraries: /lib64/libpcre2-8.so.0: file too short
I assume you mean “upgrading”. During an offline upgrade there can be long periods with little visible activity. This has led others to reboot while the upgrade was in progress, but you could also have a hardware issue such as out of space on a filesystem or a failed storage device. For individual users I recommend removing the rhgb quiet from the kernel command line as this will let you see issues as they occur.
The file too short errors suggest either a full or failed storage device. I suggest booting the Live Installer environment and using Gnome Disks to check “drive health” and make sure the Fedora partitions have free space. Note that btrfs requires use of btrfs fi df /mnt for accurate free space values.
Before reading your comment i’ve noticed that libraries in /lib64 were corrupted(0 bytes files), i’ve copied them from livecd and was able to disto-sync and boot previous kernel.
After i did check the disks with manufacturer’s utility and can confirm that they are healthy.
Fedora partition also has free space.
LIkely that means you may have a bad entry in /etc/fstab or you have may have a resume= on the kernel command line that names a partition that does not exist.
You also need to verify that system is fully upgraded to fc42
e.g. check dnf repolist for old f41 repositories
and probably clean up old packages
see optional post upgrade steps
it may be also a good idea to do a rpm --verify on all installed packages.
The system was probably compiling the nvidia kernel modules, most likely because you did not wait long enough and restarted the system right away after dnf has finished.
Thanks! after doing it i was able to boot to the system with the latest kernel and F42.
Boot took a little more time than usually(extra ~90 sec for starting plymouth-quit-wait and akmods services).
The only side effect i see right now is that only one display(identified as None-1) with resolution of 1280x1024 is visible, but at least the system is bootable and files aren’t corrupted.