Centos Solution to "Warning: Unable to open /dev/fd0 read-write (Read-only file system). /dev/fd0 has been opened read-only."

Warning: Unable to open /dev/fd0 read-write (Read-only file system).  /dev/fd0 has been opened read-only.

That's a very annoying error, it's simply because Centos for some reason thinks it's wise to load the "floppy" kernel module, who has a floppy drive?  I haven't seen or used a floppy for over 12 years!

It's more than just annoying, if you probe the drives attached to your system, eg. with grub or partprobe, it keeps trying to locate a floppy dirve that doesn't exist and literally takes a few minutes to let you complete the task of grub or partprobe or related commands.

The solution, remove the "floppy" kernel module

rmmod floppy

That takes effect right away,now grub will load right away and partprobe will take a few seconds at most.

You'll also want to prevent it from loading again in the future at boot time:

For Centos/RHEL

echo "alias floppy off" >> /etc/modprobe.conf

For Debian based Distros

echo "blacklist floppy" >> /etc/modprobe.d/blacklist

The command above tells the kernel not to load the "floppy" module ever again by adding "blacklist floppy" to the blacklist list.


Tags:

centos, unable, dev, fd, quot, floppy, kernel, module, haven, probe, eg, grub, partprobe, locate, dirve, doesn, task, commands, rmmod, ll, loading, rhel, echo, alias, etc, modprobe, conf, debian, distros, blacklist, adding,

Latest Articles

  • ImageMagick Convert PDF Not Authorized
  • ImageMagick Converted PDF to JPEG some files have a black background solution
  • Linux Mint Mate Customize the Lock screen messages and hide username and real name
  • Ubuntu/Gnome/Mint/Centos How To Take a partial screenshot
  • ssh how to verify your host key / avoid MIM attacks
  • Cisco IP Phone CP-8845 8800/8900 Series How To Reset To Factory Settings Instructions
  • ls how to list ONLY directories
  • How to encrypt your SSH private key file id_rsa
  • Linux Mint 18 Disable User Name List from showing on Login Screen
  • Firefox Cannot Hit Enter Key In Address Bar and Location History Not Working
  • Cisco Unified Communications Manager / CUCM IP 8.6,10,12 Install Error Solution
  • Ubuntu Debian Mint Linux SSHD OpenSSH Server Not Starting After Reboot Solution
  • nmap how to scan for all ports and not just the 1000 most common ports
  • Windows 7,8,10 and Server 2008, 2012, 2016, 2019 Read Only Attribute Won't Go Away
  • bind / named how to make a wildcard record and retain defined A records
  • Cisco Unified Communications Manager 12 Install Errors on Proxmox/KVM
  • Local Vs Universally Administered MAC Address NIC Refuses to come up
  • Cisco Unified Communications Manager 12 CUCM 12 - How To Enable Video Calling
  • Windows 7, 8, 10, Windows Server 2008, 2012, 2016, 2019 How To AC97 Audio Drivers and Other Unsigned Drivers
  • Cisco Unified Communications Manager / CUCM IP Telephony Definitions