The installer encountered an error copying files to the hard disk

I got this error during installation. 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, ...

This problem drove me crazy for 2 weeks on and off. I have finally found out what the problem is and I registered just to share my conclusion to help others because this is a very misleading error to a lot of us.

I have 2 laptops and I tried to install BackTrack, BackBox, Ubuntu, etc.. all failed on one laptop and I couldn’t understand why, I was installing from a live USB and it was still complaining about the CD/DVD error!! what the hell, it does not make any sense.

I opened up my laptop, I completely removed the CD/DVD and tried again and it still failed.
I opened up my laptop hoping my final resolution was to just remove a 2GB ram but to my luck, the laptop had just one 4GB RAM stick, so that trick would not work.

I came to the wrong conclusion that others came to as well and that is perhaps the linux OS is just not compatible with all hardware out there and in my mind I started to blame developers even though I am one.

Why this problem is a misleading one? Because:

  1. You can go into your bios and detect that you have the correct size of ram (4GB) and also boot windows 7/8 and use it just fine, no problems at all, so why should Linux complain !, also in my case this was a brand new laptop as well.!!

  2. There is a large number of us users that are actually experiencing this problem, so this could lead to the understanding that it is actually the OS and not our hardware. However, until you restart your machine and go into “Diagnostics” you won’t know that there is actually a problem with your ram, Its much quicker than using memtest to detect if there is indeed an issue.

This leads me to believe that linux is actually so good that it does a proper test of the CRC of your ram as it tries to install itself and will fail if there is something wrong with the ram, a bit harsh though.

Having said that, linux developers still need to change the error message to help the users understand clearly that there is a ram issue as oppose to a missleading «CD / DVD error» but also there should still be a way to bypass the error and continue the installation of the OS because we know that windows can operate just fine on the faulty ram.

I replaced the faulty RAM and it worked just fine. I really hope this helps people to cut to the chase.

When people are suggesting to remove 1 ram and got it to work, they most definatly removed the faulty ram, its not because it was a trick to remove one and keep the other to fool the OS.

Thanks

  • Home
  • Forum
  • The Ubuntu Forum Community
  • Ubuntu Official Flavours Support
  • Installation & Upgrades
  • [ubuntu] The installer encountered an error copying files to hard disk: [Errn5] input/output

  1. Unhappy The installer encountered an error copying files to hard disk: [Errn5] input/output

    i am facing a problem while installing ubuntu 13.04.. a error message show: «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.» i have tried with usb stik, but still same getting same error. and one point, i installed ubuntu with the same dvd before in the same pc. when i format ubuntuand tried to reinstall, the problem stared. what can i do? please help.


  2. Re: The installer encountered an error copying files to hard disk: [Errn5] input/out

    When i have encountered this problem, the culprit was the copied iso in the CD.

    Try to copy again the iso in other CD/DVD and check the integrity of data copied ( I use k3b to copy to CD and check inategrity)


  3. Re: The installer encountered an error copying files to hard disk: [Errn5] input/out

    Welcome to the Ubuntu Forums

    1. Check that the download was OK with md5sum in a terminal window

    Code:

     md5sum filename.iso

    Use the real filename of the downloaded iso file instead of ‘filename’ in the command. You can find the md5sums to check with at this link

    https://help.ubuntu.com/community/UbuntuHashes

    2. Check that it will be possible to write the Ubuntu system to your hard disk drive

    — If you already have 4 primary partitions, you need to do something about it.

    — If there is not enough empty space on the disk, you need to move / remove some data.


  4. Re: The installer encountered an error copying files to hard disk: [Errn5] input/out

    Hello, I am biginner, but I’d like to share my experience. I had the same problem. I checked the USB disk (in which ubuntu is installed). The bootable disk was created by unetbootin. It was with error (i checked it out by the option of disk cheeking of the boot menu). Then I created the same disk but by the ubuntu’s startupdisk creator. IT went smoothly… without problems))))

    sometimes it is helpful also swithching the pc off (for cooling) and having a bit rest))))


Bookmarks

Bookmarks


Posting Permissions

