Ошибка при запуске ubuntu на виртуальной машине

Привет.
Для решения проблемы стоит начать с самого начала.

1. Для корректной работы виртуализации через hyper-v нужно что бы была Os Win10 Pro. На версии Home данная функция не доступна.

2. Нужно проверить включена ли виртуализация. Для этого достаточно открыть диспетчер задач и посмотреть в разделе ЦП.
60dd428be5630963504187.png

2.1. Если виртуализация отключена. Стоит зайти в BIOS вашего компьютераноутбука как рекомендовал SagePtr и включить ее.
Обычно это раздел Secure Virtual Machine Mode но на каждой материнской плате и процессоре может быть по разному.

3. Далее мы идем включать виртуализацию в самой OS Windows: Для этого нужно зайти Компоненты Windows для этого идем Панель управления -> Удаление программы(Программы и компоненты) -> Включиние и отключение компонентов Windows.
60dd4403bc13e419089658.png

Здесь нас интересует пункт Песочница Windows и Hyper-V (Мне было достаточно Hyper-V)
60dd44618eae1740968337.png

4. Следом идет рестарт машины.

Если Вы собираетесь в дальнейшем использовать Docker из под OS Windows или ставите Ubunty через Docker ( да так можно о ждет меньше памяти, при условии если Вам нужна только консоль) то нужно включить разделы Платформы виртуальных машин и Подсистема Windows для Linux

P.S: Есть ссылка на статью где разобрано включении чуть подробней по каждой ситуации под железо.
comp-profi.com/kak-vkljuchit-virtualizaciju-v-bios…

Надеюсь помог.

Virtual Machines are like a gateway to enjoying multiple OSs on a single system. A Windows user can enjoy Linux, Mac, and other operating systems. However, a lot of users are complaining that Ubuntu is freezing in Oracle VirtualBox. We are going to resolve this issue with some simple solutions.

Ubuntu Freezing in Oracle VirtualBox

Why is Ubuntu on VirtualBox so slow?

A very logical reason why Ubuntu runs slow on your system is the lack of resources. If you have a ton of applications running in the background, you can’t be expecting VirtualBox to run smoothly. It needs some resources and when you distribute your CPU, GPU, RAM to other apps as well, VirtualBox is left with scarce resources.

Talking about resources, when you create the VM, you allocate RAMs, CPUs, etc to it. Your VM tries to adjust its performance as per the resources you allocate to it, so, if you feed it fewer resources, it will make sure that it doesn’t crash by dialing down the resources.

There are some other settings that we are going to make to make the app work. If you want a smooth run with Ubuntu, then try the solutions and workarounds mentioned hereinafter. Without wasting any time, let us hop into it.

Before going to the troubleshooting guide, it is important to update your system. Sometimes, updating alone can resolve the issue, so, do that and if it didn’t work, move to the solutions.

If Ubuntu is freezing in Oracle VirtualBox, check out the following solutions to resolve the issue.

  1. Close other apps or restart
  2. Turn off 3D Acceleration
  3. Allocate more CPUs
  4. Tweak other settings
  5. Update VirtualBox
  6. Reinstall Ubuntu

Let us talk about them in detail.

1] Close other apps or restart

This may not be a solution, but can be called a permanent workaround. Try closing all the apps before starting your VM. If that doesn’t work, restart your system, and see if it work. You are basically closing all the resource-hogging programs and giving utmost importance to the Virtual Machine. Hopefully, it will do the job for you.

2] Turn off 3D Acceleration

3D Acceleration has been causing problems to VirtualBox users regardless of the Operating System they are using. It was meant to grant a lot of different features to the mix, but in that process, it makes your VM crawl. So, follow the prescribed steps to turn off 3D Acceleration.

  1. Open Oracle VirtualBox.
  2. Right-click on your VM and click Settings.
  3. Go to Display > Screen.
  4. Untick Enable 3D Acceleration.
  5. Click Ok.

Restart your computer and check if the issue persists.

3] Allocate more CPUs

If you have not allocated more resources to your Virtual Machine, then you can still grant it more processors by going into the settings. This works for most users, as people don’t allocate a lot of resources during setting up the VM. You should follow the given steps to allocate more CPUs.

  1. Open Oracle VirtualBox.
  2. Right-click on the Ubuntu and go to Settings.
  3. Go to System > Processor.
  4. Use the slider to increase the Processor(s).
  5. Click Ok,

While you are there, go to the Motherboard tab and increase your Base Memory. Finally, restart your VM and system and check if the issue persists.

4] Tweak other settings

Changing CPU count and disabling 3D Acceleration will work for most users, but if it doesn’t work for you then try the trial and error method. For that, right-click on your VM and go to Settings. Then, go to tabs one after the other, change them depending on your knowledge, if that doesn’t work, you can always change them.

Read: VirtualBox displays Black screen and not Booting guest OS

5] Update VirtualBox

Ubuntu or other VM can also crawl on your computer because of a bug. Since you are not an Oracle developer, you can’t change the codes to get rid of the bug. That’s why it is better to check the update for VirtualBox. If you see an update, go ahead and download the package. Then install it and your issue will be resolved.

6] Reinstall Ubuntu

Your OS can get corrupted, which as a result can make your Ubuntu crawl. So, go to ubuntu.com/download and download the Ubuntu ISO. Then install it on your VirtualBox, allocate it a good amount of resources, and hopefully, it will do the job for you.

Read: How to make VirtualBox VM full screen in Windows 11/10

Why is VirtualBox freezing?

