Gentoo Archives: gentoo-user

From: Mike Gilbert <floppym@g.o>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Stupid init thingy. It's on my nerve, again.
Date: Sun, 15 Mar 2015 00:57:22
Message-Id: CAJ0EP43p3BrjUKbGeWzSpRM_J2fH-07rgAQXoKaVHmNRdY_=ig@mail.gmail.com
In Reply to: [gentoo-user] Stupid init thingy. It's on my nerve, again. by Dale
1 On Sat, Mar 14, 2015 at 7:54 PM, Dale <rdalek1967@×××××.com> wrote:
2 > Howdy,
3 >
4 > I'm going to try to keep my cool but ya know. I built me a updated
5 > kernel, 3.18.9 to be more precise. A few weeks ago dracut was updated.
6 > It went to version dracut-041. Well, it wouldn't build anything. It
7 > spit out a bunch of stuff about not finding things that I know is
8 > installed such as lvm2. Example below:
9 >
10 > === Sat Mar 14 16:58:16 CDT 2015 ===
11 >
12 > I: Executing: /usr/bin/dracut -H --force /boot/initramfs-3.18.9-1
13 > I: dracut module 'bootchart' will not be installed, because command
14 > '/sbin/bootchartd' could not be found!
15 > I: dracut module 'dash' will not be installed, because command
16 > '/bin/dash' could not be found!
17 > I: dracut module 'modsign' will not be installed, because command
18 > 'keyctl' could not be found!
19 > I: dracut module 'network' will not be installed, because command
20 > 'dhclient' could not be found!
21 > I: dracut module 'plymouth' will not be installed, because command
22 > 'plymouthd' could not be found!
23 > I: dracut module 'plymouth' will not be installed, because command
24 > 'plymouth' could not be found!
25 > I: dracut module 'btrfs' will not be installed, because command 'btrfs'
26 > could not be found!
27 > I: dracut module 'crypt' will not be installed, because command
28 > 'cryptsetup' could not be found!
29 > I: dracut module 'dmraid' will not be installed, because command
30 > 'dmraid' could not be found!
31 > I: dracut module 'multipath' will not be installed, because command
32 > 'multipath' could not be found!
33 > I: dracut module 'cifs' will not be installed, because command
34 > 'mount.cifs' could not be found!
35 > I: dracut module 'fcoe-uefi' will not be installed, because command
36 > 'dcbtool' could not be found!
37 > I: dracut module 'fcoe-uefi' will not be installed, because command
38 > 'fipvlan' could not be found!
39 > I: dracut module 'fcoe-uefi' will not be installed, because command
40 > 'lldpad' could not be found!
41 > I: dracut module 'iscsi' will not be installed, because command
42 > 'iscsistart' could not be found!
43 > I: dracut module 'iscsi' will not be installed, because command
44 > 'iscsi-iname' could not be found!
45 > I: 95nfs: Could not find any command of 'rpcbind portmap'!
46 > I: dracut module 'biosdevname' will not be installed, because command
47 > 'biosdevname' could not be found!
48 > I: dracut module 'masterkey' will not be installed, because command
49 > 'keyctl' could not be found!
50 > E: dracut module 'lvm2' cannot be found or installed.
51 >
52 >
53 > Now after all that, it just stops and doesn't build a init thingy.
54 > Nothing gets added to /boot. So, I go back to version 034-r4 and it
55 > works as it should, and has before. Example:
56 >
57 > === Sat Mar 14 18:23:25 CDT 2015 ===
58 >
59 > I: Executing: /usr/bin/dracut --force /boot/initramfs-3.18.9-1.img
60 > E: dracut module 'lvm2' cannot be found or installed.
61 > E: dracut module 'fstab-sys' cannot be found or installed.
62 > E: dracut module 'lvm2' cannot be found or installed.
63 > E: dracut module 'fstab-sys' cannot be found or installed.
64 > I: *** Including module: bash ***
65 > I: *** Including module: i18n ***
66 > I: *** Including module: kernel-modules ***
67 > I: *** Including module: resume ***
68 > I: *** Including module: rootfs-block ***
69 > I: *** Including module: terminfo ***
70 > I: *** Including module: udev-rules ***
71 > I: Skipping udev rule: 91-permissions.rules
72 > I: Skipping udev rule: 80-drivers-modprobe.rules
73 > I: *** Including module: usrmount ***
74 > I: *** Including module: base ***
75 > I: *** Including module: fs-lib ***
76 > I: *** Including module: shutdown ***
77 > I: *** Including modules done ***
78 > I: *** Installing kernel module dependencies and firmware ***
79 > I: *** Installing kernel module dependencies and firmware done ***
80 > I: *** Resolving executable dependencies ***
81 > I: *** Resolving executable dependencies done***
82 > I: *** Stripping files ***
83 > I: *** Stripping files done ***
84 > I: *** Creating image file ***
85 > I: *** Creating image file done ***
86 >
87 >
88 > That version at least builds the init thingy for me to use. So,
89 > question. Why is the old version working but the new version isn't?
90 > Why is it not finding lvm2 when I know it is installed because
91 > everything but /boot and / is on lvm? Why does it seem like I went
92 > through this once before?
93 >
94
95 The dracut module for lvm is called 'lvm', not 'lvm2'. Do you have
96 something like dracutmodules+="lvm2" in dracut.conf?

Replies

Subject Author
Re: [gentoo-user] Stupid init thingy. It's on my nerve, again. Dale <rdalek1967@×××××.com>