On Sat, Mar 14, 2015 at 7:54 PM, Dale <[email protected]> wrote: > Howdy, > > I'm going to try to keep my cool but ya know. I built me a updated > kernel, 3.18.9 to be more precise. A few weeks ago dracut was updated. > It went to version dracut-041. Well, it wouldn't build anything. It > spit out a bunch of stuff about not finding things that I know is > installed such as lvm2. Example below: > > === Sat Mar 14 16:58:16 CDT 2015 === > > I: Executing: /usr/bin/dracut -H --force /boot/initramfs-3.18.9-1 > I: dracut module 'bootchart' will not be installed, because command > '/sbin/bootchartd' could not be found! > I: dracut module 'dash' will not be installed, because command > '/bin/dash' could not be found! > I: dracut module 'modsign' will not be installed, because command > 'keyctl' could not be found! > I: dracut module 'network' will not be installed, because command > 'dhclient' could not be found! > I: dracut module 'plymouth' will not be installed, because command > 'plymouthd' could not be found! > I: dracut module 'plymouth' will not be installed, because command > 'plymouth' could not be found! > I: dracut module 'btrfs' will not be installed, because command 'btrfs' > could not be found! > I: dracut module 'crypt' will not be installed, because command > 'cryptsetup' could not be found! > I: dracut module 'dmraid' will not be installed, because command > 'dmraid' could not be found! > I: dracut module 'multipath' will not be installed, because command > 'multipath' could not be found! > I: dracut module 'cifs' will not be installed, because command > 'mount.cifs' could not be found! > I: dracut module 'fcoe-uefi' will not be installed, because command > 'dcbtool' could not be found! > I: dracut module 'fcoe-uefi' will not be installed, because command > 'fipvlan' could not be found! > I: dracut module 'fcoe-uefi' will not be installed, because command > 'lldpad' could not be found! > I: dracut module 'iscsi' will not be installed, because command > 'iscsistart' could not be found! > I: dracut module 'iscsi' will not be installed, because command > 'iscsi-iname' could not be found! > I: 95nfs: Could not find any command of 'rpcbind portmap'! > I: dracut module 'biosdevname' will not be installed, because command > 'biosdevname' could not be found! > I: dracut module 'masterkey' will not be installed, because command > 'keyctl' could not be found! > E: dracut module 'lvm2' cannot be found or installed. > > > Now after all that, it just stops and doesn't build a init thingy. > Nothing gets added to /boot. So, I go back to version 034-r4 and it > works as it should, and has before. Example: > > === Sat Mar 14 18:23:25 CDT 2015 === > > I: Executing: /usr/bin/dracut --force /boot/initramfs-3.18.9-1.img > E: dracut module 'lvm2' cannot be found or installed. > E: dracut module 'fstab-sys' cannot be found or installed. > E: dracut module 'lvm2' cannot be found or installed. > E: dracut module 'fstab-sys' cannot be found or installed. > I: *** Including module: bash *** > I: *** Including module: i18n *** > I: *** Including module: kernel-modules *** > I: *** Including module: resume *** > I: *** Including module: rootfs-block *** > I: *** Including module: terminfo *** > I: *** Including module: udev-rules *** > I: Skipping udev rule: 91-permissions.rules > I: Skipping udev rule: 80-drivers-modprobe.rules > I: *** Including module: usrmount *** > I: *** Including module: base *** > I: *** Including module: fs-lib *** > I: *** Including module: shutdown *** > I: *** Including modules done *** > I: *** Installing kernel module dependencies and firmware *** > I: *** Installing kernel module dependencies and firmware done *** > I: *** Resolving executable dependencies *** > I: *** Resolving executable dependencies done*** > I: *** Stripping files *** > I: *** Stripping files done *** > I: *** Creating image file *** > I: *** Creating image file done *** > > > That version at least builds the init thingy for me to use. So, > question. Why is the old version working but the new version isn't? > Why is it not finding lvm2 when I know it is installed because > everything but /boot and / is on lvm? Why does it seem like I went > through this once before? >
The dracut module for lvm is called 'lvm', not 'lvm2'. Do you have something like dracutmodules+="lvm2" in dracut.conf?

