You are not logged in.
I just did my first install of Arch (with /, home, and var on separate partitions with luks encryption) and tried to upgrade it. There was an error that, according to a post in the forums, could be fixed by doing pacman -Syuf. I foolishly ran this and now when I boot my system it spits out the following error messages and then throws me into an emergency shell:
/etc/rc.sysinit: line 15: mountpoint: command not found
mount: proc already mounted
/etc/rc.sysinit: line 16: mountpoint: command not found
mount: /sys already mounted or /sys busy
mount: according to mtab, /sys is already mounted on /sys
/etc/rc.sysinit: line 17: mountpoint: command not found
/etc/rc.sysinit: line 18: mountpoint: command not found
mount: udev already mounted or /dev busy
mount: according to mtab, udev is already mounted on /dev
/etc/rc.sysinit: line 22: mountpoint: command not found
/etc/rc.sysinit: line 24: mountpoint: command not found
bootlogd: cannot find console device 4:1 under /dev
fsck.ext4: No such file or directory while trying to open /dev/mapper/root
Possibly non-existent device?
How do I fix this?
From the emergency shell:
When I type "whereis mountpoint" it returns "mountpoint: " same for util-linux
If I try to install mountpoint or util-linux with pacman it says database path is undefined, failed to init transaction, you can remove (null).
Last edited by Thal3s (2012-01-07 23:31:35)
Offline
You broke things by running -Syuf (mountpoint was deleted in the process as it moved from sysvinit to util-linux). Reinstall util-linux.
...And please point out where it was recommended to run pacman with those exact flags.
Offline
When I try to install util-linux (from the emergency shell) pacman returns:
error: database path is undefined
error: failed to init transaction (unable to lock database)
if you're sure a package manager is not already
running, you can remove (null)
It didn't do this before I forced the update. I assume part of it is because the system can't seem to connect to the internet (ping -c 3 google.com fails) even though eth0 is connected and worked before the update and none of my setting is /etc/rc.conf have changed. Could this be because it can't find dev/mapper/root (even though /var has it's own partition and seems to be mounted)? If this is all caused by the forced update, how do I fix the internet connection and pacman? I checked the forums but the solutions don't seem to be related to a forced update.
I've been trying to find the post that suggested using the force option but have so far been unsuccessful. I'll keep looking and post it here if I find it.
Offline
Similar errors were reported https://bbs.archlinux.org/viewtopic.php?pid=1033600 and https://bbs.archlinux.org/viewtopic.php?id=122399
Offline
Thanks for the help. It looks like reinstalling is pretty much the only option.
Offline
I had the same problem, after doing a pacman -Syu --force. I also found the post that said this was needed: http://www.archlinux.org/news/filesyste … -required/ But: this post actually said we should do pacman -Sf filesystem, and then do a pacman -Syu afterwards. I guess this was not stated as explicitly as it could have been, as myself and Thal3s just did a pacman -Syuf. In my case, reinstalling util-linux did fix the problem.
Offline
pacman -S util-linux
did the trick
No cause is lost if there is but one fool left to fight for it.
Offline
pacman -S util-linux
did the trick
apparently it worked for me too
thanks
Offline