Commenting out the sync command in the generate_initramfs function of /usr/sbin/update-initramfs worked for me.
Commenting out the sync command in the generate_initramfs function of /usr/sbin/ update- initramfs worked for me.