openSUSE Forums > New User How To/FAQ (read only) > Unreviewed How To and FAQ » Virtual Box (Sun Version) Install HowTo

Go Back   openSUSE Forums > New User How To/FAQ (read only) > Unreviewed How To and FAQ
Forums FAQ Members List Search Today's Posts Mark Forums Read


Unreviewed How To and FAQ POST HERE: Tips and solutions for SUSE Linux from the community. (Please do not post questions)

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-Oct-2009, 23:46
caf4926's Avatar
Global Moderator
 
Join Date: Jun 2008
Location: The English Lake District. UK - GMT/BST
Posts: 12,859
caf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputation
Send a message via MSN to caf4926
Default Virtual Box (Sun Version) Install HowTo

Virtual Box


Instructions for Virtual Box from Sun Microsystems.


Download the .rpm for you openSUSE system form here: Linux_Downloads - VirtualBox


Quote:
Some required Packages for install:


  • kernel-source
  • linux-kernel-headers
  • pam-devel
  • gcc
  • make


Search for these in Yast – Software Management and check to add if necessary. Make sure the kernel source and header packages match your installed kernel.
Make sure you have no Virtual Box packages installed from the openSUSE repositories.


Now either open a terminal in the location of the downloaded .rpm or in kde4's Dolphin use the terminal panel view and just navigate to the location of the VirtualBox .rpm.


  • Now become su in the terminal. You do that by typing su followed by your root password ( take note that the password may not display as you type )
  • Now type: rpm -ihv packagename*
  • Note to above: after you type rpm -ihv – If you just type the first few letters of the package name eg: Vir, then hit the {TAB} key, the package name should auto complete.


The installation should proceed, unless you are missing dependencies or do not have matching kernel and source/header packages, in which case you will be informed.


Post Installation Requirements


From the su terminal do this: modprobe vboxdrv


Next:
Open YaST -> Security and Users -> UserManagement, and edit your user and add them to the vboxusers group. To do this, select your user name, click on Edit, switch to the Details tab and check the vboxusers check box.


Important


After system kernel updates you need to rebuild the kernel module with this from a su terminal:
/etc/init.d/vboxdrv setup


Virtual Box Updates.


Every so often Virtual Box itself is updated and a newer version will be available for download. Grab the new .rpm (having deleted the old .rpm file you used previously).
To update you use this from a su terminal (remember the {TAB} auto-complete tip)
rpm -Uhv packagename*


That's it. Remember the Manual and User FAQ are available for download at the URL above. It is good documentation.


__________________
Box: Fedora 11 | (KDE4.3.2) | M2N4-SLI | AMD 64 X2 5200+ | nVidia 8500GT | 4GB RAM
Lap: openSUSE 11.2 | Celeron 550 | (KDE4.3.3)"3" | Intel 965 GM | Lenovo R61e | 3GB RAM

Last edited by caf4926; 12-Oct-2009 at 13:59.
Reply With Quote
  #2 (permalink)  
Old 12-Oct-2009, 06:51
markcynt's Avatar
Explorer Penguin
 
Join Date: Oct 2008
Location: Lakeland, Florida
Posts: 114
markcynt hasn't been rated much yet
Default Re: Virtual Box (Sun Version) Install HowTo

Great guide caf4926! Right on the money.
__________________
P5N-E SLI, Core2Duo E6850 @ 3GHZ, 2 GB DDR2 800MHZ
EVGA 8800GTS 320MB, 2x320GB
Arctic Cooling Freezer 7 Pro
OpenSuse 11.2, KDE 4.3
Reply With Quote
  #3 (permalink)  
Old 12-Oct-2009, 07:19
caf4926's Avatar
Global Moderator
 
Join Date: Jun 2008
Location: The English Lake District. UK - GMT/BST
Posts: 12,859
caf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputation
Send a message via MSN to caf4926
Default Re: Virtual Box (Sun Version) Install HowTo

