$ sudo apt install dracut-core
To create a new image file
$ sudo mkinitrd -f /boot/initrd.img-5.11.0-051100-generic 5.11.0-051100-generic
To display verbose output during the creation of the image file
$ sudo mkinitrd -v -f /boot/initrd.img-5.11.0-051100-generic 5.11.0-051100-generic
regards,
T.Dhanasekar