On Sat, 6 Aug 2022 10:59:06 -0500 Ian Pilcher <arequipeno@xxxxxxxxx> wrote: > Anyone know the trick to getting dracut to include the udev rules in > /etc/udev/rules.d in the initramfs that it builds? > > I'm sure that there's a way to include a specific file, but it really > seems like there ought to be a way to include all of the udev rules. > (Frankly, it seems like that ought to be the default.) > As it happens, I have been having some problems with dracut generated initramfs' for the last few weeks. So, I have been looking into the options. The default initramfs is built with --hostonly, which puts in the initramfs only the items needed to boot the particular system that initramfs will be used for. You can use --no-hostonly, to get a generic (larger) initramfs that *should* contain more of the udevd rules. The module you want is /usr/lib/dracut/modules.d/95udev-rules. You can specify explicitly that it be included with --add 95udev-rules on the dracut command line. There is also a rescue package. That is used to build a rescue kernel, which is supposed to include everything, and might do what you want. _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue