On 5 April 2012 15:42, Neil Bothwick <n...@digimed.co.uk> wrote:

> 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.
>
>
> --
> Neil Bothwick
>
> Bus: (n.) a connector you plug money into, something like a slot machine.
>


I got this error, and saw a bugfile on Gentoo, just downgrade to your
previous working version and you will get it working again.
-- 
Carlos Sura.-
www.carlossura.com

Reply via email to