Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Another solution is shrinking the size of your initramfs. If you want to remove kernel modules from initramfs, have a look at man dracut.conf. Basically you'll need a file in /etc/dracut.conf.d/ with a line like this: omit_drivers+=" usb-storage uas ums-* snd soundcore snd-* ". As dracut does not put all kernel modules into your initramfs, you might want to use lsinitrd on a file in /boot/initramfs-4.[…].img before and have a look at all the kernel modules in your initramfs. lsinitrd /boot/initramfs-4.[…].img | less should be enough. Then search for files below usr/lib/modules/ which are the kernel modules present in your initramfs. Please note that removing essential modules might break your boot.