Installing VirtualBox 3.0 On A Fedora 11 Desktop

Want to support HowtoForge? Become a subscriber!
 
Submitted by falko (Contact Author) (Forums) on Sun, 2009-07-19 17:59. :: Fedora | VirtualBox | Desktop | Virtualization

Installing VirtualBox 3.0 On A Fedora 11 Desktop

Version 1.0
Author: Falko Timme <ft [at] falkotimme [dot] com>
Follow me on Twitter
Last edited 07/09/2009

This tutorial shows how you can install Sun VirtualBox 3.0 (released on June 30, 2009) on a Fedora 11 desktop. With VirtualBox you can create and run guest operating systems ("virtual machines") such as Linux and Windows under a host operating system. There are two ways of installing VirtualBox: from precompiled binaries that are available for some distributions and come under the PUEL license, and from the sources that are released under the GPL. This article will show how to set up VirtualBox 3.0 from the precompiled binaries.

As of version 2.0 VirtualBox supports 32 and 64bit host and guest operating systems (if you want to install 64bit guests your processor must support hardware virtualization and, of course, the host operating system must be 64bit as well).

This document comes without warranty of any kind! I want to say that this is not the only way of setting up such a system. There are many ways of achieving this goal but this is the way I take. I do not issue any guarantee that this will work for you!

 

Installing VirtualBox From Precompiled Binaries

Before we install VirtualBox, we have to find out if we are on a 32bit or a 64bit system. To do this, open a terminal (Applications > System Tools > Terminal)...

... and run:

uname -m

This tells you if you are on a 32- or 64bit system. I, for example, am on a 32bit system:

[falko@localhost ~]$ uname -m
i686
[falko@localhost ~]$

Now open Firefox and go to http://www.virtualbox.org/wiki/Linux_Downloads and select the VirtualBox version for Fedora 11. Make sure you select the right version for your architecture (i386 for 32bit systems and AMD64 for 64bit systems):

Select Open with Package Installer (default) in the Firefox download dialogue:

After the download has finished, the following dialogue will appear. Click on Install:

Type in the root password:

You will see a warning that the VirtualBox package is not signed by a trusted provider. Click on Force Install...

... and type in the root password again:

Afterwards the VirtualBox package and its dependencies are being installed:

That's it! VirtualBox is installed now.

To start VirtualBox, go to Applications > System Tools > Sun VirtualBox (if you don't see the VirtualBox launcher, log out of the desktop and back in again):

When you start VirtualBox for the first time, you are prompted to accept its license:

Afterwards, you can register your VirtualBox installation. You can click on Cancel if you don't want to do this (VirtualBox will work nonetheless).

That's it! You can now use VirtualBox to create virtual machines:

 

Links


Please do not use the comment function to ask for help! If you need help, please use our forum.
Comments will be published after administrator approval.
Submitted by Anonymous (not registered) on Wed, 2009-08-26 15:47.

Not bad, but good documentation doesn't mean lots of screenshots, it means appropriate screenshots...

 

Submitted by Anonymous (not registered) on Sat, 2010-05-22 16:03.
Then write one yourself with more words, genius.
Submitted by llew (not registered) on Wed, 2009-07-22 08:22.
Install by using autoten from http://dnmouse.org/autoten.html. Much easier and you can let it do some other stuff while you are there.
Submitted by rexbinary (not registered) on Wed, 2009-07-22 05:20.

A much easier way of installing VirtualBox on Fedora 11 is to simply install it from the RPMFusion repo.

1. Follow the steps here to install the repo http://rpmfusion.org/Configuration if you don't already have this repo enabled.

2) As root type, yum install VirtualBox-OSE

3) Restart your system so the kernel modules load.

4) VirtualBox is now ready to use.

Currently only version 2.2.4 is offered, 3.0/3.0.2 is in testing. The advantage of using it from the repo is you don't have to bother with recompiling the kernel modules when you receive a kernel update.

Submitted by llew (not registered) on Thu, 2009-07-23 12:36.
Isn't the Fedora version lacking in USB support - ie it is the OSE or Open Source Edition? The one offered by the autoten install script is the Closed Source Edition? I think if you want to attach USB devices to your virtual machine you will need to swallow your pride and use the Close Source Edition. Correct me if I am wrong. See http://www.virtualbox.org/wiki/Editions for a comparison of editions.
Submitted by Mace Moneta (not registered) on Tue, 2009-07-21 20:39.
What's the advantage of VirtualBox over the qemu-kvm based Virtual Machine Manager that is part of Fedora 11?
Submitted by ZylogZ80 (not registered) on Wed, 2009-08-05 21:53.

VirtualBox is a noticeably faster than KVM and VirtualBox will run fast on modern chips that don't support hardware virtualization, such as older Core2Duos with VT removed rebranded as Pentiums. Even on systems that support VT VirtualBox is faster.

 VirtualBox also has much better sound and video support.

 Finally, the closed source version of Virtual Box supports USB which is very handy

However, this article leaves out the fact that USB support will not work by default in Fedora 11. You first have to comment-out the usbfs lines from /etc/sysinit, add your user to the vbox users group, and then modify your fstab to allow for rw access to portions of /proc. The details can be found with some googling.