You are not logged in.

#1 2012-01-02 16:46:41

Thal3s
Member
Registered: 2012-01-02
Posts: 10

[SOLVED] /etc/rc.sysinit: line 15: mountpoint: command not found

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

#2 2012-01-02 17:08:42

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: [SOLVED] /etc/rc.sysinit: line 15: mountpoint: command not found

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

#3 2012-01-02 18:55:57

Thal3s
Member
Registered: 2012-01-02
Posts: 10

Re: [SOLVED] /etc/rc.sysinit: line 15: mountpoint: command not found

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

#4 2012-01-02 19:10:37

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] /etc/rc.sysinit: line 15: mountpoint: command not found

Offline

#5 2012-01-07 23:29:32

Thal3s
Member
Registered: 2012-01-02
Posts: 10

Re: [SOLVED] /etc/rc.sysinit: line 15: mountpoint: command not found

Thanks for the help. It looks like reinstalling is pretty much the only option.

Offline

#6 2012-01-14 11:39:07

AsmundEr
Member
From: Trondheim, Norway
Registered: 2010-05-07
Posts: 15

Re: [SOLVED] /etc/rc.sysinit: line 15: mountpoint: command not found

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

#7 2012-04-04 11:16:13

sevenfourk
Member
Registered: 2008-02-21
Posts: 185

Re: [SOLVED] /etc/rc.sysinit: line 15: mountpoint: command not found

pacman -S util-linux

did the trick


No cause is lost if there is but one fool left to fight for it.

Offline

#8 2012-04-12 14:27:57

voskakism
Member
From: Athens, Greece
Registered: 2009-04-16
Posts: 6

Re: [SOLVED] /etc/rc.sysinit: line 15: mountpoint: command not found

sevenfourk wrote:
pacman -S util-linux

did the trick

apparently it worked for me too
thanks

Offline

Board footer

Powered by FluxBB