Home | News | Download | Packages | Forum | Wiki | Github

No crc32 module found by dracut


#1

Hey there, I’m using f2fs for my root partition and for it to boot properly I need “crypto-crc32 crc32-intel” modules, but the problem is that dracut can’t find and install the modules.

dracut --listmodules returns

dracut: Executing: /usr/bin/dracut --list-modules crypt
bash
bootchart
dash
fips
caps
fips-aesni
modsign
rescue
watchdog
busybox
i18n
convertfs
ifcfg
url-lib
drm
gensplash
plymouth
cms
btrfs
crypt
dm
dmraid
dmsquash-live
kernel-modules
kernel-network-modules
lvm
mdraid
multipath
qemu
qemu-net
crypt-gpg
crypt-loop
cifs
dasd
dasd_mod
dasd_rules
debug
fcoe-uefi
fstab-sys
resume
rootfs-block
ssh-client
terminfo
udev-rules
virtfs
zfcp_rules
securityfs
biosdevname
masterkey
ecryptfs
integrity
pollcdrom
selinux
syslog
usrmount
base
fs-lib
img-lib
shutdown
uefi-lib

Maybe I can use “MODULES” in rc.conf and forget about initrd altogether? Or is there something I’m missing with dracut?

dracut --force --hostonly ‘’ 4.9.7_1 returns

dracut: Executing: /usr/bin/dracut --force --hostonly  4.9.7_1
dracut: dracut module 'bootchart' will not be installed, because command '/sbin/bootchartd' could not be found!
dracut: dracut module 'modsign' will not be installed, because command 'keyctl' could not be found!
dracut: dracut module 'busybox' will not be installed, because command 'busybox' could not be found!
dracut: dracut module 'url-lib' will not be installed, because command 'curl' could not be found!
dracut: dracut module 'plymouth' will not be installed, because command 'plymouthd' could not be found!
dracut: dracut module 'plymouth' will not be installed, because command 'plymouth' could not be found!
dracut: dracut module 'plymouth' will not be installed, because command 'plymouth-set-default-theme' could not be found!
dracut: dracut module 'dm' will not be installed, because command 'dmsetup' could not be found!
dracut: dracut module 'dmraid' will not be installed, because command 'dmraid' could not be found!
dracut: dracut module 'lvm' will not be installed, because command 'lvm' could not be found!
dracut: dracut module 'mdraid' will not be installed, because command 'mdadm' could not be found!
dracut: dracut module 'multipath' will not be installed, because command 'multipath' could not be found!
dracut: dracut module 'crypt-gpg' will not be installed, because command 'gpg' could not be found!
dracut: dracut module 'cifs' will not be installed, because command 'mount.cifs' could not be found!
dracut: dracut module 'fcoe-uefi' will not be installed, because command 'dcbtool' could not be found!
dracut: dracut module 'fcoe-uefi' will not be installed, because command 'fipvlan' could not be found!
dracut: dracut module 'fcoe-uefi' will not be installed, because command 'lldpad' could not be found!
dracut: dracut module 'biosdevname' will not be installed, because command 'biosdevname' could not be found!
dracut: dracut module 'masterkey' will not be installed, because command 'keyctl' could not be found!
dracut: dracut module 'crypto-crc32' cannot be found or installed.

#2

Those are kernel modules afaik. where do you got the information that you need to do something with dracut? fs-lib should already include those.


#3

Dracut creates initramfs, correct?

On arch-wiki it says that if root is on f2fs, one should include those modules into the initramfs.

I know that I didn’t use initramfs at all on my gentoo installation, but I can not theck, without unpacking my 40Gb tar archive.

The problem is that I can not mount f2fs at boot. I will check what it says and update this message. (I’m currently working from void live cd)


#4

Dracut and mkinitcpio are different. MODULES in mkinitcpio would be add_drivers= or force_drivers.
See man dracut.conf.


#5

You are absolutely correct, thank you very much!
System boots perfectly.

May I ask you another question?

For some reason, boot entry created by xbps-reconfigure -f linux4.9 gets ignored, while manually created works OK.

Boot0000* Void Linux with kernel 4.9    HD(1,GPT,db21d345-49d0-4327-99c2-1ad6c0a9a5ac,0x800,0x40000)/File(\vmlinuz-4.9.7_1)r.o.o.t.=./.d.e.v./.s.d.a.2. .i.n.i.t.r.d.=./.i.n.i.t.r.a.m.f.s.-.4...9...7._.1...i.m.g.
Boot0001* Void Linux    HD(1,GPT,db21d345-49d0-4327-99c2-1ad6c0a9a5ac,0x800,0x40000)/File(\vmlinuz-4.9.7_1)r.o.o.t.=./.d.e.v./.s.d.a.2. .r.w. .i.n.i.t.r.d.=./.i.n.i.t.r.a.m.f.s.-.4...9...7._.1...i.m.g.

Second one was created manually. What can be the problem?

I use efibootmgr.