1

I'm having problems installing Ubuntu 13.04 desktop. I've download the wubi installer on my Windows computer.

When I open this file using WinRar & run wubi.exe, it attempts to install Ubuntu but when the system restarts and the installation proceeds, an error occurs while copying files to HDD:

The installer encountered an error copying files to the hard disk:
[Error No. 5] Input/Output error

I tried mounting the iso file using Daemon Tools, but it doesn't let me install directly but asks for a CD/DVD.

2 Answers2

1

You may have some bad sectors on target HDD.

To check sda1 volume for bad sectors in Linux run fsck -cc /dev/sda1. For drive C: in Windows it should be chkdsk c: /f /r.

IMHO chkdsk way is may be more suitable as it will remap bad blocks on HD drive while Linux fsck simply marks such blocks as unusable in the current file system. Quote from man fsck.ext2

-c This option causes e2fsck to use badblocks(8) program to do a read-only scan of the device in order to find any bad blocks. If any bad blocks are found, they are added to the bad block inode to prevent them from being allocated to a file or directory. If this option is specified twice, then the bad block scan will be done using a non-destructive read-write test

Source: "errno 5 - input/output error" when trying to install

CoolTop
  • 41
0

Don't open the ISO with WinRar. Place the desktop ISO in the same folder as the wubi.exe from http://releases.ubuntu.com/13.04/ and then run wubi.exe. Then it will find and use the ISO you downloaded.

You can also copy the wubi.exe off the ISO (use WinRar for that if you like). But mounting the ISO or extracting the contents are not what you want to do.

bcbc
  • 6,036