Virtualization cannot be that simpler than in openSUSE 11.0. In openSUSE 11.0, Xen Virtualization ins pre-built and all it takes is a few clicks away from up and running with Virtualization in no time. Xen is a virtual machine monitor for x86 that supports execution of multiple guest operating systems with unprecedented levels of performance and resource isolation. This package contains the Xen Hypervisor.
To install Xen Virtualization in openSUSE 11.0,
From the KMenu, click Applications – System – Virtualization – Install Hypervisor Tools
This will start the installation and will show a list of packages to be installed. Click Install
This will start downloading the Xen Virtualization packages and the modified kernel for Xen virtualization.
Once the installation is completed, it will prompt you to reboot and start the system by selecting the openSUSE option with Xen kernel from the list. To confirm the boot loader entry in GRUB, click KMenu – Computer – YaST – System – Boot Loader and you should see the “Xen — openSUSE 11.0 – 2.6.25.11-0.1” in the list.
Reboot your PC and select “Xen — openSUSE 11.0 – 2.6.25.11-0.1”. This will boot openSUSE with the modified kernel which supports Xen virtualization and everything else loads normally. Now, from the KMenu – Applications – System – Virtualization – “Create Virtual Machines” to start creating virtual machines.
From the wizard, click Forward from the welcome screen and select “I need to install an operating system” or if you already had a Disk image select the option to select a disk or disk image and click Forward.
Select the type of operating system and click Forward.
Select the Virtualization type and click Forward. The default is “Paravirtualisation”
This brings up the final summary. Any change to any settings can be changed from here. For instance to add a CDROM or a ISO images, click Disk and then click CDROM and add the CDROM drive or the ISO image.
When all the changes are complete. Xen launches the Xen image under a TightVNC session. Now, you are up and running with Xen Virtualization in openSUSE 11.0
I am now running opensuse 11.1, xen working much better. I’ve successfully installed windows xp from disk and run it as a virtual machine. I could access the internet and install and run apps.
However once I restart opensuse I cannot resart the virtual machine, I get the following error:
Error starting domain: operation virDomainCreate forbidden for read only access
and the detail is:
Traceback (most recent call last):
File “/usr/share/virt-manager/virtManager/engine.py”, line 485, in run_domain
vm.startup()
File “/usr/share/virt-manager/virtManager/domain.py”, line 379, in startup
self.vm.create()
File “/usr/lib64/python2.6/site-packages/libvirt.py”, line 262, in create
if ret == -1: raise libvirtError (‘virDomainCreate() failed’, dom=self)
libvirtError: operation virDomainCreate forbidden for read only access
Any ideas?
D
Hi folks
I have the exact same problem as D. However if i log on as root it works fine. It must be a permission problem somehow but I can’t figure out where.
/Jon
I have the exact same problem as DC-K and JonU.
Any ideas?
I have the same problem. Has anyone figured this out yet? How can you start from the command line?
Br. Nicholas
hi friends,
I finished xen installation using yast, but it is booted in a console. How to install with GUI mode. I am new to linux so friends help me to solve the problem.
Thanks & Regards,
Pravin Kumar T.
i finally got the Zen virtual machine to work on my system now that i upgraded to 11.1. i think whatever problems 11.0 was giving i guess they must have fixed them cause i now have no problems with running openSUSE 11.1 64-bit. it runs much more stable and compiz as well as zen gives no trouble now and performance is just as great. you all should give 11.1 a try. it works much better.
HI
I have the same problem and I’m using open suse 11.1… It worked fine until a restart but now Domain-0 is uising ALL the system RAM and when I try to edit or start anything it says “operation virDomainCreate forbidden for read only access” Any help would be appreciated. Thanks
I have come to realize that Xen still has some issues to be sorted out. I can’t create any Windows OS on my machine but I can run VMware or Virtualbox using any guest OS with no problems. It may be a good or better idea to use another virtual machine software if the one use are trying doesn’t work well for you.
You need to be root to run the XEN manager and start, stop, and make machines. Use the XEN manager under YAST and you will be able to, if you know the root password when YAST asks.
What about in command line mode ? How ?
I install on yast in command line mode, but I have installed about only Xen Virtualization: Hypervisor (aka VMM aka Microkernel). Could I install other library about Xen?
sorry about my English. It’s really bad.
Please send the general settings, how 2 install & configure the Opera 5.0 beta.
Hi,
Thanks a lot for the tutorial, I get all up and running in few minutes.
By the way, I get the same problem of Alex Trinkl when trying to install a Ubuntu Karmic VM.
I get “The Installation source is unusable”, although I have used it to install non virtual machines. Can some one give me some explanations?
Than you very much,
Massimiliano
Massimiliano, for those who follow with the same error. If you choose Full VT rather than Paravirtualized, this should resolve this issue.
The ‘average joe’ is now working for corporate entities, and servers don’t have pretty GUIs. We have SSH into the servers only. Thus a CLI version of this would help. Otherwise, very pretty, and useful for others but useless for me.