Score:0

How to pass kernel modules to initramfs

sv flag

everyone.

I need to add the kernel modules for Nvidia, like

nvidia nvidia_modeset nvidia_uvm nvidia_drm

and regenerate initramfs after. I know how to do this with mkinitcpio but couldn't find the correspondent method on Ubuntu. What file do I need to edit with syntax and how to regenerate after?

Score:0
cn flag

You can regenerate initramfs by

sudo update-initramfs -u

You can add modules to /etc/modules file.

But it looks like you are doing something wrong, since this is done automatically when you install drivers.

kindaichi avatar
sv flag
Even these additional modules I said in the post? I'm trying to fix an issue where the screen returns broken from suspend. On Arch-based systems I can do this with early loading of Nvidia drivers like above.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.