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.
karel
111k102 gold badges269 silver badges300 bronze badges
asked May 14, 2020 at 9:17
5
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.
- Open ‘Turn Windows features on or off’ (search for that in the start menu)
- Untick hyper-v, Windows hypervisior platform and virtual machine platform.
- Start the command prompt as an administrator. (type cmd in the start menu, right click ‘command prompt’ and select ‘run as administrator’)
- 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
answered May 17, 2020 at 7:33
7
I faced the same issue. I used VirtualBox 6.1.14 and tried to install Ubuntu 20.04. The issue disappeared when I updated VirtualBox to the 6.1.16 version.
answered Oct 20, 2020 at 21:19
1
The second line of your code reminds me of the follwing:
Ubuntu 20.04 install media (.iso) normally checks itself at boot, unless you type a command to abort this health-check behaviour.
If what you typed came up at this point (I never experienced it myself), my guess is that your .iso might be corrupted. You can hash-check it yourself against the web-stated unique number to see if it is healthy.
Good practice is to download .iso’s with bittorrent, because that way the integrity gets automatically checked when ready; also little easier.
answered May 14, 2020 at 10:41
This might be unusual, however my problem was fixed by enabling Hyper-V.
This was after hours of looking for solutions regarding Ubuntu 20 and Virtualbox 6.1. Tweaked many settings and finally decided to go against the most common advice and turn on Hyper-V (Win10).
answered Feb 15, 2021 at 14:57
You can use VirtualBox 5.2 instead.
I installed VirtualBox 5.2 and then I was able to install Ubuntu 20.04 on my mac. I had the same issue with VirtualBox 6.1.
Eliah Kagan
117k54 gold badges319 silver badges495 bronze badges
answered Sep 29, 2020 at 7:41
You must log in to answer this question.
Not the answer you’re looking for? Browse other questions tagged
.
Not the answer you’re looking for? Browse other questions tagged
.
При установке Убунты на Виртуалбокс уже не один раз выдает ошибки. Несколько раз перезакачивала установочный файл Убунты. Ничего не трогала, все лишние вкладки и проги закрыла(на всякий случай). Все равно ошибка.
Жесткий новый, комп не горячий.
Где-то пол года назад Убунта установилась и хоть и писала, что ошибки у snap daemon, но работала. Потом я ее удалила, хотела установить свежий релиз и вот те здрасте.
Вчера попробовала Debian. Вот что выдало в середине установки:
Kubuntu скачала — без инсталляции запускается, а как только нажимаю установить полностью ругается точно так же, как собрат (Ubuntu)
Сегодня установила Убунту на не свой комп с Вин10(как у меня) и со стандартными настройками VBox — работает, но перед запуском вот что говорит:
* Как договориться с моим Виндовсом, чтоб он не мешал установке Линуксов через VB?
* Может, лучше установить Линукс на второй жесткий? А если Линукс чем-то заболеет, то он не заразит Виндовсные файлы?
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.
karel
111k102 gold badges269 silver badges300 bronze badges
asked May 14, 2020 at 9:17
5
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.
- Open ‘Turn Windows features on or off’ (search for that in the start menu)
- Untick hyper-v, Windows hypervisior platform and virtual machine platform.
- Start the command prompt as an administrator. (type cmd in the start menu, right click ‘command prompt’ and select ‘run as administrator’)
- 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
answered May 17, 2020 at 7:33
7
I faced the same issue. I used VirtualBox 6.1.14 and tried to install Ubuntu 20.04. The issue disappeared when I updated VirtualBox to the 6.1.16 version.
answered Oct 20, 2020 at 21:19
1
The second line of your code reminds me of the follwing:
Ubuntu 20.04 install media (.iso) normally checks itself at boot, unless you type a command to abort this health-check behaviour.
If what you typed came up at this point (I never experienced it myself), my guess is that your .iso might be corrupted. You can hash-check it yourself against the web-stated unique number to see if it is healthy.
Good practice is to download .iso’s with bittorrent, because that way the integrity gets automatically checked when ready; also little easier.
answered May 14, 2020 at 10:41
This might be unusual, however my problem was fixed by enabling Hyper-V.
This was after hours of looking for solutions regarding Ubuntu 20 and Virtualbox 6.1. Tweaked many settings and finally decided to go against the most common advice and turn on Hyper-V (Win10).
answered Feb 15, 2021 at 14:57
You can use VirtualBox 5.2 instead.
I installed VirtualBox 5.2 and then I was able to install Ubuntu 20.04 on my mac. I had the same issue with VirtualBox 6.1.
Eliah Kagan
117k54 gold badges319 silver badges495 bronze badges
answered Sep 29, 2020 at 7:41
You must log in to answer this question.
Not the answer you’re looking for? Browse other questions tagged
.
Not the answer you’re looking for? Browse other questions tagged
.
4 / 4 / 0 Регистрация: 25.01.2022 Сообщений: 108 |
|
1 |
|
Linux 30.01.2022, 13:54. Показов 7741. Ответов 34
Здравствуйте. Хотел попробовать Linux через виртуальную машину, установленную на Windows 10, так при запуске Ubuntu каждый раз какая-то ошибка. Oracle VM VirtualBox настроил все по урокам в YouTube. Ubuntu сперва скачал с торрента-не пошло, затем с сайта ubuntu.ru-не пошло, далее с ubuntu.com-не пошло, в итоге скачал старую версию ubuntu-18.04.6-desktop-amd64, тоже не идет. Подскажите, куды копать. Скриншот с ошибкой прилагаю Миниатюры
0 |
Programming Эксперт 94731 / 64177 / 26122 Регистрация: 12.04.2006 Сообщений: 116,782 |
30.01.2022, 13:54 |
34 |
Робот сгибальщик 1178 / 511 / 110 Регистрация: 29.07.2020 Сообщений: 2,700 Записей в блоге: 7 |
|
05.02.2022, 19:19 |
21 |
БП и проц как возможные причины багов при установке Ubuntu на VirtualBox. Какая связь?
0 |
4 / 4 / 0 Регистрация: 25.01.2022 Сообщений: 108 |
|
06.02.2022, 04:50 [ТС] |
22 |
Какая связь? Ошибки в виртуалке, как в первом посте на фото.
0 |
Робот сгибальщик 1178 / 511 / 110 Регистрация: 29.07.2020 Сообщений: 2,700 Записей в блоге: 7 |
|
06.02.2022, 09:59 |
23 |
Hyper-V в 10-ке случайно не включен? В таком случае ВМ «падает» с сообщением и кодом ошибки.
Ошибки в виртуалке, как в первом посте на фото. Взаимосвязи между БП реального железа и ОС Ubuntu в ВМ нет.
0 |
4 / 4 / 0 Регистрация: 25.01.2022 Сообщений: 108 |
|
06.02.2022, 12:26 [ТС] |
24 |
Hyper-V в 10-ке случайно не включен? В командной строке прописывал bcdedit /set hypervisorlaunchtype off
Выдели оперативки больше 4 Гб выделял
0 |
Робот сгибальщик 1178 / 511 / 110 Регистрация: 29.07.2020 Сообщений: 2,700 Записей в блоге: 7 |
|
06.02.2022, 15:18 |
25 |
В последних строках ругается на видеоустройство.
0 |
4 / 4 / 0 Регистрация: 25.01.2022 Сообщений: 108 |
|
06.02.2022, 16:14 [ТС] |
26 |
Попробуй в ВМ выделить видеопамять 128 Мб. Сделал. Теперь другая ошибка Миниатюры
0 |
4 / 4 / 0 Регистрация: 25.01.2022 Сообщений: 108 |
|
06.02.2022, 16:22 [ТС] |
27 |
Немного позже вылезло такое Миниатюры
0 |
8586 / 3016 / 507 Регистрация: 14.04.2011 Сообщений: 7,523 |
|
07.02.2022, 09:37 |
28 |
Решение Виртуализация в BIOS включена?
0 |
4 / 4 / 0 Регистрация: 25.01.2022 Сообщений: 108 |
|
07.02.2022, 15:39 [ТС] |
29 |
Виртуализация в BIOS включена? Не проверял
Другие системы в виртуалку устанавливаются (например Windows)? Не пробовал
Как вариант, можно попробовать установить более раннюю версию VirtualBox. По моим наблюдениям, с новыми выпусками VirtualBox, довольно много косяков. Хорошо, установлю
Как вариант, можно попробовать установить более раннюю версию VirtualBox. По моим наблюдениям, с новыми выпусками VirtualBox, довольно много косяков. Спасибо! Пошла установка)
1 |
4 / 4 / 0 Регистрация: 25.01.2022 Сообщений: 108 |
|
08.02.2022, 04:12 [ТС] |
30 |
Возможна ли установка Ubuntu и Windows на один жесткий диск, поделив его на 2 раздела? Если да, то как будет осуществляться выбор ОС для входа?
0 |
8586 / 3016 / 507 Регистрация: 14.04.2011 Сообщений: 7,523 |
|
08.02.2022, 10:03 |
31 |
Решение
Возможна ли установка Ubuntu и Windows на один жесткий диск, поделив его на 2 раздела? Если да, то как будет осуществляться выбор ОС для входа? Возможна. Миниатюры
0 |
4 / 4 / 0 Регистрация: 25.01.2022 Сообщений: 108 |
|
08.02.2022, 11:02 [ТС] |
32 |
Возможна. Спасибо за ответ! Только придется немало по гуглить, чтобы разобраться во всем)
0 |
4 / 4 / 0 Регистрация: 25.01.2022 Сообщений: 108 |
|
09.08.2022, 12:15 [ТС] |
33 |
Работаю так же через VirtualBox, но довольно сильно тормозит(подвисает) Ubuntu. В чем может быть причина? Выделил 3,5 Гб оперативы, пробовал дать 2-4 ядра процессора, видеопамять выделена максимально. Толку нет
0 |
Робот сгибальщик 1178 / 511 / 110 Регистрация: 29.07.2020 Сообщений: 2,700 Записей в блоге: 7 |
|
09.08.2022, 14:45 |
34 |
Надо чтобы железо ПК тянуло 2 машины.
0 |
4 / 4 / 0 Регистрация: 25.01.2022 Сообщений: 108 |
|
09.08.2022, 16:12 [ТС] |
35 |
А, если установить ubuntu на новый чистый жёсткий диск, оставив windows на другом, как тогда система будет запускаться?
0 |
I am trying to install virtualbox. I had it installed previously and it worked. Today I tried to add another virtual machine and it started complaining about problems with dkms so I tried to purge and install everything with the following failure.
$ sudo apt install virtualbox
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
dkms libgsoap-2.8.91 libqt5opengl5 libsdl1.2debian libvncserver1 virtualbox-dkms virtualbox-qt
Suggested packages:
I could not submit my question without skipping some output
Building initial module for 5.8.0-36-generic
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/virtualbox-dkms.0.crash'
Error! Bad return status for module build on kernel: 5.8.0-36-generic (x86_64)
Consult /var/lib/dkms/virtualbox/6.1.10/build/make.log for more information.
dpkg: error processing package virtualbox-dkms (--configure):
installed virtualbox-dkms package post-installation script subprocess returned error exit status 10
dpkg: dependency problems prevent configuration of virtualbox:
virtualbox depends on virtualbox-dkms (>= 6.1.10-dfsg-1~ubuntu1.20.04.1) | virtualbox-source (>= 6.1.10-dfsg-1~u
buntu1.20.04.1) | virtualbox-modules; however:
Package virtualbox-dkms is not configured yet.
Package virtualbox-source is not installed.
Package virtualbox-modules is not installed.
Package virtualbox-dkms which provides virtualbox-modules is not configured yet.
dpkg: error processing package virtualbox (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of virtualbox-qt:
virtualbox-qt depends on virtualbox (= 6.1.10-dfsg-1~ubuntu1.20.04.1); however:
Package virtualbox is not configured yet.
dpkg: error processing package virtualbox-qt (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates it's a follow-up error from a previous failure.
No ap
port report written because the error message indicates it's a follow-up error from a previous failure.
Processing
triggers for desktop-file-utils (0.24-1ubuntu3) ...
Processing triggers for mime-support (3.64ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu1) ...
Processing triggers for libc-bin (2.31-0ubuntu9.1) ...
Processing triggers for systemd (245.4-4ubuntu3.3) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for shared-mime-info (1.15-1) ...
Errors were encountered while processing:
virtualbox-dkms
virtualbox
virtualbox-qt
E: Sub-process /usr/bin/dpkg returned an error code (1)
dkms error
$ cat /var/lib/dkms/virtualbox/6.1.10/build/make.log DKMS make.log
for virtualbox-6.1.10 for kernel 5.8.0-36-generic (x86_64) Tue 12 Jan
12:40:32 GMT 2021 make: Entering directory
‘/usr/src/linux-headers-5.8.0-36-generic’ CC [M]
/var/lib/dkms/virtualbox/6.1.10/build/vboxdrv/linux/SUPDrv-linux.o
CC [M] /var/lib/dkms/virtualbox/6.1.10/build/vboxdrv/SUPDrv.o CC
[M] /var/lib/dkms/virtualbox/6.1.10/build/vboxdrv/SUPDrvGip.o CC
[M] /var/lib/dkms/virtualbox/6.1.10/build/vboxdrv/SUPDrvSem.o CC
[M] /var/lib/dkms/virtualbox/6.1.10/build/vboxdrv/SUPDrvTracer.o CC
[M] /var/lib/dkms/virtualbox/6.1.10/build/vboxdrv/SUPLibAll.o CC
[M] /var/lib/dkms/virtualbox/6.1.10/build/vboxdrv/r0drv/alloc-r0drv.o
CC [M]
/var/lib/dkms/virtualbox/6.1.10/build/vboxdrv/r0drv/initterm-r0drv.o
CC [M]
/var/lib/dkms/virtualbox/6.1.10/build/vboxdrv/r0drv/memobj-r0drv.o
CC [M]
/var/lib/dkms/virtualbox/6.1.10/build/vboxdrv/r0drv/mpnotification-r0drv.o
CC [M]
/var/lib/dkms/virtualbox/6.1.10/build/vboxdrv/r0drv/powernotification-r0drv.o
CC [M]
/var/lib/dkms/virtualbox/6.1.10/build/vboxdrv/r0drv/linux/assert-r0drv-linux.o
In file included from ./include/asm-generic/percpu.h:7,
from ./arch/x86/include/asm/percpu.h:556,
from ./arch/x86/include/asm/preempt.h:6,
from ./include/linux/preempt.h:78,
from ./include/linux/spinlock.h:51,
from /var/lib/dkms/virtualbox/6.1.10/build/vboxdrv/linux/../SUPDrvInternal.h:79,
from /var/lib/dkms/virtualbox/6.1.10/build/vboxdrv/linux/SUPDrv-linux.c:32:
/var/lib/dkms/virtualbox/6.1.10/build/vboxdrv/linux/SUPDrv-linux.c: In
function ‘supdrvOSChangeCR4’:
/var/lib/dkms/virtualbox/6.1.10/build/vboxdrv/linux/SUPDrv-linux.c:760:38:
error: ‘cpu_tlbstate’ undeclared (first use in this function); did you
mean ‘cpuhp_state’? 760 | RTCCUINTREG uOld =
this_cpu_read(cpu_tlbstate.cr4);
| ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:318:9: note: in definition of macro
‘pcpu_size_call_return’ 318 | typeof(variable) pscr_ret;
| ^~~~~~~~ /var/lib/dkms/virtualbox/6.1.10/build/vboxdrv/linux/SUPDrv-linux.c:760:24:
note: in expansion of macro ‘this_cpu_read’ 760 | RTCCUINTREG
uOld = this_cpu_read(cpu_tlbstate.cr4);
| ^~~~~~~~~~~~~ /var/lib/dkms/virtualbox/6.1.10/build/vboxdrv/linux/SUPDrv-linux.c:760:38:
note: each undeclared identifier is reported only once for each
function it appears in 760 | RTCCUINTREG uOld =
this_cpu_read(cpu_tlbstate.cr4);
| ^~~~~~~~~~~~ ./include/linux/percpu-defs.h:318:9: note: in definition of macro
‘pcpu_size_call_return’ 318 | typeof(variable) pscr_ret;
| ^~~~~~~~ /var/lib/dkms/virtualbox/6.1.10/build/vboxdrv/linux/SUPDrv-linux.c:760:24:
note: in expansion of macro ‘this_cpu_read’ 760 | RTCCUINTREG
uOld = this_cpu_read(cpu_tlbstate.cr4);
| ^~~~~~~~~~~~~ make[2]: *** [scripts/Makefile.build:290:
/var/lib/dkms/virtualbox/6.1.10/build/vboxdrv/linux/SUPDrv-linux.o]
Error 1 make[2]: *** Waiting for unfinished jobs…. make[1]: ***
[scripts/Makefile.build:519:
/var/lib/dkms/virtualbox/6.1.10/build/vboxdrv] Error 2 make: ***
[Makefile:1780: /var/lib/dkms/virtualbox/6.1.10/build] Error 2 make:
Leaving directory ‘/usr/src/linux-headers-5.8.0-36-generic’
Amir Dora.
2,8414 gold badges40 silver badges61 bronze badges
asked Jan 12, 2021 at 12:45
Had the same issue But finally got it fixed!!!
By removing Virtualbox completely and reinstalling it.
Tried downgarding the kernel but that did’nt work for me
sudo apt-get purge "^virtualbox-.*"
sudo apt-get autoremove && sudo apt-get autoclean && sudo apt-get clean
Then download the latest virtualbox version from this link for ubuntu 20.04
https://www.virtualbox.org/wiki/Linux_Downloads
I tried many other solutions, none worked for me.
chrslg
9,0525 gold badges18 silver badges31 bronze badges
answered Jan 18, 2021 at 12:14
Try to install virtualbox from its download page to make sure that it’s the latest version of virtualbox (6.1.16).
If it’s still failing, maybe this answer can help
answered Jan 13, 2021 at 9:53
LioLio
2253 silver badges8 bronze badges
2
Removing kernel versions like 5.8 and downgrading to 5.4.0-60-generic has solved the problem. After booting with kernel 5.4.0-60-generic I was able to install Virtualbox using synaptic and my new virtual machine works.
answered Jan 12, 2021 at 13:09
ruby_objectruby_object
1,2291 gold badge12 silver badges30 bronze badges
answered Jan 17, 2021 at 13:29
Had a similar issue.
Steps that I followed:
- Completely uninstalled and purged the previously failed to install virtualbox files
sudo apt-get purge "^virtualbox-.*"
sudo apt-get autoremove && sudo apt-get autoclean && sudo apt-get clean
- Ran the installer for «All Distributions» by running wget
wget https://download.virtualbox.org/virtualbox/7.0.6/VirtualBox-7.0.6-155176-Linux_amd64.run
- Making the file executable
chmod +x ./VirtualBox-7.0.6-155176-Linux_amd64.run
- Running installing script
sudo ./VirtualBox-7.0.6-155176-Linux_amd64.run
Note: You may need to change the version number for what
answered Feb 23 at 10:10
dev_Pdev_P
791 gold badge1 silver badge7 bronze badges
It’s not recommended to install any software from Terminal because you always will get the old version of that software .Hence,its always better to install and download software from their particular’s official website ..
In ur case,its better to exit the Terminal and try to install virtualbox from their respective official website:
https://www.virtualbox.org/wiki/Linux_Downloads
If this also don’t work then try to remove all the virtualbox dependencies from Synaptic Package Manager and again
install virtualbox ..
answered Oct 8, 2021 at 1:41
Biku ShahBiku Shah
1072 silver badges5 bronze badges