Ubuntu – Ubuntu 14.04 “[Errno 5] Input/output error” during Installation


I have been trying to install a fresh copy of Ubuntu 14.04 (64 bit version) on my desktop PC from a USB memory stick, but I'm experiencing a problem. Each time I attempt an install I received an "[Errno 5] Input/output error", followed by the following message before the installer exits:

"The installer encountered an error copying files to the hard disk: [Errno 5] Input/output error This is often due to a faulty CD/DVD disk or drive, or a faulty hard disk. It may help to clean the CD/DVD, to burn the CD/DVD at a lower speed, to clean the CD/DVD drive lens (cleaning kits are often available from electronics suppliers), to check whether the hard disk is old and in need of replacement, or to move the system to a cooler environment."

In order to attempt to remedy this I have so far tried installing Ubuntu to two different hard disks, one of which is brand new, and each time I have received the same error "Errno 5" message. I have also tried installing from 3 different USB sticks using torrent and Ubuntu site iso images burned using both Unetbootin and Startup Disk Creator. Again, these measures have proved fruitless.

The installation process varies depending of the iso I use, with the Ubuntu download page iso exiting at an earlier stage compared to the torrented iso. The later torrent iso returns an error and exits when I am prompted for my name, computer's ID and password.

I've never experienced anything like this when installing previous versions of Ubuntu. I'm absolutely stumped! Does anyone have any more ideas?

Best Answer

  • I was getting the same exact "errno 5" error when trying to install Ubuntu 14.04 on my laptop. What fixed it for me was burning the iso to a DVD at a very slow rate. For example, I used the "Free ISO Burner" software and used a burn rate of 2x instead of max. Perhaps you can try this method instead of a USB stick? Also, before burning the DVD, do make sure that you get the MD5 Checksum of the downloaded iso and compare it to the value here: https://help.ubuntu.com/community/UbuntuHashes

    This is just to verify the integrity of the iso in case you downloaded it from some untrustworthy mirror.

    If using a DVD doesn't work either, then others facing similar issues in the past have recommended testing your RAM using the memtest86+ utility. You can use it from the Ubuntu LiveCD/DVD itself. For my laptop, I pressed Shift during bootup and launched memtest86+ from the GRUB menu.

  • Related Question