Sunday, October 21, 2012

Install VirtualBox 4.2.2 In Ubuntu 12.10 (Quantal Quetzal) and Linux Mint 13



 VirtualBox for Linux has just been updated to version 4.2.2. This is a maintenance release that brings full support to X.Org Server 1.13 and Linux Kernel 3.7 RC1. Here are some of the key changes in this latest release:


  • Linux hosts / guests: Linux 3.7-rc1 fixes
  • Linux Additions: support X.Org Server 1.13
  • Linux Additions: fixed a hang when the X server was restarted with old guest kernels
  • Linux Additions: fixed a VBoxService crash during CPU hot remove
You can find the full changelog of VirtualBox 4.2.2 here.

VirtualBox 4.2.2 Installation

If you have an older version (4.1, 4.0, 3.2, 3.1, etc.) of VirtualBox, it is recommended that you uninstall it with these commands:

 sudo apt-get purge virtualbox-4.1

To install VirtualBox 4.2.2 in Ubuntu 12.10/12.04 or Linux Mint 13, open the terminal and issue these commands:

echo "deb http://download.virtualbox.org/virtualbox/debian $(lsb_release -sc) contrib" | sudo tee /etc/apt/sources.list.d/virtualbox.list

wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add -

sudo apt-get update

sudo apt-get install dkms virtualbox-4.2

Troubleshooting

For users having problems enabling "Guest Additions" with Ubuntu 12.10 running as guest OS, you can simply install these packages manually via the terminal:

sudo apt-get install virtualbox-guest-additions

sudo apt-get install virtualbox-guest-dkms virtualbox-guest-x11 virtualbox-guest-utils

When you finish, reboot the VM (virtual machine). The screen resolution of Ubuntu 12.10 will now change when resizing the VM. Also, open Devices > Shared Clipboard and enable the "Bidirectional" option:

No comments:

Post a Comment