FedoraForum.org - Fedora Support Forums and Community
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 18
  1. #1
    Join Date
    Nov 2007
    Posts
    198

    Thumbs up How To: Install VirtualBox on Fedora 11 [Tutorial]

    This is my humble tutorial on how to get VirtualBox properly up and running on Fedora 11 (including USB support). It's located on my web blog here:

    How To: Install VirtualBox on Fedora 11 [Tutorial]


    Enjoy!

  2. #2
    Join Date
    Nov 2007
    Posts
    198
    Note: I actually haven't ran though this personally. I'm confident that it will work none-the-less. The only part that may or may not work for you is the USB support. Things may have changed a little in that department.

    Updated June 9th, 2009

    This is a tutorial on how to get VirtualBox up and running on Fedora 11. Also, this tutorial is for the 32-Bit version of VirtualBox, so you’ll have to customize a little more to get the 64-bit version running. Everything in the “code” sections should be copy/pasted/typed into the terminal. Right, let’s get to it:

    PreStep.) Open the terminal and get into super user mode:
    Code:
    su -
    1.) Get the latest VirtualBox package (as of now, 2.2.4) from the VirtualBox website for Fedora 11 and install it. The following command should download and install the application:
    Code:
    wget http://download.virtualbox.org/virtualbox/2.2.4/VirtualBox-2.2.4_47978_fedora11-1.i586.rpm && rpm -ivh VirtualBox-2.2.4_47978_fedora11-1.i586.rpm
    2.) Get the kernel-devel and other needed packages:
    Code:
    yum install make automake autoconf gcc kernel-devel dkms
    3.) Run the setup file for VirtualBox:
    Code:
    /etc/init.d/vboxdrv setup
    4.) Add yourself to the “vboxusers” group and fix SELinux Permissions:
    Code:
    usermod -G vboxusers -a username
    chcon -t textrel_shlib_t /usr/lib/virtualbox/VirtualBox.so
    5.) Run, and enjoy!
    Code:
    VirtualBox
    6.) To Get USB Support:

    1 - create a new group called “usb”;
    2 - locate file usbfs: in my case is /sys/bus/usb/drivers (I suggest to find the file with a usb device inserted;
    3 - modify file /etc/fstab inserting a line containing the right path and the number corresponding the “usb” group :
    none /sys/bus/usb/drivers usbfs devgid=503,devmode=664 0 0
    4 - command mount -a;
    5 - start VB and try…;

    Source: Fedora Forums

    7.) To Properly Backup the VirtualBox Machine (.vdi):

    Please refer to my other page here:

    How To: Properly Backup a VirtualBox Machine (.VDI)
    8.) To Get Sound Working:

    Highlight your virtual machine and click on the “Settings” button. Click on the “Sound” category, and then check the “Enable Sound” option. In the drop-down box, select “PulseAudio”. You should now have sound.
    Last edited by SendDerek; 12th June 2009 at 09:25 PM.

  3. #3
    Join Date
    Jun 2009
    Location
    FL
    Age
    31
    Posts
    10

    Cool No luck..

    I tryed following your instructions how ever I get the following messages after down loading VB like you said in Step #1

    Code:
    100%[======================================>] 40,418,619   157K/s   in 4m 11s  
    
    2009-06-12 15:43:54 (157 KB/s) - `VirtualBox-2.2.4_47978_fedora11-1.i586.rpm?e=1244835922&h=667e103d20b181fd85b98fbeacf679c8' saved [40418619/40418619]
    
    error: open of VirtualBox-2.2.4_47978_fedora11-1.i586.rpm failed: No such file or directory
    You have new mail in /var/spool/mail/root
    [root@localhost ~]#
    I'm new to Fedora, and using Virtual box was one of the reason I wanted to try to use it. any suggestions?

  4. #4
    Join Date
    Nov 2007
    Posts
    198
    I would maybe suggest just simply double-clicking on the newly downloaded file instead of messing around with the command line. The command is just trying to open it is all. You've already downloaded it, so that's great.

    After looking at it a bit more, it almost looks like it saved the file as 'VirtualBox-2.2.4_47978_fedora11-1.i586.rpm?e=1244835922&h=667e103d20b181fd85b98fbe acf679c8' That's strange for it to have all of that garbage after ".rpm". The command you've entered is looking for "VirtualBox-2.2.4_47978_fedora11-1.i586.rpm", not the big nasty one.
    Last edited by SendDerek; 12th June 2009 at 09:23 PM.

  5. #5
    Join Date
    Oct 2008
    Posts
    299
    Quote Originally Posted by SendDerek
    I would maybe suggest just simply double-clicking on the newly downloaded file instead of messing around with the command line. The command is just trying to open it is all. You've already downloaded it, so that's great.

    After looking at it a bit more, it almost looks like it saved the file as 'VirtualBox-2.2.4_47978_fedora11-1.i586.rpm?e=1244835922&h=667e103d20b181fd85b98fbe acf679c8' That's strange for it to have all of that garbage after ".rpm". The command you've entered is looking for "VirtualBox-2.2.4_47978_fedora11-1.i586.rpm", not the big nasty one.
    Sun likes to strap on that extra ending for when people download via wget, it happened to me for both virtualbox and opensolaris.

    what you could do is add * to the end of 'VirtualBox-2.2.4_47978_fedora11-1.i586.rpm' and it might work.
    Intel Core 2 Quad Q8400 CPU (2.66 GHz)
    3gb RAM
    500GB HD
    Debian Lenny x86_64 & Windows 7 Ultimate x64
    NVIDIA GeForce 9800 GTX+ Superclocked - Fattypack

    Second(Server) PC:
    512mb RAM
    80gb TiVO HD(Lololol, took it from TiVO, old one broke)
    PC-BSD 7.1.1 x86
    Ossom router decked out with DD-WRT as a bridge providing net
    Sign the Online Petition to bring Crysis 2 to Linux/Mac!

  6. #6
    Join Date
    Jun 2009
    Location
    FL
    Age
    31
    Posts
    10
    Not sure how but I got it to work lol. Combination of this and clicking on the actual install file. The first problem was that I didn't copy the entire Step #1, but after that things went smoothly. Thanks for the help though =)

  7. #7
    Join Date
    May 2008
    Location
    That's why we all leave Bigpond ISP.
    Posts
    84
    Thank you, this has been a great help.
    Virtualbox version 3 now. I got it worked out and working.
    Usb support was a bit tricky but now working.
    Shared folder now working and set for read only.
    Internet connection works perfect.

    Thanks you, looks like i might finally be leaving the noob status.
    Last edited by Astrals; 4th July 2009 at 10:05 PM.
    That's why we all leave Bigpond ISP.
    Once you use linux, learn a few basics, you'll never go back to the windows darkness.

  8. #8
    Join Date
    Jan 2007
    Location
    Brussels
    Age
    41
    Posts
    4
    Quote Originally Posted by Astrals
    Virtualbox version 3 now. I got it worked out and working.
    Usb support was a bit tricky but now working.
    Hi there,

    Running Fedora 11 and VirtualBox 3 now, everything is running fine except for USB.

    Tried what was said above but can't connect usb devices to my vm. When I right click on the icone, all the devices stay grayed.

    Did you do another change than the one given above ?

    Regards



    -----
    Finally found a post who solved my problem

    http://rajaseelan.com/2009/07/06/how...-in-fedora-11/
    Last edited by gloomy; 6th July 2009 at 08:34 AM.

  9. #9
    Join Date
    Nov 2003
    Location
    Seattle , WA
    Age
    61
    Posts
    235
    Quote Originally Posted by SendDerek
    Note: I actually haven't ran though this personally. I'm confident that it will work none-the-less. The only part that may or may not work for you is the USB support. Things may have changed a little in that department.

    Updated June 9th, 2009
    2 locate file usbfs: in my case is /sys/bus/usb/drivers (I suggest to find the file with a usb device inserted;

    ^, I realize you said this was untested etc, but just in case:

    I too have greyed out usb items in VB , and wondering if there are any ideas how about this ?

    I searched that path you noted in fedora 11 for usbfs, and its not here having done a locate and find / on it.

    thx anyone for help on this.

    cheers
    nl
    One Heart at a time-

    http://heartseed.sf.net

  10. #10
    Join Date
    Jan 2007
    Location
    Brussels
    Age
    41
    Posts
    4
    Quote Originally Posted by neighborlee
    I too have greyed out usb items in VB , and wondering if there are any ideas how about this ?
    Hi,

    For my experience, what was given as tip in the first post didn't help me at all, even if I got the same path.

    mount -a , log out/ log in, reboot, nothing helped me ... until I found this post : http://rajaseelan.com/2009/07/06/how...-in-fedora-11/

    After applying the 2 changes they speak about and after reboot, VB3 recognized all my usb stuff

    Hope it will help you

  11. #11
    Join Date
    Jul 2009
    Posts
    2
    I have got fedora 11,
    uname -r
    2.6.29.5-191.fc11.i586
    I tried installing Virtual box 3.0 , VirtualBox-3.0.0_49315_fedora11-1.i586.rpm
    The install gave success
    But VirtualBox suggested running setup.
    When i ran setup i got following error.

    npviewer.bin[2782] general protection ip:12d531c sp:bfa3a050 error:0 in libflashplayer.so[f67000+96d000]
    npviewer.bin[3072]: segfault at 13 ip 016871b7 sp bf951854 error 4 in libflashplayer.so[fcf000+96d000]
    vboxdrv: version magic '2.6.29.4-167.fc11.i586 SMP mod_unload 586 ' should be '2.6.29.5-191.fc11.i586 SMP mod_unload 586 '
    vboxdrv: version magic '2.6.29.4-167.fc11.i586 SMP mod_unload 586 ' should be '2.6.29.5-191.fc11.i586 SMP mod_unload 586 '
    vboxdrv: version magic '2.6.29.4-167.fc11.i586 SMP mod_unload 586 ' should be '2.6.29.5-191.fc11.i586 SMP mod_unload 586 '
    vboxdrv: version magic '2.6.29.4-167.fc11.i586 SMP mod_unload 586 ' should be '2.6.29.5-191.fc11.i586 SMP mod_unload 586 '
    vboxdrv: version magic '2.6.29.4-167.fc11.i586 SMP mod_unload 586 ' should be '2.6.29.5-191.fc11.i586 SMP mod_unload 586 '
    vboxdrv: version magic '2.6.29.4-167.fc11.i586 SMP mod_unload 586 ' should be '2.6.29.5-191.fc11.i586 SMP mod_unload 586 '
    vboxdrv: version magic '2.6.29.4-167.fc11.i586 SMP mod_unload 586 ' should be '2.6.29.5-191.fc11.i586 SMP mod_unload 586 '
    vboxdrv: version magic '2.6.29.4-167.fc11.i586 SMP mod_unload 586 ' should be '2.6.29.5-191.fc11.i586 SMP mod_unload 586 '

    Can you help?

  12. #12
    Join Date
    Jul 2009
    Posts
    2

    Virtual Box 3.0

    I got the issue solved.
    Fedora kernel-dev package did not get the latest sources for given version.

    yum clean all
    did the trick, it updated sources.
    Vbox set up went through.
    Virtual box up and running now.

  13. #13
    Join Date
    Jul 2009
    Posts
    82
    Thank for your thread. I was installed both, however, VMware Workstation bestter than VirtualBox: Linking between Host OS and Guest OS

    Ex: Drag and Drop file, clipboard, network sharing, ....

  14. #14
    Join Date
    Aug 2008
    Location
    Mexico City, MEXICO
    Posts
    80
    Quote Originally Posted by tquang
    Thank for your thread. I was installed both, however, VMware Workstation bestter than VirtualBox: Linking between Host OS and Guest OS

    Ex: Drag and Drop file, clipboard, network sharing, ....
    Yes, it is, and costs more too, there's a Free VirtualBox version, TOO!!!
    Thanks in advance for your valuable help!

    Best regards
    Marco Rios
    Mexico City

  15. #15
    Join Date
    Sep 2009
    Posts
    40
    awsome it helped me a lot thank you

    fedora
    Last edited by san; 1st October 2009 at 06:11 AM.

Page 1 of 2 1 2 LastLast

Similar Threads

  1. How To: Install VirtualBox on Fedora 10
    By SendDerek in forum Guides & Solutions (Not For Questions)
    Replies: 82
    Last Post: 11th May 2010, 08:58 AM
  2. Install VirtualBox in Fedora 11
    By ahouston in forum Installation, Upgrades and Live Media
    Replies: 5
    Last Post: 12th October 2009, 06:35 AM
  3. How To: Install VirtualBox on Fedora 8
    By SendDerek in forum Guides & Solutions (Not For Questions)
    Replies: 189
    Last Post: 24th October 2008, 10:32 PM
  4. Replies: 7
    Last Post: 26th December 2007, 05:22 AM
  5. FC5 install with RAID 1 - tutorial ??
    By bluejuice in forum EOL (End Of Life) Versions
    Replies: 15
    Last Post: 23rd October 2006, 05:28 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •