VirtualBox: Difference between revisions

From miki
Jump to navigation Jump to search
No edit summary
Line 23: Line 23:
</source>}}
</source>}}
* Enable ''[http://en.wikipedia.org/wikiDynamic_Kernel_Module_Support Dynamic Kernel Module Support]'' to deal with Kernel Upgrade
* Enable ''[http://en.wikipedia.org/wikiDynamic_Kernel_Module_Support Dynamic Kernel Module Support]'' to deal with Kernel Upgrade

== Creating a New Virtual Machine ==
* To boot a Virtual Machine directly from a physical disk partitions, check the page on '''[http://www.virtualbox.org/manual/ch09.html#rawdisk raw disks]'''.

Revision as of 23:40, 24 March 2010

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.