VirtualBox

From miki
Revision as of 23:40, 24 March 2010 by Mip (talk | contribs)
Jump to navigation Jump to search

Installation

Reference instructions can be found here:

  • Add the following lines to /etc/apt/sources.list (here for Ubuntu Karmic):
  • deb http://download.virtualbox.org/virtualbox/debian karmic non-free
  • Add the Sun public key for apt-secure, then install
    wget -q http://download.virtualbox.org/virtualbox/debian/sun_vbox.asc -O- | sudo apt-key add -
    sudo apt-get install virtualbox-3.1
    

The group vboxusers is created during installation.

  • Users of the VirtualBox must be member of that group. New users can be added with
sudo usermod -a -G vboxusers username
  • The daemon for the network interfaces will be assigned to that group.

VirtualBox requires a kernel module vboxdrv.

  • The default location of the module is given by setting KDIR=[fullpath] in file /etc/default/virtualbox.
  • The kernel module can be compiled with
sudo /etc/init.d/vboxdrv setup

Creating a New Virtual Machine

  • To boot a Virtual Machine directly from a physical disk partitions, check the page on raw disks.