Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: After /usr conflation: why not copy booting software to /sbin rather than initramfs?
Date: Wed, 04 Apr 2012 00:04:40
Message-Id: 4F7B8FAC.4040207@gmail.com
In Reply to: Re: [gentoo-user] Re: After /usr conflation: why not copy booting software to /sbin rather than initramfs? by "Canek Peláez Valdés"
1 Canek Peláez Valdés wrote:
2
3 >
4 > I do. I don't use LVM, so i didn't had neither USE=device-mapper, nor
5 > DRACUT_MODULES=lvm, so I add them. Then I tried to create my initramfs
6 > with LVM, and like in your case, it failed. Using the --debug option
7 > for dracut, it *seems* (it's really verbose and I didn't read
8 > everything), it seems that it doesn't "find" the lvm module not
9 > because it's not there, but because I actually don't have any LVM
10 > volumes.
11 >
12 > So I removed the -H option for dracut to stop looking at my host
13 > status, and lo and behold, it included the LVM module. So please, try
14 > that.
15 >
16 > If it works, then there is two options:
17 >
18 > 1. Dracut has a bug that stops it from detecting your host LVM status;
19 > maybe it only checks the "important" or standard partitions, or maybe
20 > the checking process itself has a bug.
21 >
22 > 2. Your LVM configuration (while it works) it's not "canonically" detectable.
23 >
24 > Either case, please try re-creating your dracut initramfs without the
25 > -H option. I think that's the last problem (the other "problem" was
26 > that you got scared with the humongous debug output that dracut
27 > generates with dr.debug), and so we can then finally put this case to
28 > rest.
29 >
30 > Regards.
31
32
33 Not so fast there Tex. This ain't over but the fat lady may be clearing
34 her throat. Riddle me this Batman. I tried it without the -H. That
35 was much better. No boo boos. But wait. This is me you know. ;-)
36
37 When I boot, lvm fails to start. After it boots to a console and I
38 login, I can restart lvm and
39 it works fine. So, when I boot, the drive that is set up for lvm isn't
40 working. It's not a big deal right now but it is about to be when /usr
41 gets put on lvm. If I put /usr on lvm, Houston, we have a problem. May
42 not boot right at all.
43
44 At this point, this fails regardless of the kernel. I may try some
45 older kernels in a bit tho. Also, it no longer matters if I use the
46 init thingy either. It fails either way. Looks like the init thingy is
47 working, until I break it anyway. Give me time. lol
48
49 Canek, I know you don't use lvm so, anybody have any ideas? Maybe a new
50 thread since this may not be init thingy related.
51
52 Well, I rebooted and wrote down the errors then searched a bit. I found
53 this:
54
55 http://speeves.erikin.com/2012/01/root-your-box-and-mount-lvm-partitions.html
56
57 So, it seems that / needs to be mounted rw so that lvm can start. How
58 do I fix this you reckon? Doesn't the init thingy do that or is that
59 done after the init thingy is done?
60
61 <sighs>
62
63 Dale
64
65 :-) :-)
66
67 --
68 I am only responsible for what I said ... Not for what you understood or
69 how you interpreted my words!
70
71 Miss the compile output? Hint:
72 EMERGE_DEFAULT_OPTS="--quiet-build=n"

Replies