mocaccinoOS / mocaccino

:musical_score: where magic happens
69 stars 7 forks source link

updating /etc/modprobe.d/*.conf requires initramfs rebuild after every change #33

Closed jcfrosty closed 2 years ago

jcfrosty commented 3 years ago

Installing Nvidia-drivers has shown that the added config file /etc/modprobe.d/nvidia.conf is being ignored. nouveau is still being loaded even though its blacklisted. Currently, blacklisting modules requires grub cmdline additions. modprobe.blacklist=nouvaeu until you rebuild the initramfs.

finalize.yaml should require:

mos kernel gi --all --grub --set-links

this will rebuild initramfs to include new driver modules and update modprobe config rules.

msdobrescu commented 3 years ago

Additionally, Nouveau should be a separate package as nvidia is. Ideally, blacklisting should have been enabled in the kernel, right?