VirtualBox is free open source virtualization utility to run another (or similar)Â operating system on top our current operating system. In this case, I may run another copies of openSUSE, Windows or another Linux distro on my openSUSE box.
What is the advantage of VirtualBox beside another virtualization utility such as VmWare, MS Virtual PC or Xen? VirtualBox is free and open source, although the open source version has less feature than the binary version, e.g : USB support. VirtualBox available on various edition and easy to configured. The OSE (Open Source Edition) included on default openSUSE 11.1 DVD. It’s free and open source. The binary version without source code is free for personal usage and can be downloaded at VirtualBox website.
You may install VirtualBox with 3 different way. The first one is by installing the OSE version from openSUSE DVD Install. Another way is by installing binary version on RPM format, by download the proper version on VirtualBox website. The last one is by download and installing binary version of multi installer format. This is a run-executable file.
Beware that you may not used both of them on same machine. You must choose whether used the OSE or binary format. If you wish to install the binary, you must remove the OSE version.
In this scenario, I’m using the latest version (currently), VirtualBox ver 2.1.0
INSTALLATION
USING OSE VERSION
- Install virtualbox-ose from YAST or by using zypper :
[code language=’cpp’]
zypper in virtualbox-ose
[/code]
USING RPM VERSION
- Download VirtualBox binary RPM. Choose binary RPM for openSUSE 11.1.
- Install
[code language=’cpp’]
rpm -ivh VirtualBox-2.1.0_41146_openSUSE111-1.i586.rpm
[/code]
USING MULTIPLE INSTALLER VERSION
- Download VirtualBox Multiple Installer. Choose Binary for All Distribution.
- Install
[code language=’cpp’]
chmod +x VirtualBox-2.1.0-41146-Linux_x86.run
./VirtualBox-2.1.0-41146-Linux_x86.run
[/code]
Verifying archive integrity… All good.
Uncompressing VirtualBox for Linux installation……..
VirtualBox Version 2.1.0 (2009-01-08T20:30:27Z) installer
Installing VirtualBox to /opt/VirtualBox-2.1.0
Building the VirtualBox kernel module
VirtualBox has been installed successfully.
You will find useful information about using VirtualBox in the user manual
/opt/VirtualBox-2.1.0/UserManual.pdf
and in the user FAQ
http://www.virtualbox.org/wiki/User_FAQ
We hope that you enjoy using VirtualBox.
CONFIGURATION
- Add your user name into vboxusers group. Open Yast | Security and User | User Management. Choose your logon user name, Edit. Navigate into detail tab and mark the vboxusers or do it with konsole :[code language=’cpp’]groupmod –add-user vavai vboxusers[/code]
Please remember the user name and the Group ID (GID) from vboxuser. We will use this later - Activating USB Support IF ONLY USED BINARY VERSION. You won’t be able to activating this with OSE version.
Edit /etc/fstab, and add this into last row :
none /proc/bus/usb usbfs devgid=XXX, devmode=664 0 0
Replace XXX with the GID as describe above. - Run VirtualBox from Kick Off Menu | System | VirtualBox or use search menu
- Click I Agree for license agreement (Scroll Down if the button is disabled. You must read the license carefully for your reference)
- Fill in user name and email address for registration
- VirtualBox will display the main windows
We will discussed Part II : Using VirtualBox. Let’s wait for a day or two 🙂
Nice article, about _how_ to install.
But _why_ should i?
According to the author there’s only a single reason: “VirtualBox is free and open source”
Just checking out the website: http://www.virtualbox.org/wiki/Guest_OSes
Here they claims that openSUSE_11 is only partially supported.
So what is the advantage over XEN, which is also open and free and fully supports the latest version of openSuSE? Is it better, faster, more stable, emulate more hardware? Figures?
I might want to try it, but for a better reason than only “free and open”.
Nice article, about _how_ to install.
But _why_ should i?
According to the author there’s only a single reason: “VirtualBox is free and open source”
Just checking out the website: http://www.virtualbox.org/wiki/Guest_OSes
Here they claims that openSUSE_11 is only partially supported.
So what is the advantage over XEN, which is also open and free and fully supports the latest version of openSuSE? Is it better, faster, more stable, emulate more hardware? Figures?
I might want to try it, but for a better reason than only “free and open”.
thanks berat om vavai, sangat membantu sekali buat saya yg newbie 😀
thanks berat om vavai, sangat membantu sekali buat saya yg newbie 😀
Hans,
openSUSE11_11 is only partially supported AS A GUEST. opensuse11 works as a HOST OS.
The advantage over XEN is that it does full virtualization – I can take my Windows CD, boot and install it in Virtual Box. XEN does Paravirtualization – I need an OS install customized to run on XEN. Someday soon XEN will do full virtualization IF and only IF you have a processor with the virtualization extensions, that is a Core 2 Duo or later.
Hans,
openSUSE11_11 is only partially supported AS A GUEST. opensuse11 works as a HOST OS.
The advantage over XEN is that it does full virtualization – I can take my Windows CD, boot and install it in Virtual Box. XEN does Paravirtualization – I need an OS install customized to run on XEN. Someday soon XEN will do full virtualization IF and only IF you have a processor with the virtualization extensions, that is a Core 2 Duo or later.
I downloaded the latest version on February 1, 2009. After installing on OpenSuse 11. and editing the groups and users, the icon appeared in the KDE menu. Clicking on it just produces a bouncing cube which goes away after a few bounces.
Could someone please post the diagnostic steps which should be taken to solve this problem?
Also, for new users, it would be helpful to explain that fstab is opened in read-only mode, and what to do about that.
Mas Vavai,
Pesan error dari Sun VB nya:
Unable to open a connection to the Xen hypervisor/daemon.
Verify that:
– A Xen host kernel was booted
– The Xen service has been started
Detail
Unable to open connection to hypervisor URI ‘xen:///’:
internal error failed to connect to xend
Traceback (most recent call last):
File “/usr/share/virt-manager/virtManager/connection.py”, line 325, in _open_thread
self.vmm = libvirt.openReadOnly(self.uri)
File “/usr/lib/python2.6/site-packages/libvirt.py”, line 149, in openReadOnly
if ret is None:raise libvirtError(‘virConnectOpenReadOnly() failed’)
libvirtError: internal error failed to connect to xend
Mohon penjelasan.
Mas Vavai,
Pesan error dari Sun VB nya:
Unable to open a connection to the Xen hypervisor/daemon.
Verify that:
– A Xen host kernel was booted
– The Xen service has been started
Detail
Unable to open connection to hypervisor URI ‘xen:///’:
internal error failed to connect to xend
Traceback (most recent call last):
File “/usr/share/virt-manager/virtManager/connection.py”, line 325, in _open_thread
self.vmm = libvirt.openReadOnly(self.uri)
File “/usr/lib/python2.6/site-packages/libvirt.py”, line 149, in openReadOnly
if ret is None:raise libvirtError(‘virConnectOpenReadOnly() failed’)
libvirtError: internal error failed to connect to xend
Mohon penjelasan.
buat di share :
kalo ada yang ngalamin error waktu running awal Vbox seperti dibawah ini :
Effective UID is not root (euid=1000 egid=100 uid=1000 gid=100) (rc=-10)
tenang aja.. bisa diakalin tuh :
blinkon~> /bin/ls -l /usr/lib/virtualbox/VirtualBox
Make sure the permissions are 4511 (chmow 4511 /usr/lib/virtualbox/VirtualBox)
selesai deh. dan jangan lupa petunjuk mas vavai diatas diikutin juga..jangan da yang ketinggalan.. wokeh..
lam kenal buat semua..
the configuration guide works fine, but you need to log out after the changes to take effect
keep up mates!
pantelis gr
the configuration guide works fine, but you need to log out after the changes to take effect
keep up mates!
pantelis gr
log out is necessary to put you in the vboxusers group. test by going to command line and running ‘groups’. if it does not list vboxusers, you either did not log out or you did not do the groupmod command right (requires sudo).
Hi,
Im stuck here because i also have a problem with “dpkg” so whenever i try and sort my Sun virtualbox out it comes out with dpkg error again!!! and then when i try and sort the dpkg error it comes out with dpkg error!
Please help!!!!!!!!!!!!!!!!!1
Perhaps you should give news on the topic more often
Perhaps you should give news on the topic more often