Page 1 of 1
VM fails to start
Posted: 28. Feb 2022, 12:40
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!
Re: VM fails to start
Posted: 1. Mar 2022, 04:39
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.
Re: VM fails to start
Posted: 1. Mar 2022, 11:12
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.
Re: VM fails to start
Posted: 1. Mar 2022, 23:01
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.