Difference between revisions of "VirtualBox"

From Amahi Wiki
Jump to: navigation, search
Line 3: Line 3:
 
This is a step by step tutorial on how to get VirtualBox 3 up and running on Fedora 12. Specifically, this guide was written using the VirtualBox 3.0.8 version and an i386 CPU (32-bit). It can be adapted to upcoming versions and different CPUs (64-bit). The folks at VirtualBox have made it easy to install for Fedora users and I’m going to show you how in a few easy steps. Right, open a terminal window and let’s get to it…
 
This is a step by step tutorial on how to get VirtualBox 3 up and running on Fedora 12. Specifically, this guide was written using the VirtualBox 3.0.8 version and an i386 CPU (32-bit). It can be adapted to upcoming versions and different CPUs (64-bit). The folks at VirtualBox have made it easy to install for Fedora users and I’m going to show you how in a few easy steps. Right, open a terminal window and let’s get to it…
  
# Become privileged
+
* Become privileged
 
  su -
 
  su -
# Get the VirtualBox repo installed (you may need to install wget)
+
* Get the VirtualBox repo installed (you may need to install wget)
 
  wget http://download.virtualbox.org/virtualbox/rpm/fedora/virtualbox.repo && cp virtualbox.repo /etc/yum.repos.d/
 
  wget http://download.virtualbox.org/virtualbox/rpm/fedora/virtualbox.repo && cp virtualbox.repo /etc/yum.repos.d/
# Install VirtualBox (along with a few other needed packages)!  If you’re having issues here, try installing “kernel-PAE-devel”
+
* Install VirtualBox (along with a few other needed packages)!  If you’re having issues here, try installing “kernel-PAE-devel”
 
  yum install -y VirtualBox dkms gcc
 
  yum install -y VirtualBox dkms gcc
 
  /etc/init.d/vboxdrv setup
 
  /etc/init.d/vboxdrv setup
# Add yourself to the “vboxusers” group and fix the SELinux Permissions (just in case):
+
* Add yourself to the “vboxusers” group and fix the SELinux Permissions (just in case):
 
  usermod -G vboxusers -a <yourusername>
 
  usermod -G vboxusers -a <yourusername>
 
  chcon -t textrel_shlib_t /usr/lib/virtualbox/VirtualBox.so
 
  chcon -t textrel_shlib_t /usr/lib/virtualbox/VirtualBox.so
# Run, and enjoy!
+
* Run, and enjoy!
 
  VirtualBox
 
  VirtualBox
  

Revision as of 23:39, 23 March 2010

Virtual Box on Fedora 12

This is a step by step tutorial on how to get VirtualBox 3 up and running on Fedora 12. Specifically, this guide was written using the VirtualBox 3.0.8 version and an i386 CPU (32-bit). It can be adapted to upcoming versions and different CPUs (64-bit). The folks at VirtualBox have made it easy to install for Fedora users and I’m going to show you how in a few easy steps. Right, open a terminal window and let’s get to it…

  • Become privileged
su -
  • Get the VirtualBox repo installed (you may need to install wget)
wget http://download.virtualbox.org/virtualbox/rpm/fedora/virtualbox.repo && cp virtualbox.repo /etc/yum.repos.d/
  • Install VirtualBox (along with a few other needed packages)! If you’re having issues here, try installing “kernel-PAE-devel”
yum install -y VirtualBox dkms gcc
/etc/init.d/vboxdrv setup
  • Add yourself to the “vboxusers” group and fix the SELinux Permissions (just in case):
usermod -G vboxusers -a <yourusername>
chcon -t textrel_shlib_t /usr/lib/virtualbox/VirtualBox.so
  • Run, and enjoy!
VirtualBox


NOTE: See how-to-install-virtualbox-3-on-fedora-12-tutorial for more info.


Portable VirtualBox On Windows

  • Download latest version from here.
  • You can install this on a hard drive or USB Flash Drive.


VirtualBox Web

  • Early alpha stage at the moment. The source files can be downloaded [1].
  • Install Instructions are located here.


TROUBLESHOOTING

Having problems with Virtualbox guestadditions in Fedora 12 Guest? The fix can be found in r27248. Add the lines in green as the location specified. Manually apply this fix after you installed the guest additions (but before you rebooted the guest!) by changing /usr/src/vboxvideo-3.1.4/vboxvideo_drm.c and then re-compile the kernel modules by executing this as root user.

/etc/init.d/vboxadd setup