Jump to content
Read the Funtoo Newsletter: Summer 2023 ×
  • 0

Adding a few modules to initramfs



I want to ask a few questions before I take action.  I think it's better than asking questions after I have broken my system.  ?

In /etc/genkernel.conf we can add all of the kernel modules to the initramfs by un-commenting the following line:


# =========MISC INITRD CONFIGURATION============
# Copy all kernel modules to the ramdisk


This seems like it's all or nothing.  I just want to add the proprietary Nvidia drivers and the ath9k drivers for my usb WNIC in this case but it could be handy for quite a few other things as well.  In Gentoo groups of pre-defined modules can be loaded from /usr/share/genkernel/defaults/modules_load and this file does exist in Funtoo but the related section is missing from /etc/genkernel.conf.  Is it safe to enable this in Funtoo?  If so I could easily add custom modules from there.  If it isn't safe is there a better way to do this?



Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...