List Archive: gentoo-user
Note: Due to technical difficulties, the Archives are currently not up to date.
provides an alternative service for most mailing lists.c.f. bug 424647
On Thu, 05 Apr 2012 17:59:42 +0200, Dan Johansson wrote:
> > > I have a similar thing on my ~x86, but the difference is that I know
> > > why I get it. I have successfully be able to create an initramfs
> > > that does a vgscan, vgchange -a y and mounts /usr (which is on
> > > LVM). But now I (naturally) I get "LVM failed to start" (and of
> > > cause "failed to mount /usr) when openrc processes the
> > > init-scripts.
> > This is not down to your initramfs, see the previously linked bug.
> What do you mean by "This is not down to your initramfs"?
> With the new "C:\" concept of udev /usr needs to be mounted
> before /sbin/init is run and as I am using LVM, LVM needs to be started
> before /sbin/init as well - or have I missed something here?
You are getting this error from openrc, which means the initramfs
has already done its stuff and passed control to init on the real root
partition. At this point /usr is already mounted, it is the openrc
startup of LVM that is failing, because it is trying to write a lockfile
to a read-only filesystem, which would be the case even if you were not
using an initramfs.
The problem is that it is trying to write to /var/lock, which is on / at
this point, rather than /run/lock, which is on a writeable tmpfs.
Bus: (n.) a connector you plug money into, something like a slot machine.