You are not logged in.

#1 2023-09-06 20:35:19

Catakang
Member
Registered: 2023-09-06
Posts: 3

[SOLVED] Can't boot, /proc/cmdline isn't found, fails mount real root

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

#2 2023-09-06 20:51:19

seth
Member
Registered: 2012-09-03
Posts: 51,456

Re: [SOLVED] Can't boot, /proc/cmdline isn't found, fails mount real root

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

Offline

#3 2023-09-06 21:26:22

Catakang
Member
Registered: 2023-09-06
Posts: 3

Re: [SOLVED] Can't boot, /proc/cmdline isn't found, fails mount real root

Yes that is literal. Here is the file:
https://pastebin.com/nfjGkqQ4

Offline

#4 2023-09-06 21:32:05

seth
Member
Registered: 2012-09-03
Posts: 51,456

Re: [SOLVED] Can't boot, /proc/cmdline isn't found, fails mount real root

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 …"

Offline

#5 2023-09-08 17:47:34

Catakang
Member
Registered: 2023-09-06
Posts: 3

Re: [SOLVED] Can't boot, /proc/cmdline isn't found, fails mount real root

Forgot to update this post, but reinstalling everything did the trick. I don't know why I never thought to do that.

Offline

#6 2023-09-08 18:01:57

seth
Member
Registered: 2012-09-03
Posts: 51,456

Re: [SOLVED] Can't boot, /proc/cmdline isn't found, fails mount real root

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.

Offline

Board footer

Powered by FluxBB