Friday, May 17, 2024
24
rated 0 times [  24] [ 0]  / answers: 1 / hits: 51771  / 3 Years ago, fri, november 26, 2021, 11:48:44

I'm trying to set up Ubuntu 20.04 on Oracle VirtualBox 6.1.6. During the installation, I got the following error 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.


I downloaded the file from the official Ubuntu website and multiple times, but none of the files works. I also verified the iso using echo "e5b72e9cfe20988991c9cd87bde43c0b691e3b67b01f76d23f8150615883ce11 *ubuntu-20.04-desktop-amd64.iso" | shasum -a 256 --check, but it doesn't do anything.


More From » system-installation

 Answers
4

I had this issue as well after I had enabed hyper-v on windows 10.



To fix it I, made sure I disabled hyper-v by doing the following.




  1. Open 'Turn Windows features on or off' (search for that in the start menu)

  2. Untick hyper-v, Windows hypervisior platform and virtual machine platform.

  3. Start the command prompt as an administrator. (type cmd in the start menu, right click 'command prompt' and select 'run as administrator')

  4. Run the following command bcdedit /set hypervisorlaunchtype off



After a restart it seemed to install and work.



Credit to u/SquareVehicle on r/virtualbox who suggested the bcdedit command


[#3472] Sunday, November 28, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
altybol

Total Points: 364
Total Questions: 138
Total Answers: 121

Location: France
Member since Thu, May 6, 2021
3 Years ago
;