How can I ensure the `snd-hda-intel` module is loaded on startup?

Solution 1:

Add snd-hda-intel to the end of the file /etc/modules. This will make the snd-hda-intel module load up automatically at boot time.

You can use: sudo sh -c 'echo "snd-hda-intel" >> /etc/modules' to do this.

Solution 2:

In /etc/modules you can put every module (one per line) for those you need to load at boot time.

Running this command will append the module to the file:

echo "snd-hda-intel" | sudo tee -a /etc/modules