
egrep -c '(vmx|svm)' /proc/cpuinfoĪs long as it doesn’t return 0, then you’re good. I’ll assume you have your OS installed, and have sudo rights.įirst, check that your CPU can run VMs. The reason I made this guide is because I could have used one If there is something wrong, or something that could be done smarter, please let me know! 1 - Preparation Please report both if you have success on other systems, and if not. NOTE: This is for Ubuntu Server LTS 20.04, but I suspect it will work for many Debian-based systems. Since the install page only describes how to use VirtualBox via a GUI, and I am using VirtualBox in a server setting, I thought I’d share a quick guide to how to do this from CLI only. Installing VirtualBox and deploying Home Assistant OS Special thanks to for their topic, so I could use it as a template for this one. I was installing Home Assistant OS on an Ubuntu Server (20.04) and documented my steps along the way. (Again, file is too big and can't upload it without posting a url) Melhior Posts: 7 Joined: 23.This is basically the same guide as Install Home Assistant OS with KVM on Ubuntu headless (CLI only), but for VirtualBox Here's my most recent log, I deleted the the old ones, started the machine until it showed the beeping underscore, waited a few seconds and shut it down. The Ubuntu is my primary OS on which VirtualBox is installed. I'm not trying to setup Ubuntu in Virtualbox, but Debian. The debian I'm trying to install has 21,95gb of allocated space, and doesn't start for some reason. I think you misunderstand the problem, my own Ubuntu starts on a NVMe disk with 123,3gb of space, 30,4gb is used (including for the VM)

Also see How to Resize a DriveĪlso try HostKey-F to toggle the VM's Fullscreen setting. Web-search how to fix this in an Ubuntu PC and apply the steps to the VM. The solution is to log on text-only and delete stuff until the desktop environment can start.

Scottgus1 wrote:Ubuntu is known to go blackscreen if there is not enough free disk space to start the desktop environment.
