Why does dracut remove wireless modules? #2514
Replies: 3 comments
-
This is really old stuff (9dcf9ce). Although it has no explanation, I assume the reason is that it adds drivers that are not really necessary for a common use case.
As the referenced commit says, you can create a custom dracut module (i.e. |
Beta Was this translation helpful? Give feedback.
-
I can report limited achievements on Fedora (so using the network-manager module in dracut): I needed to include the wireless kernel modules (iwlwifi, iwlmvm in my case) through a dracut config, I also needed to manually include files from the firmware package (e.g. iwlwifi-so-a0-gf-a0.pnvm.xz) which weren't being picked up automatically by dracut, and libnm-device-plugin-wifi.so from the NetworkManager-wifi package. At this point nmcli on the dracut emergency shell could see and recognise the wireless device, however it doesn't activate it despite my also including the relevant connection file from /etc/NetworkManager/system-connections/ I see SuSE has (or had?) a dracut-wireless package, suggesting this needs more than the above to work. |
Beta Was this translation helpful? Give feedback.
-
CC @nadvornik (person involved with dracut-wireless package) . Thanks ! |
Beta Was this translation helpful? Give feedback.
-
I'd like to be able to bring up wifi in the initramfs to work with NBDE but dracut removes wireless support:
https://github.com/dracutdevs/dracut/blob/056/modules.d/90kernel-network-modules/module-setup.sh#L15
First I'm wanting to understand why it is removed and second, I'd like to learn what would be involved to DIY this, unless it is not possible for some reason.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions