Introduction
I was creating a new virtual machine in my development environment and was getting a kernel error complaining about the floppy drive. Well I use VMWare Fusion and I don’t configure the virtual machine to have a floppy. This time I configured the VM to use UEFI. Wouldn’t you know it, UEFI creates a floppy controller. And guess what? You can’t disable it. Follow the steps below to take care of the problem.
Steps
-
- First we need to blacklist the floppy kernel module. So type the following
sudo echo "blacklist floppy" > /etc/modprobe.d/blacklist-floppy.conf
- Next we need to update the initial ramdisk. Type the follosing:
sudo update-initramfs -u
- Now update grub. Type:
sudo update-grub
- Time to reboot the system. Type:
sudo reboot
- First we need to blacklist the floppy kernel module. So type the following
Conclusion
Just a few commands and your console won’t be plastered with floppy drive errors.