20-lvm.conf: needs space before and after lvm
haraldh opened this issue · comments
buddy-linux/assets/dracut/20-lvm.conf
Line 4 in 2bf1801
needs space before and after lvm:
https://github.com/antonio-petricca/buddy-linux/blob/master/assets/dracut/20-lvm.conf#L4
add_dracutmodules+=" lvm "
Hi, I have fixed it into the development branch and tried again to rebuild, but ufsd and netconsole have not been added.
Attached you can find the Dracut log.
Thank you!
What is the output of:
$ modinfo crc32c
??
What is the output of dracut with --debug
added?
modinfo crc32
modinfo: ERROR: Module crc32c not found.
Here is the dracut debug log file.
Thank you!
Here is the culprit:
//etc/dracut.conf.d/10-debian.conf@3(source): add_drivers+='crc32c '
So, here is the "bug":
10-debian.conf
explicitly requests crc32c
and since add_drivers
is handled with instmods -c
, it fails, if the module is not available. omit_drivers
does not work here, because add_drivers
was used explicitly for this module.
The fix for you is to remove /etc/dracut.conf.d/10-debian.conf
If this is installed by debian you might want to file a bug, that the module is not available for the kernel and fails always.
Sidenote: looks like /etc/dracut.conf.d/10-debian.conf is missing a space anyway.
Oh, and because crc32c
was the first in add_modules
, the following netconsole ufsd
are not installed, because it bails out early.
better use instmods netconsole ufsd
in module-setup.sh
:
installkernel() {
instmods netconsole ufsd
}
I confirm you that 10-debian.conf comes from the stock installation of Linux Mint 19.
I reported this issue to the Linux Mint staff by this topic.
Now my Buddy Linux works again! 👍
Thank you very much for your assistance,
Antonio