Re: dracut not including udev rules in initramfs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux