You are not logged in.

#1 2018-09-11 17:58:25

schtiehve
Member
Registered: 2014-03-30
Posts: 14

[solved] Kernel Panic after crash. Chroot shows no files.

My machine recently crashed (it might have been during an upgrade) the next time I wanted to start it I ran directly into a kernel panic.

I booted into a live iso to try and fix it but after chrooting into the system I cant't see any of the files (I can change into the directories but an ls -la yields nothing). When trying to execute any commands while in chroot they error out with the message "library xyz can't be loaded file to short". It seems like something is quite messed up with my system. I'd like to try and fix this problem but impossible I don't mind nuking it.

Any tips?

Last edited by schtiehve (2018-09-12 09:30:09)

Offline

#2 2018-09-11 18:36:57

loqs
Member
Registered: 2014-03-06
Posts: 17,192

Re: [solved] Kernel Panic after crash. Chroot shows no files.

Have you tried running fsck on the filesystems and a smart self-test on the storage devices?
After that perform a chroot but instead of executing the chroot run `pacman --sysroot /mnt -Qkk`

Offline

#3 2018-09-12 09:29:52

schtiehve
Member
Registered: 2014-03-30
Posts: 14

Re: [solved] Kernel Panic after crash. Chroot shows no files.

Thank you so much!

With your tip and this wiki entry I managed to reinstall all the corrupted packages then I was able to chroot into the system and rebuild the init files.

Offline

Board footer

Powered by FluxBB