VirtualBox VM poweroff with Ubuntu Server install

I installed a command-line version of Ubuntu in VirtualBox. After doing so, shutting down the VM would leave the VM container running instead of closing it out as I assumed. I found that it’s because ACPI was not installed and, potentially, the VM config wasn’t set to ACPI.

First, ensure the VM is setup for ACPI:

VBoxManage modifyvm [nameofmachine] --acpi on

And then in the VM, install acpid and when shutting down use the poweroff command:

sudo apt-get install acpid
user@virtualmachine: sudo poweroff


One thought on “VirtualBox VM poweroff with Ubuntu Server install”

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s