You are not logged in.
As the title mentions a kernel panic occurred during pacman -Syu and now my system does not boot.
Other information about my system. It's Lenovo Thinkpad p17 gen 2. The processor is Intel 11950H and the GPU is Nvidia rtx a3000. I use refind as my boot manager. The boot options I'm using are
root=PARTUUID=<the partition's uuid> rw add_efi_memmap united=intel-ucode.img initrd=initramfs-linux.img" ibt=off
I double checked to make sure the PARTUUID is correct as obtained by blkid.
I have an Nvidia graphics card, however even trying to boot into a non-graphical mode won't work.
When trying to boot refind starts with
Starting vmlinuz-linux
Using load options '<the boot options listed above>'
_
And it just freezes at this point. I have to force shutdown the laptop by holding the power button.
I also have a windows partition on the same drive which boots fine so I don't think it's the laptop itself but I may be wrong.
I have tried the steps in recovering from a pacman crash: https://wiki.archlinux.org/title/Pacman … an_upgrade
At the end the only size 0 files are a bunch of python __init__.py files (expected)
And these three
/mnt/usr/lib/gio/modules/.keep
/mnt/usr/lib/ldscripts/stamp
/mnt/usr/lib/qt/qml/QtQuick/Controls/Styles/Flat/plugins.qmltypes
Which I assume are also meant to be empty.
After this the system still would not boot.
I looked at the output of
pacman --root=/mnt --cachedir=/mnt/car/cache/pacman/pkg
And got the following
https://0x0.st/XdKt.txt
I wasn't sure if the altered files were the problem so I just tried reinstalling all packages. It did not change the output above.
My system would still not boot.
Any help would be greatly appreciated. I can access my personal files on the broken installation fine and have backed them up so if worst comes to worst I guess I'll just nuke the partition and reinstall arch from scratch.
Last edited by sirarren (2024-11-17 01:00:32)
Offline
If you have a boot partition make sure to mount that as well and re-install
pacman --root=/mnt --cachedir=/mnt/var/cache/pacman/pkg linux
Online
Hi Seth, I assume you meant to include -S in that command. Regardless, I'm happy to say that it worked. Thanks a bunch!
Edit: just to clarify, I'm pretty sure it was mounting of the boot partition that was important here. I did reinstall everything in previous attempts but forgot to mount the boot partition.
Last edited by sirarren (2024-11-17 20:21:51)
Offline