Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Stupid init thingy. It's on my nerve, again.
Date: Sun, 15 Mar 2015 09:41:48
Message-Id: 550553D2.6070602@gmail.com
In Reply to: Re: [gentoo-user] Stupid init thingy. It's on my nerve, again. by Mike Gilbert
1 Mike Gilbert wrote:
2 > On Sat, Mar 14, 2015 at 7:54 PM, Dale <rdalek1967@×××××.com> wrote:
3 >> Howdy,
4 >>
5 >> I'm going to try to keep my cool but ya know. I built me a updated
6 >> kernel, 3.18.9 to be more precise. A few weeks ago dracut was updated.
7 >> It went to version dracut-041. Well, it wouldn't build anything. It
8 >> spit out a bunch of stuff about not finding things that I know is
9 >> installed such as lvm2. Example below:
10 >>
11 >> << SNIP >>
12 >>
13 >> That version at least builds the init thingy for me to use. So,
14 >> question. Why is the old version working but the new version isn't?
15 >> Why is it not finding lvm2 when I know it is installed because
16 >> everything but /boot and / is on lvm? Why does it seem like I went
17 >> through this once before?
18 >>
19 > The dracut module for lvm is called 'lvm', not 'lvm2'. Do you have
20 > something like dracutmodules+="lvm2" in dracut.conf?
21 >
22 >
23
24
25 I had tried both with no change. I did notice this tho when trying the
26 new version again.
27
28 [ebuild U ~] sys-kernel/dracut-041::gentoo [034-r4::gentoo]
29 USE="-debug (-selinux) -systemd% (-device-mapper%*) (-net%)"
30 DRACUT_MODULES="(-biosdevname%) (-bootchart%) (-btrfs%) (-caps%)
31 (-cifs%) (-crypt%) (-crypt-gpg%) (-crypt-loop%) (-dash%) (-dmraid%)
32 (-dmsquash-live%) (-gensplash%) (-iscsi%) (-livenet%) (-lvm%) (-mdraid%)
33 (-multipath%) (-nbd%) (-nfs%) (-plymouth%) (-ssh-client%) (-syslog%)
34 (-systemd%)"
35
36 It seems that everything is disabled regardless of what I put in
37 make.conf or dracuts conf file. So, how does one tell dracut to enable
38 lvm? I don't think I need the other stuff. Having lvm would be nice
39 tho. ;-) It seems to work with the old version just fine but this new
40 version has something different. I couldn't find anything in the build
41 log file to give me a hint. Forums didn't help any either, although I
42 did find a post with the same question I am asking. Just no answer. :/
43
44 Thanks.
45
46 Dale
47
48 :-) :-)

Replies

Subject Author
Re: [gentoo-user] Stupid init thingy. It's on my nerve, again. Mike Gilbert <floppym@g.o>