An anonymous frustrated reader asks:
Why am I getting a ‘no floppy controllers found’ error message – /var/log/messages file on my RedHat (RHEL) HP BL20P Blade server ? Log attached:
…
Feb 27 05:14:01 oradb9 kernel: Floppy drive(s): fd0 is 1.44M
Feb 27 05:14:27 oradb9 kernel: floppy0: no floppy controllers found
…
First of all this problem is not specific to any server vendor. This message will be displayed on any system connected without a diskette / floppy drive
All you need to do is blacklist / disable floppy driver or module.
Debian / Ubuntu Linux user
Add your driver /block device to /etc/modprobe.d/aliases file.
# vi /etc/modprobe.d/aliases
Add following line
alias block-major-2 off
Or comment out line
# alias block-major-2
Reboot the system.
Redhat enterprise Linux user (RHEL)/CentOS/Fedora Core Linux user
Open /etc/modules.conf file
# vi /etc/modules.conf
Append following line to file:
alias block-major-2 off
Save close the file. My complete file looks as follows:
alias eth0 tg3 alias eth1 tg3 alias scsi_hostadapter sata_svw alias usb-controller ehci-hcd alias usb-controller1 ohci-hcd alias block-major-2 off
Now rebuild the initial ramdisk:
# mkinitrd -f -v /boot/ initrd-2.6.9-42.0.8.ELsmp.img 2.6.9-42.0.8.ELsmp
Reboot the server.
This is the only way to disable floppy drive, AFIK.
🐧 Get the latest tutorials on Linux, Open Source & DevOps via:
- RSS feed or Weekly email newsletter
- Share on Twitter • Facebook • 1 comment... add one ↓
Category | List of Unix and Linux commands |
---|---|
File Management | cat |
Firewall | Alpine Awall • CentOS 8 • OpenSUSE • RHEL 8 • Ubuntu 16.04 • Ubuntu 18.04 • Ubuntu 20.04 |
Network Utilities | dig • host • ip • nmap |
OpenVPN | CentOS 7 • CentOS 8 • Debian 10 • Debian 8/9 • Ubuntu 18.04 • Ubuntu 20.04 |
Package Manager | apk • apt |
Processes Management | bg • chroot • cron • disown • fg • jobs • killall • kill • pidof • pstree • pwdx • time |
Searching | grep • whereis • which |
User Information | groups • id • lastcomm • last • lid/libuser-lid • logname • members • users • whoami • who • w |
WireGuard VPN | Alpine • CentOS 8 • Debian 10 • Firewall • Ubuntu 20.04 |
Hi,
Thanks,
we can edit /etc/modprobe.conf
instead of /etc/modules.conf for new releases of redhat/…..