HOWTO:VirtualBox

From PardusWiki
(Difference between revisions)
Jump to: navigation, search
(Latest release of VirtualBox)
(In case you can read the German language)
Line 6: Line 6:
 
= Latest release of VirtualBox=
 
= Latest release of VirtualBox=
 
==In case you can read the German language==
 
==In case you can read the German language==
Install http://www.pardususer.de/pub/pardus-depot/2008/pavi-1.2-8.pisi or (for the latest version) add repository.
+
Add repository. (from [http://forum.pardususer.de/index.php?topic=44.0 http://forum.pardususer.de/])
 +
 
 +
Name:
 +
pardususer.de
 +
Address for Pardus 2008:
 +
http://pakete.pardususer.de/pardus-2008/pisi-index.xml.bz2
 +
Address for Pardus 2009:
 +
http://pakete.pardususer.de/pardus-2009/pisi-index.xml.bz2
 +
 
 +
And search and install Pavi in Package Manager.
 +
 
 +
After installation Pavi can be found under System.
  
From http://forum.pardususer.de/
 
Depot Name:        pardususer.de
 
Adresse des Depots: http://www.pardususer.de/pub/pardus-depot/2008/pisi-index.xml.bz2
 
And install Pavi.
 
 
==In case you can't read the German language==
 
==In case you can't read the German language==
  

Revision as of 12:56, 13 January 2010

Contents

Stable version of VirtualBox

A stable version of VirtualBox can be installed through Package Manager.

Warning: this version doesn't give support for USB !

Latest release of VirtualBox

In case you can read the German language

Add repository. (from http://forum.pardususer.de/)

Name:

pardususer.de

Address for Pardus 2008:

http://pakete.pardususer.de/pardus-2008/pisi-index.xml.bz2

Address for Pardus 2009:

http://pakete.pardususer.de/pardus-2009/pisi-index.xml.bz2

And search and install Pavi in Package Manager.

After installation Pavi can be found under System.

In case you can't read the German language

Warning: the latest release (2.2.2) of VirtualBox can give problems (compiling virtualbox-guestadditions) due to the kernel-version used in Pardus.


Download VirtualBox Package

  1. Run browser. Navigate to: http://www.virtualbox.org/wiki/Linux_Downloads or http://dlc.sun.com/virtualbox/vboxdownload.html#linux (including previous versions)
  2. Download the BIN file: "All Distributions [i386/AMD64]" and save it on your desktop

Prepare VirtualBox Installation

Run Package Manager, make sure "Show New Packages" is clicked on, then search, and click on the checkboxes that read:

  1. "kernel-source"
  2. "gcc"
  3. "make".

Install VirtualBox

  1. Run Konsole [Programs>System>Konsole], type "su root" ('to perform high-level functions), give password. Then type "cd Desktop" to navigate to the Desktop where it has been saved, if you have saved it elsewhere type "cd /home/[username]/[foldername] etc."
  2. In Konsole, type the following to install VirtualBox:
    sh "name of the downloaded file"
    When the kernel in Pardus is updated you have to repeat the "sh ...." command.
  3. To load the kernel module after a new start give the command:
    echo vboxdrv>>/etc/modules.autoload.d/kernel-2.6
  4. If you need "Host Interface" networking give the command:
    echo vboxnetflt>>/etc/modules.autoload.d/kernel-2.6
  5. Finally you need to create an extra symbolic link (a bug workaround):
    ln -s /lib/libcap.so.2.10 /lib/libcap.so.1
  6. Close Konsole

Add Users To VirtualBox

  1. In Pardus>Tasma>System>User Manager select the user that is allowed to use VirtualBox and select 'Edit'
  2. In 'Groups' put a mark at 'vboxusers' and 'Apply'
  3. Close User Manager and Tasma.

Activating USB support.

  1. Open file /etc/fstab in KWrite with administrator privileges: [Alt + F2] and enter kdesu kwrite /etc/fstab + [Run].
  2. Add the next line at the bottom:
    none /proc/bus/usb usbfs devgid=85,devmode=666 0 0   + <enter>
  3. Save file and close KWrite.
  4. Restart the computer.
  5. In VirtualBox a USB stick can be mounted with Devices > USB Devices > .

The VirtualBox entry is in: Pardus > Programs > System > Sun xVM VirtualBox (Virtual Machine)

Documentation can be found in /opt/VirtualBox-2.X.X/UserManual.pdf and have a look at http://www.virtualbox.org/wiki/User_FAQ

Personal tools
Namespaces
Variants
Actions
Navigation
Print/export
Toolbox