Install cloud-initramfs-copymods by entering the following commands in the terminal:
sudo apt update sudo apt install cloud-initramfs-copymods
copy initramfs modules into root filesystem for later use
When booting with an external-to-root kernel and initramfs, you need to ensure that /lib/modules contains any necessary modules not already loaded. . This package arranges for the modules in the initramfs to be placed into /lib/modules after the switchroot is done.