1 |
On 5 April 2012 15:42, Neil Bothwick <neil@××××××××××.uk> wrote: |
2 |
|
3 |
> On Thu, 05 Apr 2012 17:59:42 +0200, Dan Johansson wrote: |
4 |
> |
5 |
> > > > I have a similar thing on my ~x86, but the difference is that I know |
6 |
> > > > why I get it. I have successfully be able to create an initramfs |
7 |
> > > > that does a vgscan, vgchange -a y and mounts /usr (which is on |
8 |
> > > > LVM). But now I (naturally) I get "LVM failed to start" (and of |
9 |
> > > > cause "failed to mount /usr) when openrc processes the |
10 |
> > > > init-scripts. |
11 |
> > > |
12 |
> > > This is not down to your initramfs, see the previously linked bug. |
13 |
> > |
14 |
> > What do you mean by "This is not down to your initramfs"? |
15 |
> > With the new "C:\" concept of udev /usr needs to be mounted |
16 |
> > before /sbin/init is run and as I am using LVM, LVM needs to be started |
17 |
> > before /sbin/init as well - or have I missed something here? |
18 |
> |
19 |
> You are getting this error from openrc, which means the initramfs |
20 |
> has already done its stuff and passed control to init on the real root |
21 |
> partition. At this point /usr is already mounted, it is the openrc |
22 |
> startup of LVM that is failing, because it is trying to write a lockfile |
23 |
> to a read-only filesystem, which would be the case even if you were not |
24 |
> using an initramfs. |
25 |
> |
26 |
> The problem is that it is trying to write to /var/lock, which is on / at |
27 |
> this point, rather than /run/lock, which is on a writeable tmpfs. |
28 |
> |
29 |
> |
30 |
> -- |
31 |
> Neil Bothwick |
32 |
> |
33 |
> Bus: (n.) a connector you plug money into, something like a slot machine. |
34 |
> |
35 |
|
36 |
|
37 |
I got this error, and saw a bugfile on Gentoo, just downgrade to your |
38 |
previous working version and you will get it working again. |
39 |
-- |
40 |
Carlos Sura.- |
41 |
www.carlossura.com |