VirtualBox usually freezes when it is not getting the perfect environment to run. The environment means an abundant amount of resources such as CPU, RAM, Storage, etc. Usually, we think that we have given everything it needs, but it still requires more. If you have more, give that to the machine and it will respond perfectly, otherwise, it will stutter.

Also Read: How to Install Windows 11 on Oracle VM VirtualBox.

  • Печать

Страницы: [1]   Вниз

Тема: Ubuntu не запускается на виртуальной машине  (Прочитано 2329 раз)

0 Пользователей и 1 Гость просматривают эту тему.

Оффлайн
helen_dada

Ubuntu не запускается, машина подвисает в состоянии как на фото, ничего не происходит.
Ubuntu 18.04
Виртуалка Oracle vm версия 6.0.10.
Машина была выключена после неудачной попытки создания резервной копии сайта на битрикс (ошибка — недостаточно памяти в облаке). После этого Ubuntu больше не запускалась.

Скрин экрана:

« Последнее редактирование: 22 Января 2020, 17:18:53 от helen_dada »


Оффлайн
Pilot6

Я в личке не консультирую. Вопросы задавайте на форуме.


Оффлайн
helen_dada


Оффлайн
archuser

После этого Ubuntu больше не запускалась.

См. логи. Клик по правому Ctrl+F2. Логиньтесь. См. записи в логах и выясняйте, почему не запускается система.


Оффлайн
SergeyIT

Машина была выключена после неудачной попытки

Как выключена?

Извините, я все еще учусь


Оффлайн
xub

А каковы параметры основные машины, ранее какие-либо виртуальные машины устанавливались и работали в VM?
2020 Jan 22; 02:29 PM


Оффлайн
helen_dada

Машина была выключена после неудачной попытки

Как выключена?

Крестик -> Выключить машину


Пользователь добавил сообщение 23 Января 2020, 10:16:08:


А каковы параметры основные машины, ранее какие-либо виртуальные машины устанавливались и работали в VM?
2020 Jan 22; 02:29 PM

Какие именно параметры надо посмотреть?
Сама Ubuntu работала без сбоев, седьмая виндоус тоже.

« Последнее редактирование: 23 Января 2020, 10:16:08 от helen_dada »


Оффлайн
xub

Какие именно параметры надо посмотреть?

Я имел в виду показать какой-то общей командой где (на каком компьютере) всё происходит. Например:

С этого желательно всегда начинать:„У меня на компьютере (ноутбук blah… blah… blah…) установлена система blah… blah… blah… “,- а далее детали.

Те участники форума, которые в состоянии дать Вам дельный совет всё равно вынуждены будут задавать вопросы об оборудовании…
2020 Jan 23; 07:17 AM

« Последнее редактирование: 23 Января 2020, 15:19:00 от xub »


Оффлайн
SergeyIT

Крестик -> Выключить машину

А почему не Send the shutdown signal (не знаю что там по-русски)?

Извините, я все еще учусь


Оффлайн
Smorman

Я одно время пробовал разные ВМ, в том числе и Oracle vm (VirtualBox), но всё, как то не складывалось с ними по разным причинам, то то не так, то то не эдак…

И последняя, кою я установил и с успехом пользую — это QEMU/KVM

Вот, уж можно сказать, что практически никаких проблем!
Что назвается, из коробки всё сразу заводится и работает.
ИМХО…

OS: Ubuntu 22.04 ‘Jammy Jellyfish’ LTS, Arch Linux + Openbox, W11 Home
PC: Lenovo H530, CPU: i5-4430 3.0, Video: nVidia PCI-X
SSD: SAMSUNG EVO870 1T, SSD: SAMSUNG EVO870 500G, RAM: 16G, ODD


  • Печать

Страницы: [1]   Вверх

Помогаю со студенческими работами здесь

Ошибка при восстановлении бекапа на Virtual Box
Возникает такая ошибка при восстановление бекапа на Virtual Box

В сети находил мануал, там нужно…

в virtual box не работает ubuntu 13.10
Привет.
Устанавливала на VirtualBox Ubuntu 13.10 32битную версию, под свою систему. Но она просто…

Не сохраняются файлы в ubuntu, virtual box
установил ubuntu-13.04-desktop-i386 на virtual box. запустилась нормально, все опции работают, но…

Virtual Box для Ubuntu MATE 20.04
У меня такая трабла: на ubuntu MATE 20.04 (host) в VirtualBox 5.2.44 в WinXP SP3 (guest) не идёт…

Развертывание kerberos на Ubuntu/Debian в Virtual Box
Добрый день!
Скажите насколько реально поставить и настроить kerberos в Virtual Box? Серверная OS…

Настройка сети в ubuntu server в virtual box под Windows 7
Вообщем имеется:
1. Windows 7 — хост
2. Virtual box
3. Ubuntu Server — гостевая ОС

Искать еще темы с ответами

Или воспользуйтесь поиском по форуму:


0

1

Всем привет! При попытке запуска ubuntu на виртуальной машине появляется такая ошибка:

recovering journal
clean, / files, */ blocks
mtd devie must be supplied (device name is empty)
ERROR Failed to send host log message
[FAILED] Failed to start Snap Daemon
[FAILED] Failed to start Wait until snapd is fully seeded

Пробовал исправить через загрузчик Grub, но не получилось. Подскажите пожалуйста, как решить эту проблему?

Понравилась статья? Поделить с друзьями:
  • Ошибка при запуске spore 1004 в windows 10
  • Ошибка при запуске prince of persia warrior within
  • Ошибка при запуске sims 4 135dec40 984c6a38 00000077
  • Ошибка при запуске transport fever
  • Ошибка при запуске splinter cell conviction