Harry Sukumar's Weblog

VirtualBox on Redhat(Fedora) Machines

Posted by hsukumar on 01/10/2008

This is a tutorial on how to get VirtualBox up and running on redhat flavoured machines To carry out the following task you have to have root access on the host Machine

1.) Get the VirtualBox package from the VirtualBox website for Fedora and install it.

rpm -ivh VirtualBox-1xxx.xxxx.xxxx_fedoraX-X.ixxx.rpm

2.) Get the kernel-devel package:
sudo yum install make automake autoconf gcc kernel-devel

3.) Run the setup file for VirtualBox:
sudo /etc/init.d/vboxdrv setup

4.) Add yourself to the “vboxusers” group (don’t forget the “-” dash!):
su -
usermod -G vboxusers -a username
exit

5.) Run, and enjoy!
VirtualBox

I would strongly suggest to disable compiz while using virtualbox. I have noticed that things get Exceptionally slow if turned on

Enjoy!!!

4 Responses to “VirtualBox on Redhat(Fedora) Machines”

  1. Andre Robatino said

    I find that on 32-bit Fedora 9, it makes no difference whether I am a member of the vboxusers group or not.

  2. Andre Robatino said

    The following works in Fedora 9 to get USB working in VirtualBox:

    1) Add yourself to the vboxusers group.
    2) Take note of the vboxusers group id (typically 501).
    3) Add the following line to the end of /etc/fstab:

    none /sys/bus/usb/drivers usbfs devgid=501,devmode=664 0 0

    where if necessary replace 501 with whatever the group id of vboxusers is.
    4) Reboot.

  3. Andre Robatino said

    If the guest OS gets access to USB devices, the host doesn’t get access back afterwards until the devices are unplugged and plugged back in. This is also true even if one just runs VirtualBox as root.

  4. Andre Robatino said

    On Fedora 10 with VirtualBox 2.0.6, I’m now seeing the host getting access to USB devices back when the guest exits, without having to do anything.

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>