Я пытаюсь настроить Ubuntu 20.04 на Oracle VirtualBox 6.1.6. Во время установки я получил следующее сообщение об ошибке:

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.

Я скачал файл с официального сайта Ubuntu и несколько раз, но ни один из файлов не работает. Я также проверил iso, используя echo "e5b72e9cfe20988991c9cd87bde43c0b691e3b67b01f76d23f8150615883ce11 * ubuntu-20.04-desktop-amd64.iso" | shasum -a 256 --check , но он ничего не делает.

задан
16 May 2020 в 08:51

поделиться

4 ответа

У меня тоже была эта проблема после того, как я включил Hyper-V в Windows 10.

Чтобы исправить это, я отключил Hyper-V, выполнив следующие действия.

  1. Откройте «Включение или отключение компонентов Windows» (найдите это в меню «Пуск»).
  2. Снимите флажок с hyper-v, платформы гипервизора Windows и платформы виртуальных машин.
  3. Запустите командную строку от имени администратора. (введите cmd в меню «Пуск», щелкните правой кнопкой мыши «Командная строка» и выберите «Запуск от имени администратора»)
  4. Выполните следующую команду bcdedit / set hypervisorlaunchtype off

После перезапуска все, казалось, установилось и заработало.

Благодарим u / SquareVehicle на r / virtualbox, который предложил команду bcdedit

ответ дан
19 June 2020 в 21:40

поделиться

Вторая строка вашего кода напоминает мне следующее:

Установочный носитель Ubuntu 20.04 (.iso) обычно проверяет себя при загрузке, если вы не набираете команду для отмены этого поведения проверки работоспособности.

Если в этот момент всплыло то, что вы набрали (я никогда не сталкивался с этим), я предполагаю, что ваш .iso может быть поврежден. Вы можете проверить его самостоятельно по указанному в сети уникальному номеру, чтобы убедиться, что он исправен.

Хорошая практика — загружать .iso с помощью bittorrent, потому что в этом случае целостность автоматически проверяется по мере готовности; тоже немного проще.

ответ дан
19 June 2020 в 21:40

поделиться

Вместо этого вы можете использовать VirtualBox 5.2.

Я установил VirtualBox 5.2, а затем смог установить Ubuntu 20.04 на свой Mac. У меня была такая же проблема с VirtualBox 6.1.

ответ дан PeterM
29 September 2020 в 07:41

поделиться

Столкнулся с такой же проблемой. Я использовал VirtualBox 6.1.14 и пытался установить Ubuntu 20.04. Проблема исчезла, когда я обновил VirtualBox до версии 6.1.16.

ответ дан Community
20 October 2020 в 21:19

поделиться

Другие вопросы по тегам:

Похожие вопросы:

  • Reply with quote

Input/Output Error [Errno 5] [Solved]

Hi everyone, Im getting this error trying to install Ubuntu.

It tried the following without any luck:
Ubuntu 20.04
Ubuntu 19,04
Pop-OS 20.04
Tried having the VDI disk on an SSD and a regular disk
Disabled Hyper-V from Windows functions
Dynamic and fixed sizes for virtual drives

I have a 9700K, 16Gb Ram and an AUS motherboard. I have activated virtualization in bios.

Anyone have an idea what can couse this? Uses VM Ubuntu on my old 6700K without any issues.

Last edited by Fleischer on 19. May 2020, 18:10, edited 1 time in total.

Fleischer
 
Posts: 4
Joined: 19. May 2020, 13:01

  • Reply with quote

Re: Input/Output Error [Errno 5]

Postby scottgus1 » 19. May 2020, 17:42

I reckon that there may have been more to the error message than just that phrase, though I might be wrong. Please post full error messages, using the Copy button in the error popup if there is one.

These would not influence the error:

Fleischer wrote:Tried having the VDI disk on an SSD and a regular disk
Dynamic and fixed sizes for virtual drives

This could be a killer:

Fleischer wrote:Disabled Hyper-V from Windows functions

Hyper-V is probably not fully disabled yet, it can be a harder beast to kill off. Go through every step in I have a 64bit host, but can’t install 64bit guests. For further info, see

https://www.tenforums.com/tutorials/139 … puter.html

