Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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.

share|improve this question
add comment

2 Answers

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

share|improve this answer
    
So, the file is usless now :'( Is there any option to multiboot ubuntu with windows 7? –  1lastBr3ath Aug 6 '13 at 16:20
add comment

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.

share|improve this answer
    
Does that mean I need to download the desktop iso again? I have that iso, so can I just extract wubi.exe off it and place them both on same folder? –  1lastBr3ath Aug 8 '13 at 1:44
    
@1lastBr3ath no, use the existing ISO. Yes, extract wubi.exe from it or download it separately (both work and it's only 3 MB to download). –  bcbc Aug 8 '13 at 4:07
    
Nop, it's not working :( Is there not any way I can multiboot both ubuntu & windows? –  1lastBr3ath Aug 10 '13 at 13:50
    
@1lastBr3ath There might be but for that I need to know what the error is. –  bcbc Aug 10 '13 at 15:38
    
I mean, can I use the file (I have) to multiboot ubuntu with windows? I also tried booting from usb drive but the error was same, error copying files to HDD - Input/Output error. It takes a lot of time to download the file, you know. –  1lastBr3ath Aug 11 '13 at 15:46
show 2 more comments

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.