Ubuntu – Switch to a targeted initrd after setup

initramfskernelserver

During the Ubuntu Server setup, I was given a choice to install a 'targeted' initrd with only the modules my computer needs. I chose the other option, 'generic'. How can I install a 'targeted' initrd now that I've already installed my system?

Best Answer

Edit /etc/initramfs-tools/initramfs.conf and change

MODULES=most

to

MODULES=dep

then run

update-initramfs -u
Related Question