VM fails to start

Discussions related to using VirtualBox on Windows hosts.
Post Reply
bechir
Posts: 2
Joined: 28. Feb 2022, 12:32

VM fails to start

Post by bechir »

Hello everyone,
I am using VirtualBox VM on top of Windows host (Ubuntu 20.04.4). I have installed successfully the ELK Stack and when I tried to restart the VM, it started loading and then got stuck with a black screen. I thought maybe it is a lack of resources problem. If so what do you suggest me to do? And if not what is the actual problem. You can find attached to this post the Log File.

Thank you in advance for your help!
Attachments
logs.zip
(45.2 KiB) Downloaded 5 times
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: VM fails to start

Post by scottgus1 »

Unfortunately the logs were taken while the VM window was still open, so some diagnostic data is missing. But what is there shows a properly-running VM without any 'hardware' issues.

Try troubleshooting this inside the VM OS itself.
bechir wrote:I have installed successfully the ELK Stack
If this involved accidentally filling up the whole VM drive, Ubuntu is known to go black-screen if the disk fills up, happens on real PCs too. You need to delete some stuff from the drive then the desktop environment can start. Web-search how to check on this.
bechir
Posts: 2
Joined: 28. Feb 2022, 12:32

Re: VM fails to start

Post by bechir »

You were right, I tried reinstalling Ubuntu and they told me that the Disk was full. The problem is that I just started using this portable computer, it is 471and the free space is 409GB as you can see in the attached ZIP File. I don't know why the VM is going out of space.
Attachments
Disk-space.zip
(112.57 KiB) Downloaded 3 times
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: VM fails to start

Post by scottgus1 »

I sunrise that the attached screenshot shows your host disk size and free space. Your VM's disk is not the host's disk. The VM's disk is a file on the host disk, usually kept in the VM's folder (Right-click the VM in the main Virtualbox window's VM list, choose Show in Explorer/Finder/File Manager. The VM folder will open.) It is entirely possible for the VM disk file to fill up while having plenty of host disk space.

When you make a VM you have an option to make a new disk or use an existing one. In the 'make a new disk' option you can choose how big to make the disk file.

You can also, if the disk file is dynamic-sized, make the disk file bigger. See How to Resize a Drive.
Post Reply