Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora Resources > Guides & Solutions (No Questions)
FedoraForum Search

Forgot Password? Join Us!

Guides & Solutions (No Questions) Post your guides here (No links to Blogs accepted). You can also append your comments/questions to a guide, but don't start a new thread to ask a question. Use another forum for that.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 10th June 2009, 12:52 AM
SendDerek Offline
Registered User
 
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!
Reply With Quote
  #2  
Old 10th June 2009, 12:53 AM
SendDerek Offline
Registered User
 
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.
Reply With Quote
  #3  
Old 12th June 2009, 08:57 PM
Hawaiisnowstorm Offline
Registered User
 
Join Date: Jun 2009
Location: FL
Age: 28
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?
Reply With Quote
  #4  
Old 12th June 2009, 09:20 PM
SendDerek Offline
Registered User
 
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.
Reply With Quote
  #5  
Old 12th June 2009, 09:56 PM
NoEffex Offline
Registered User
 
Join Date: Oct 2008
Posts: 299
Quote:
Originally Posted by SendDerek View Post
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!
Reply With Quote
  #6  
Old 12th June 2009, 11:17 PM
Hawaiisnowstorm Offline
Registered User
 
Join Date: Jun 2009
Location: FL
Age: 28
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 =)
Reply With Quote
  #7  
Old 4th July 2009, 07:21 PM
Astrals Offline
Registered User
 
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.
__________________
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.

Last edited by Astrals; 4th July 2009 at 10:05 PM.
Reply With Quote
  #8  
Old 6th July 2009, 08:14 AM
gloomy Offline
Registered User
 
Join Date: Jan 2007
Location: Brussels
Age: 38
Posts: 4
Quote:
Originally Posted by Astrals View Post
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.
Reply With Quote
  #9  
Old 7th July 2009, 02:54 AM
neighborlee Offline
Registered User
 
Join Date: Nov 2003
Location: Seattle , WA
Age: 57
Posts: 235
Quote:
Originally Posted by SendDerek View Post
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
Reply With Quote
  #10  
Old 7th July 2009, 05:36 AM
gloomy Offline
Registered User
 
Join Date: Jan 2007
Location: Brussels
Age: 38
Posts: 4
Quote:
Originally Posted by neighborlee View Post
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
Reply With Quote
  #11  
Old 8th July 2009, 05:43 AM
Nachiket Offline
Registered User
 
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?
Reply With Quote
  #12  
Old 8th July 2009, 06:13 AM
Nachiket Offline
Registered User
 
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.
Reply With Quote
  #13  
Old 16th July 2009, 03:12 AM
tquang Offline
Registered User
 
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, ....
Reply With Quote
  #14  
Old 11th September 2009, 07:38 AM
solinem Offline
Registered User
 
Join Date: Aug 2008
Location: Mexico City, MEXICO
Posts: 80
linuxfedorafirefox
Quote:
Originally Posted by tquang View Post
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
Reply With Quote
  #15  
Old 17th September 2009, 09:35 PM
san Offline
Registered User
 
Join Date: Sep 2009
Posts: 40
linuxubuntufirefox
awsome it helped me a lot thank you

fedora

Last edited by san; 1st October 2009 at 06:11 AM.
Reply With Quote
Reply

Tags
fedora 11, guide, install, tutorial, virtualbox

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How To: Install VirtualBox on Fedora 10 SendDerek Guides & Solutions (No Questions) 82 11th May 2010 08:58 AM
Install VirtualBox in Fedora 11 ahouston Installation, Upgrades and Live Media 5 12th October 2009 06:35 AM
How To: Install VirtualBox on Fedora 8 SendDerek Guides & Solutions (No Questions) 189 24th October 2008 10:32 PM
can you help me cleanup this tutorial? howto install UT2004 in fedora 8 vectoravtech Gamers' Lounge 7 26th December 2007 04:22 AM
FC5 install with RAID 1 - tutorial ?? bluejuice EOL (End Of Life) Versions 15 23rd October 2006 05:28 AM


Current GMT-time: 18:15 (Saturday, 25-10-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Cainta Photos - Pleasant Prairie Photos on Instagram - Acapulco Photos