scottgus1
Site Moderator
 
Posts: 17670
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

  • Reply with quote

Re: Input/Output Error [Errno 5]

Postby Fleischer » 19. May 2020, 17:48

This is the entire message

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.

Fleischer
 
Posts: 4
Joined: 19. May 2020, 13:01

  • Reply with quote

Re: Input/Output Error [Errno 5]

Postby Fleischer » 19. May 2020, 17:50

scottgus1 wrote:I reckon that there may have been more to the error message than just that phrase, though I might be wrong. Please post full error messages, using the Copy button in the error popup if there is one.

These would not influence the error:

Fleischer wrote:Tried having the VDI disk on an SSD and a regular disk
Dynamic and fixed sizes for virtual drives

This could be a killer:

Fleischer wrote:Disabled Hyper-V from Windows functions

Hyper-V is probably not fully disabled yet, it can be a harder beast to kill off. Go through every step in I have a 64bit host, but can’t install 64bit guests. For further info, see l

But I thought Hyper-V would improve performace for VMs?

Fleischer
 
Posts: 4
Joined: 19. May 2020, 13:01

  • Reply with quote

Re: Input/Output Error [Errno 5]

Postby scottgus1 » 19. May 2020, 17:56

Fleischer wrote:I thought Hyper-V would improve performace for VMs?

Reading the forum shows very much the opposite at this time. The devs are working on it, but it’s a work in progress, and it is very unstable or a non-starter so far. See «VirtualBox 6.0 and Hyper-V»

viewtopic.php?f=6&t=90853

scottgus1
Site Moderator
 
Posts: 17670
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux


  • Reply with quote

Re: Input/Output Error [Errno 5] [Solved]

Postby scottgus1 » 19. May 2020, 18:13

Great! Glad you’re up and running.

scottgus1
Site Moderator
 
Posts: 17670
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux


Return to VirtualBox on Windows Hosts

Who is online

Users browsing this forum: Google [Bot] and 20 guests

Forum rules
Before you post please read how to get help. Topics in this forum are automatically closed 6 months after creation.

skooter1121

Level 1
Level 1
Posts: 35
Joined: Tue Jan 03, 2017 1:46 pm
Location: The Villages, Fl

Installer encountered error copying files to hard disk

Installer encountered………… [Errno 2] No such file of directory /target/lib/sysvinit/telimit
Often due to hard disk error…etc….

Installing on old XP netbook machine. 1.6 processor, 2 gigs ram, 32 gig King Spec KSM-SMP .5-032mj SSD.
Usb installer just used on other machine: Should be OK.

Are there methods to check this hard drive/ test for bad sectors / or alternate installs.

THANX
Steve

Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.

Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.

skooter1121

Level 1
Level 1
Posts: 35
Joined: Tue Jan 03, 2017 1:46 pm
Location: The Villages, Fl

Re: Installer encountered error copying files to hard disk

Post

by skooter1121 » Fri Apr 28, 2017 2:35 pm

Installed from USB live as full erase and use entire drive. I’m starting to believe that the drive is write protected and I can’t figure out how to remove that. I’m not too familiar with gparted but the options to remove or format the HD partitions did nothing. Any ideas?

User avatar

JerryF

Level 15
Level 15
Posts: 5944
Joined: Mon Jun 08, 2015 1:23 pm
Location: Rhode Island, USA

Re: Installer encountered error copying files to hard disk

Post

by JerryF » Fri Apr 28, 2017 2:57 pm

skooter1121 wrote:Installed from USB live as full erase and use entire drive. I’m starting to believe that the drive is write protected and I can’t figure out how to remove that. I’m not too familiar with gparted but the options to remove or format the HD partitions did nothing. Any ideas?

When you tried Gparted to remove or format, did you click the Apply All Operations button?

Понравилась статья? Поделить с друзьями:
  • The installation cannot continue as the installer file may be damaged как исправить
  • The language dll vbe6intl dll could not be found как исправить
  • The l2tp connection attempt failed because the security layer encountered a processing error during
  • The klub 17 error
  • The kerberos client received a krb ap err modified error from the server