HOWTO:VirtualBox
From PardusWiki
(Difference between revisions)
| Line 16: | Line 16: | ||
After installation of VirtualBox the entry is in: System > Sun VirtualBox (Virtual Machine) | After installation of VirtualBox the entry is in: System > Sun VirtualBox (Virtual Machine) | ||
| + | Documentation can be found in /opt/VirtualBox/UserManual.pdf and have a look at http://www.virtualbox.org/wiki/User_FAQ | ||
=The not so easy way= | =The not so easy way= | ||
| − | === Download VirtualBox Package === | + | ==== Download VirtualBox Package ==== |
:# Run browser. Navigate to: http://www.virtualbox.org/wiki/Linux_Downloads or http://dlc.sun.com/virtualbox/vboxdownload.html#linux (including previous versions) | :# Run browser. Navigate to: http://www.virtualbox.org/wiki/Linux_Downloads or http://dlc.sun.com/virtualbox/vboxdownload.html#linux (including previous versions) | ||
:# Download the BIN file: "All Distributions [i386/AMD64]" and save it on your desktop | :# Download the BIN file: "All Distributions [i386/AMD64]" and save it on your desktop | ||
| − | === Prepare VirtualBox Installation === | + | ==== Prepare VirtualBox Installation ==== |
Run Package Manager, make sure "Show New Packages" is clicked on, then search, and click on the checkboxes that read: | Run Package Manager, make sure "Show New Packages" is clicked on, then search, and click on the checkboxes that read: | ||
:#"kernel-source" | :#"kernel-source" | ||
| Line 27: | Line 28: | ||
:#"make". | :#"make". | ||
| − | === Install VirtualBox === | + | ==== Install VirtualBox ==== |
:# 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." | :# 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." | ||
:# In Konsole, type the following to install VirtualBox: <pre>sh "name of the downloaded file"</pre>When the kernel in Pardus is updated you have to repeat the "sh ...." command. | :# In Konsole, type the following to install VirtualBox: <pre>sh "name of the downloaded file"</pre>When the kernel in Pardus is updated you have to repeat the "sh ...." command. | ||
| Line 35: | Line 36: | ||
:# Close Konsole | :# Close Konsole | ||
| − | === Add Users To VirtualBox === | + | ==== Add Users To VirtualBox ==== |
:# In Pardus>Tasma>System>User Manager select the user that is allowed to use VirtualBox and select 'Edit' | :# In Pardus>Tasma>System>User Manager select the user that is allowed to use VirtualBox and select 'Edit' | ||
:# In 'Groups' put a mark at 'vboxusers' and 'Apply' | :# In 'Groups' put a mark at 'vboxusers' and 'Apply' | ||
:# Close User Manager and Tasma. | :# Close User Manager and Tasma. | ||
| − | === Activating USB support. === | + | ==== Activating USB support. ==== |
:# Open file /etc/fstab in KWrite with administrator privileges: [Alt + F2] and enter '''kdesu kwrite /etc/fstab''' + [Run]. | :# Open file /etc/fstab in KWrite with administrator privileges: [Alt + F2] and enter '''kdesu kwrite /etc/fstab''' + [Run]. | ||
:# Add the next line at the bottom:<pre>none /proc/bus/usb usbfs devgid=85,devmode=666 0 0 + <enter></pre> | :# Add the next line at the bottom:<pre>none /proc/bus/usb usbfs devgid=85,devmode=666 0 0 + <enter></pre> | ||
| Line 46: | Line 47: | ||
:# In VirtualBox a USB stick can be mounted with Devices > USB Devices > . | :# In VirtualBox a USB stick can be mounted with Devices > USB Devices > . | ||
| − | |||
| − | |||
= Stable version of VirtualBox= | = Stable version of VirtualBox= | ||
A stable version of VirtualBox can be installed through Package Manager. | A stable version of VirtualBox can be installed through Package Manager. | ||
Warning: this version doesn't give support for USB ! | Warning: this version doesn't give support for USB ! | ||
Revision as of 13:16, 13 January 2010
Contents |
Latest release of VirtualBox
The easy way
Add repository. (from http://www.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
Search and install Pavi in Package Manager.
After installation Pavi can be found in: System > Pavi (Pardus VirtualBox Installer)
After installation of VirtualBox the entry is in: System > Sun VirtualBox (Virtual Machine)
Documentation can be found in /opt/VirtualBox/UserManual.pdf and have a look at http://www.virtualbox.org/wiki/User_FAQ
The not so easy way
Download VirtualBox Package
- Run browser. Navigate to: http://www.virtualbox.org/wiki/Linux_Downloads or http://dlc.sun.com/virtualbox/vboxdownload.html#linux (including previous versions)
- 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:
- "kernel-source"
- "gcc"
- "make".
Install VirtualBox
- 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."
- 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. - To load the kernel module after a new start give the command:
echo vboxdrv>>/etc/modules.autoload.d/kernel-2.6
- If you need "Host Interface" networking give the command:
echo vboxnetflt>>/etc/modules.autoload.d/kernel-2.6
- Finally you need to create an extra symbolic link (a bug workaround):
ln -s /lib/libcap.so.2.10 /lib/libcap.so.1
- Close Konsole
Add Users To VirtualBox
- In Pardus>Tasma>System>User Manager select the user that is allowed to use VirtualBox and select 'Edit'
- In 'Groups' put a mark at 'vboxusers' and 'Apply'
- Close User Manager and Tasma.
Activating USB support.
- Open file /etc/fstab in KWrite with administrator privileges: [Alt + F2] and enter kdesu kwrite /etc/fstab + [Run].
- Add the next line at the bottom:
none /proc/bus/usb usbfs devgid=85,devmode=666 0 0 + <enter>
- Save file and close KWrite.
- Restart the computer.
- In VirtualBox a USB stick can be mounted with Devices > USB Devices > .
Stable version of VirtualBox
A stable version of VirtualBox can be installed through Package Manager.
Warning: this version doesn't give support for USB !