Quote:
Originally Posted by markcynt View Post
Great guide caf4926! Right on the money.
Thanks for the vote of confidence!
__________________
Box: Fedora 11 | (KDE4.3.2) | M2N4-SLI | AMD 64 X2 5200+ | nVidia 8500GT | 4GB RAM
Lap: openSUSE 11.2 | Celeron 550 | (KDE4.3.3)"3" | Intel 965 GM | Lenovo R61e | 3GB RAM
Reply With Quote
  #4 (permalink)  
Old 12-Oct-2009, 13:56
Wise Penguin
 
Join Date: Jun 2008
Location: United Kingdom
Posts: 1,026
consused hasn't been rated much yet
Default Re: Virtual Box (Sun Version) Install HowTo

@caf4926

Quote:
That's it. Remember the Manual is available for download at the URL above. It is good documentation.
Can you insert "User FAQ and" "are" so it reads:
Quote:
That's it. Remember the User FAQ and Manual are available for download at the URL above. It is good documentation.
Assuming you now have the power to edit. That FAQ is where they "provide common questions and answers not found in the user manual". It contains current installation issues and temporary fixes for example, which might save a few unnecessary cries for help.

Oops sorry, you may want to rephrase slightly as the User FAQ is just a linked page, so no need to download it.
Reply With Quote
  #5 (permalink)  
Old 12-Oct-2009, 14:00
caf4926's Avatar
Global Moderator
 
Join Date: Jun 2008
Location: The English Lake District. UK - GMT/BST
Posts: 12,859
caf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputation
Send a message via MSN to caf4926
Default Re: Virtual Box (Sun Version) Install HowTo

Done and Dusted.
__________________
Box: Fedora 11 | (KDE4.3.2) | M2N4-SLI | AMD 64 X2 5200+ | nVidia 8500GT | 4GB RAM
Lap: openSUSE 11.2 | Celeron 550 | (KDE4.3.3)"3" | Intel 965 GM | Lenovo R61e | 3GB RAM
Reply With Quote
  #6 (permalink)  
Old 12-Oct-2009, 14:08
Wise Penguin
 
Join Date: Jun 2008
Location: United Kingdom
Posts: 1,026
consused hasn't been rated much yet
Default Re: Virtual Box (Sun Version) Install HowTo

Thanks, but too quick for me. I edited my post and switched them round only to follow the sense that they should look at the FAQ first, at installation. We must have crossed in the post as it were.
Reply With Quote
  #7 (permalink)  
Old 13-Oct-2009, 10:23
pontke's Avatar
Student Penguin
 
Join Date: Jul 2008
Posts: 94
pontke hasn't been rated much yet
Default Re: Virtual Box (Sun Version) Install HowTo

Beginning with version 3.0.8 of VirtualBox, you can now add a VirtualBox repo to Yast and install/update from there.

1. Download the key from here: http://download.virtualbox.org/virtu...n/sun_vbox.asc

2. Import the key:
Code:
sudo rpm --import sun_vbox.asc
3. Add the repo (modify the link below for your version of openSUSE (up to 11.1):
Code:
http://download.virtualbox.org/virtualbox/rpm/opensuse/11.1

EDIT: One additional step: make sure you disable or delete any existing Buildservice Virtualbox repo that you have enabled to prevent conflicts.

For more information, see this link: http://www.virtualbox.org/wiki/Linux_Downloads
Reply With Quote
  #8 (permalink)  
Old 13-Oct-2009, 15:58
Wise Penguin
 
Join Date: Jun 2008
Location: United Kingdom
Posts: 1,026
consused hasn't been rated much yet
Default Re: Virtual Box (Sun Version) Install HowTo

Quote:
Originally Posted by pontke View Post
Beginning with version 3.0.8 of VirtualBox, you can now add a VirtualBox repo to Yast and install/update from there...
Thanks for that news. I normally use a local directory containing the downloaded rpm's, set up as a repo in Yast. It's useful for keeping the previous version(s) as well. After installing or updating through Yast that way, I have never had to mess around changing permissions, adding the vboxuser group, or using modprobe.

I will give the remote VirtualBox repo a try for 3.0.8.
Reply With Quote
Reply

Bookmarks

Tags
virtual box


Thread Tools
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
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2