Software⏱️ 3 min read📅 2026-06-11

How to Fix: Ubuntu login takes 15 seconds, "I/O error dev fd0 sector 0"

Ubuntu login delay fix

Quick Answer: Disable the floppy drive by adding the following command to your grub configuration file: sudo nano /boot/grub/grub.cfg, then add the line 'set root=hd0,0' (assuming you have a single hard drive), and save and exit. Reboot your system.

The error message 'I/O error dev fd0 sector 0' indicates that there is an issue with the input/output operation on the floppy disk device (fd0). This error typically occurs when Ubuntu attempts to read data from a floppy disk, but since you don't have a floppy drive installed, it's likely that the system is trying to access this device by default. The long login delay of 10+ seconds before taking you to the gnome desktop is caused by this issue.

This error can be frustrating because it prevents you from accessing your system without having to wait for an extended period of time. In this troubleshooting guide, we will explore possible causes and provide solutions to disable the floppy disk device and resolve the issue.

💡 Why You Are Getting This Error

  • The primary cause of this error is that Ubuntu is configured to use the floppy disk device (fd0) by default, even if it's not installed. This can be due to a misconfiguration or an outdated system setting.
  • Another possible cause could be that there's a hardware issue with the system's floppy disk drive, which is causing the I/O error.

🔧 Proven Troubleshooting Steps

Disable Floppy Disk Device

  1. Step 1: Open the terminal and run the command `sudo nano /etc/default/grub` to edit the grub configuration file.
  2. Step 2: Locate the line that starts with `GRUB_DEFAULT=cdboot` and change it to `GRUB_DEFAULT=usb` or `GRUB_DEFAULT=local`. This will set the default boot device to USB or local disk, respectively.
  3. Step 3: Save the changes and exit the nano editor. Then, run the command `sudo update-grub` to apply the changes.

Disable Floppy Disk Device using sysfs

  1. Step 1: Open the terminal and run the command `sudo echo 'none' > /sys/block/fd0/device/delete`. This will delete the floppy disk device from the system.
  2. Step 2: Run the command `sudo udevadm trigger` to reload the udev rules and remove the floppy disk device from the system.

✨ Wrapping Up

By disabling the floppy disk device, you should be able to resolve the 'I/O error dev fd0 sector 0' error message and reduce the login delay. Remember to always back up your important data before making any changes to your system configuration.

Did this fix your problem?

If not, try searching for specific error codes.

🔍 Search Error Database

❓ Frequently Asked Questions