Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Ubuntu not fully shutting down on VirtualBox

I have installed Ubuntu Precise (v. 12.04) on VirtualBox v. 4.1.12, on two different machines running Mac OS 10.5.8 and 10.6.8, respectively. All works as expected. I can shut down Ubuntu using the "Shut Down" command in the menu, and the guest OS does indeed shut down.

But when I try to shut down from the command line using sudo halt, while the guest OS does shut down, its window never disappears.

Does anyone have any idea why this might be? I have no such problem with Ubuntu Lucid (v. 10.04) in the same environments.

like image 206
brannerchinese Avatar asked Apr 23 '12 01:04

brannerchinese


People also ask

Is 4GB RAM enough for Ubuntu in VirtualBox?

VirtualBox is free and open source virtualization software from Oracle. It enables you to install other operating systems in virtual machines. It is recommended that your system should have at least 4GB of RAM to get decent performance from the virtual operating system.

Why does VirtualBox freeze Ubuntu?

If Ubuntu freezing in VirtualBox only happened occasionally, it could be a RAM issue. The host computer only has so much RAM. Even though VirtualBox allows you to run another operating system, it's still using your computer's resources.


2 Answers

It seems to be an open bug see: https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/880240 https://bugs.launchpad.net/ubuntu/+source/linux/+bug/950129

Try sudo shutdown -h now instead.

like image 183
Naftaly Avatar answered Oct 11 '22 21:10

Naftaly


Try to disable 'I/O APIC' in VirtualBox-Configuration-Sytem-Motherboard menu.

like image 24
Oligoelemento Avatar answered Oct 11 '22 22:10

Oligoelemento