You are not logged in.
I was doing a system update while booted when half-way through the installation the screen glitched out. Colorful vertical lines were all over my display and I couldn't switch to any tty. I waited for a bit and then decided to reboot. Since I couldn't boot due the kernel being missing, I grabbed my archiso usb and completed the system upgrade as well as removed/reinstalled any corrupted packages or files. However, once that was done, I still couldn't boot. Upon booting, I get this error:
/init: line 16: can't open /proc/cmdline: no such file
: : running early hook [udev]
/proc/ is not mounted, but required for successful operation of systemd-tmpfiles. Please mount /proc/. Alternatively, consider using the --root= or --image= switches.
Failed to parse kernel command line, ignoring: No such file or directory
Starting systemd-udevd version 254.1-1-arch
: : running hook [udev]
: : Triggering uevents ...
Running in chroot, ignoring request.
Running in chroot, ignoring request.
Running in chroot, ignoring request.
: : running hook [encrypt]
Waiting 10 seconds for device /dev/disk/by-uuid/myuuid ...
ERROR: device '' not found. Skipping fsck.
: : mounting '' on real root
: : running cleanup hook [udev]
Running in chroot, ignoring request.
ERROR: Failed to mount the real root device.
Bailing out, you are on your own. Good luck.
And then it drops me in a shell called rootfs. However, I can't type since the keyboard module wasn't loaded. I've tried reinstalling grub, systemd, and several kernels, to no avail. My drive has 2 partitions, the EFI part and then the actual system which is encrypted. I don't know why it can't find the device and I don't know why proc is screwed over. Does anyone know what I should do next?
Last edited by Catakang (2023-09-10 13:55:49)
Offline
ERROR: device '' not found. Skipping fsck.
Is that literal?
Boot the install iso, mount the installed system (don't forget to mount the boot partition!) and check
LC_ALL=C pacman --root /mnt -Qkk | grep -v ', 0 altered files'
You can also redirect that into a file and upload it
cat /tmp/package_damage.txt | curl -F 'file=@-' 0x0.st
Online
Yes that is literal. Here is the file:
https://pastebin.com/nfjGkqQ4
Offline
libnftnl: no mtree file
util-linux: no mtree file
Certainly the latter sounds like trouble.
pacman -S --dbonly libnftnl util-linux
And to be on the safe side, re-install everything
You might have to use the pacman from the iso, "… --root /mnt --cachedir /mnt/var/cache/pacman/pkg …"
Online
Forgot to update this post, but reinstalling everything did the trick. I don't know why I never thought to do that.
Offline
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
Online