You are not logged in.

#1 2023-12-15 17:16:20

superlama
Member
Registered: 2023-12-15
Posts: 2

Kernel Panic after pacman -Syu

Hi,

my system shut down while updating with pacman -Syu. After reboot my caps lock key is blinking, so i suspect a kernel panic.

I booted with an arch usb stick set my keymap and connected to wifi. After that I unlocked my luks encrypted btrfs drive with:

cryptsetup luksOpen /dev/nvme0n1p2 crypto

then i mounted with

mount /dev/mapper/crypto -o subvol=@ 

and finally i tried to arch-chroot into my system.

arch-chroot /mnt

when I try to issue pacman -Syu i get: error while loading shared libraries: /usr/lib/libcurl.so.4

when I do

pacman -sysroot /mnt -Syu

pacman starts but aborts with

could not open file /etc/mtab No such file or directory
could not determine filesystem
failed to commit transaction

Any help would be really appreciated. I am still a newbie and really tried and read a lot but cant solved this on my own...

Output of mount, blkid, lsblk
https://ibb.co/dBzLL36
https://ibb.co/W685q5m
https://ibb.co/jD5bNdP

Offline

#2 2023-12-15 17:28:04

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,727

Re: Kernel Panic after pacman -Syu

/etc/mtab should be a symlink to ../proc/self/mounts. Just recreate that if it's not there and try with pacman --sysroot again.

If /proc isn't mounted, that could do it, too, see the chroot wiki page.

Last edited by Scimmia (2023-12-15 17:29:07)

Offline

#3 2023-12-15 21:01:13

superlama
Member
Registered: 2023-12-15
Posts: 2

Re: Kernel Panic after pacman -Syu

okay, i am a step further. Now  I have the error "... exists in filesystem" for lots of files when i pacman -Syu. I found and read the manual but that unfortunately didnt help to understand why this is happening.

Last edited by superlama (2023-12-15 21:11:14)

Offline

#4 2023-12-15 23:11:26

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,727

Re: Kernel Panic after pacman -Syu

Database corruption from the crash. https://wiki.archlinux.org/title/Pacman … )%22_error

Offline

Board footer

Powered by FluxBB