Step 1
let’s list the block devices
lsblk
if you are not using any floppy disk, there is no reason to have fd0 listed in the output of the command above.
Step 2
rmmod floppy
“rmmod is a simple program which removes (unloads) a module from the Linux kernel.” Now run step 1 again to verify that the fd0 is no longer listed.
Step 3
Run the following command to make the changes permanent
echo "blacklist floppy" | sudo tee /etc/modprobe.d/blacklist-floppy.conf
This command just create a file name blacklist-floppy.conf in the /etc/modprobe.d folder and appends the text “blacklist floppy” to it.
Step 4
The last step is to reconfigure the kernel
dpkg-reconfigure initramfs-tools