Ubuntu: Disable Floppy Drive

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

    1. First we need to blacklist the floppy kernel module. So type the following
      sudo echo "blacklist floppy" > /etc/modprobe.d/blacklist-floppy.conf
    2. Next we need to update the initial ramdisk. Type the follosing:
      sudo update-initramfs -u
    3. Now update grub. Type:
      sudo update-grub
    4. Time to reboot the system. Type:
      sudo reboot

Conclusion

Just a few commands and your console won’t be plastered with floppy drive errors.

Subscribe
Notify of
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments