To disable fd0 permanently

Latest response

Hello Team,

Would you please let me know how do we disable fd0 permanently? I run nmon utility periodically using cron job and since it scans fd0 also it throws below error in logs.

blk_update_request: i/o error, dev fd0, sector 0

So , I want fd0 to be disabled permanently, I ran the following command but it disables temporarily until the server gets rebooted.

modprobe -r floppy

Your help will be appreciated.

Responses

Something like echo "blacklist floppy" >> /etc/modprobe.d/blacklist-floppy.conf might work.

I tried but it does not work, I executed the command and rebooted the server. And ran lsmod | grep -i floppy and cat /proc/partitions, fd0 still shows up

If floppy is loaded in the initrd instead of from the root disk you can't do just that you have to re-create your initrd (with dracut) so the blacklist takes effect in the initird and prevents floppy from being loaded in the initrd.

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.