I’ve
read through a lot of forums on how to update Oracle’s VirtualBox and
never really found many of them to be all that informative. I find a lot
of answers to be rather short, fairly direct but not very good at
giving directions. While the process is fairly simple, when someone
hasn’t done it before and isn’t sure what they should do, the idea can
be a little daunting. I run VBox on openSUSE with a few instances
running and it is fairly easy once a person has done it a few times.
Here is how it gets done using openSUSE.
Obviously,
the new version needs to be downloaded with the extension pack that
goes with it. It is important to note that the extension pack and VBox
version numbers need to match as they are harmonious in their usage.
Keep the both of them together and possibly make a backup if necessary.
First
thing to do is make a backup of the directory housing all the virtual
machines. The update process doesn’t mess with these, but it doesn’t
hurt to have a backup anyway since as we all know “stuff happens”. Since
a lot of the machines I run are installed directly from the iso files
for various Linux systems, I keep these in a directory the same as the
virtual machine directory and back them up as well. Doing this keeps all
our data in a nice cozy spot that can be accessed just in case things
don’t go as planned for some odd reason.
Next,
open YaST and in the search box on the left type in Oracle and click on
the box checked with VirtualBox until it become a red X to signify
removal of the software from the system then click “Accept” to have it
removed. Once that is done click the rpm VBox file and let it install
itself. Believe it or not, the process is almost half done.
Start
VBox and go to File > Preferences > Extension and select the old
version of the extension pack and remove it. Then of course select to
add a new extension and add the new one in its place. Now both the new
VBox and the new extension pack that goes with it are installed and
almost ready to be used. Now go into system runlevels and restart VBox.
Go
back into YaST and go to System Services (Runlevels) and once that
opens scroll down to the V’s and there should be an asterisk next to a
couple of the VBox items that need to be running for it to work. Select
each one with an asterisk and click on “Enable” to get them running
again. Remember, don’t forget to click on “Ok” in the lower right corner
or none of the changes will get registered with the system! If for any
reason something doesn’t restart right, then check with the support team
over at openSUSE and find out why, but there shouldn’t be any problems.
The
last thing to do is reboot the system and launch VBox. Each of the machines will need to have the new extension pack re-installed for it
to take effect.
Showing posts with label YaST. Show all posts
Showing posts with label YaST. Show all posts
Friday, March 22, 2013
VirtualBox Updated
Labels:
Linux,
OpenSUSE,
Oracle,
VirtualBox,
virtualization,
YaST
Sunday, February 10, 2013
Oracle VirtualBox Repaired
For those individuals who choose to run other operating systems inside of VirtualBox instead of a dual boot system and run into the problem associated with a Linux kernel update, this short tutorial is what needs to be done to resolve that problem. It’s not as devastating as some may think it’s just a matter of where to go and what to do. Do not lose hope, all is not lost. This tutorial covers how to get an Oracle V-Box back up and running with no loss of any data or having to freak out looking for any other file upgrades or anything like that.
In an ideal world, when the kernel updates come through there really shouldn’t be any issues with our virtual machines, as it happens though, for whatever reason this is not the case. When the system kernel gets updated, the link gets broken between the virtual machine and the kernel that allows it to utilize system resources. Fixing this is really easy to do and I’ll walk through the process step by step as I have done a few times in the past.
The most immediate notification of this circumstance is when someone tries to open a virtual machine and gets this pop-up notification that something has gone wrong an VirtualBox needs attention before it will work again.
While the instructions are there of what needs to get done to repair the problem, since those instructions have already been followed once when the virtual machine was installed they really aren’t what needs to be done now. The key in the pop-up is the vboxdrv file which will need to be restarted in YaST. To do this, go to YaST and scroll down to System then select System Services (Runlevel) such as shown below.
Once inside, don’t be fooled by what is shown that all the files associated with VirtualBox are in fact running. They are, but just like certain updates to a system they need to be re-started for the changes to take effect. In the uppermost top left is a radio button that says Expert Mode, click on this button and scroll down until the vboxdrv file is viewable. Click on this file line to select it and at the bottom of the screen is a button that says Start/Stop/Refresh. Go ahead and select restart to restart the instance of the file with the new kernel installed. Just for good measure, I restarted all the files associated with VirtualBox. REMEMBER TO CLICK ON OK IN THE LOWER RIGHT CORNER! If ok is not clicked the change will not be recorded with the system so do not forget!
Now go back and start whatever operating system is being used inside of VirtualBox and everything should work as planned. No system re-boot is necessary as the changes have already been recorded with the system when the ok button was pressed.
In an ideal world, when the kernel updates come through there really shouldn’t be any issues with our virtual machines, as it happens though, for whatever reason this is not the case. When the system kernel gets updated, the link gets broken between the virtual machine and the kernel that allows it to utilize system resources. Fixing this is really easy to do and I’ll walk through the process step by step as I have done a few times in the past.
The most immediate notification of this circumstance is when someone tries to open a virtual machine and gets this pop-up notification that something has gone wrong an VirtualBox needs attention before it will work again.
While the instructions are there of what needs to get done to repair the problem, since those instructions have already been followed once when the virtual machine was installed they really aren’t what needs to be done now. The key in the pop-up is the vboxdrv file which will need to be restarted in YaST. To do this, go to YaST and scroll down to System then select System Services (Runlevel) such as shown below.
Once inside, don’t be fooled by what is shown that all the files associated with VirtualBox are in fact running. They are, but just like certain updates to a system they need to be re-started for the changes to take effect. In the uppermost top left is a radio button that says Expert Mode, click on this button and scroll down until the vboxdrv file is viewable. Click on this file line to select it and at the bottom of the screen is a button that says Start/Stop/Refresh. Go ahead and select restart to restart the instance of the file with the new kernel installed. Just for good measure, I restarted all the files associated with VirtualBox. REMEMBER TO CLICK ON OK IN THE LOWER RIGHT CORNER! If ok is not clicked the change will not be recorded with the system so do not forget!
Now go back and start whatever operating system is being used inside of VirtualBox and everything should work as planned. No system re-boot is necessary as the changes have already been recorded with the system when the ok button was pressed.
Labels:
computer,
desktop,
Linux,
OpenSUSE,
VirtualBox,
virtualization,
YaST
Subscribe to:
Posts (Atom)








