[SOLVED] Virt-install: ERROR Host does not support any virtualization options.
Linux - Virtualization and CloudThis forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
You Intel CPU does support virtualization (vmx flag is found).
Assuming that the BIOS is correctly set, can you give us a more information?
- Is this an out-of-the-box/normal KVM installation?
- Which host is used?
- Which guest are you trying to install?
- How did you run the virt-intall command (which options etc)?
You Intel CPU does support virtualization (vmx flag is found).
Assuming that the BIOS is correctly set, can you give us a more information?
- Is this an out-of-the-box/normal KVM installation?
- Which host is used?
- Which guest are you trying to install?
- How did you run the virt-intall command (which options etc)?
Thanks again for your help.
First of all sorry about my answer but this is the first time i try kvm so i do not know a lot of things.
I have a Red Hat Enterprise Linux Server 6.4 x64 installed. I am using the local RHEL CD/DVD-ROM as my yum repository.
I use this commands:
Code:
# yum install kvm
Quote:
yum install kvm
Loaded plugins: product-id, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
DVD-RHEL6-Repository | 3.9 kB 00:00 ...
centos | 1.1 kB 00:00
epel/metalink | 2.1 kB 00:00
epel | 4.2 kB 00:00
epel/primary_db | 5.6 MB 00:30
rpmforge | 1.9 kB 00:00
Setting up Install Process
Package kvm is obsoleted by qemu-kvm, trying to install 2:qemu-kvm-0.12.1.2-2.355.el6.x86_64 instead
Resolving Dependencies
--> Running transaction check
---> Package qemu-kvm.x86_64 2:0.12.1.2-2.355.el6 will be installed
epel/filelists_db | 7.8 MB 00:43
--> Processing Dependency: qemu-img = 2:0.12.1.2-2.355.el6 for package: 2:qemu-kvm-0.12.1.2-2.355.el6.x86_64
--> Processing Dependency: seabios >= 0.6.1.2-20.el6 for package: 2:qemu-kvm-0.12.1.2-2.355.el6.x86_64
--> Processing Dependency: vgabios-vmware for package: 2:qemu-kvm-0.12.1.2-2.355.el6.x86_64
--> Processing Dependency: vgabios-stdvga for package: 2:qemu-kvm-0.12.1.2-2.355.el6.x86_64
--> Processing Dependency: vgabios-qxl for package: 2:qemu-kvm-0.12.1.2-2.355.el6.x86_64
--> Processing Dependency: vgabios for package: 2:qemu-kvm-0.12.1.2-2.355.el6.x86_64
--> Processing Dependency: libspice-server.so.1(SPICE_SERVER_0.8.3)(64bit) for package: 2:qemu-kvm-0.12.1.2-2.355.el6.x86_64
--> Processing Dependency: libspice-server.so.1(SPICE_SERVER_0.8.2)(64bit) for package: 2:qemu-kvm-0.12.1.2-2.355.el6.x86_64
--> Processing Dependency: libspice-server.so.1(SPICE_SERVER_0.8.1)(64bit) for package: 2:qemu-kvm-0.12.1.2-2.355.el6.x86_64
--> Processing Dependency: libspice-server.so.1(SPICE_SERVER_0.6.0)(64bit) for package: 2:qemu-kvm-0.12.1.2-2.355.el6.x86_64
--> Processing Dependency: libspice-server.so.1(SPICE_SERVER_0.11.2)(64bit) for package: 2:qemu-kvm-0.12.1.2-2.355.el6.x86_64
--> Processing Dependency: libspice-server.so.1(SPICE_SERVER_0.10.4)(64bit) for package: 2:qemu-kvm-0.12.1.2-2.355.el6.x86_64
--> Processing Dependency: /usr/share/sgabios/sgabios.bin for package: 2:qemu-kvm-0.12.1.2-2.355.el6.x86_64
--> Processing Dependency: /usr/share/gpxe/virtio-net.rom for package: 2:qemu-kvm-0.12.1.2-2.355.el6.x86_64
--> Processing Dependency: /usr/share/gpxe/rtl8139.rom for package: 2:qemu-kvm-0.12.1.2-2.355.el6.x86_64
--> Processing Dependency: /usr/share/gpxe/rtl8029.rom for package: 2:qemu-kvm-0.12.1.2-2.355.el6.x86_64
--> Processing Dependency: /usr/share/gpxe/pcnet32.rom for package: 2:qemu-kvm-0.12.1.2-2.355.el6.x86_64
--> Processing Dependency: /usr/share/gpxe/e1000-0x100e.rom for package: 2:qemu-kvm-0.12.1.2-2.355.el6.x86_64
--> Processing Dependency: libspice-server.so.1()(64bit) for package: 2:qemu-kvm-0.12.1.2-2.355.el6.x86_64
--> Running transaction check
---> Package gpxe-roms-qemu.noarch 0:0.9.7-6.9.el6 will be installed
---> Package qemu-img.x86_64 2:0.12.1.2-2.355.el6 will be installed
---> Package seabios.x86_64 0:0.6.1.2-26.el6 will be installed
---> Package sgabios-bin.noarch 0:0-0.3.20110621svn.el6 will be installed
---> Package spice-server.x86_64 0:0.12.0-12.el6 will be installed
---> Package vgabios.noarch 0:0.6b-3.7.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
qemu-kvm x86_64 2:0.12.1.2-2.355.el6 DVD-RHEL6-Repository 1.3 M
Installing for dependencies:
gpxe-roms-qemu noarch 0.9.7-6.9.el6 DVD-RHEL6-Repository 219 k
qemu-img x86_64 2:0.12.1.2-2.355.el6 DVD-RHEL6-Repository 469 k
seabios x86_64 0.6.1.2-26.el6 DVD-RHEL6-Repository 91 k
sgabios-bin noarch 0-0.3.20110621svn.el6 DVD-RHEL6-Repository 6.6 k
spice-server x86_64 0.12.0-12.el6 DVD-RHEL6-Repository 326 k
vgabios noarch 0.6b-3.7.el6 DVD-RHEL6-Repository 42 k
Total download size: 2.5 M
Installed size: 6.8 M
Is this ok [y/N]: y
Downloading Packages:
--------------------------------------------------------------------------------
Total 756 kB/s | 2.5 MB 00:03
Running rpm_check_debug
Running Transaction Test
Transaction Check Error:
file /usr/bin/qemu-img from install of qemu-img-2:0.12.1.2-2.355.el6.x86_64 conflicts with file from package kvm-qemu-img-83-262.el5.centos.4.x86_64
file /usr/share/man/man1/qemu-img.1.gz from install of qemu-img-2:0.12.1.2-2.355.el6.x86_64 conflicts with file from package kvm-qemu-img-83-262.el5.centos.4.x86_64
Loaded plugins: product-id, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Setting up Install Process
Package virt-manager-0.9.0-18.el6.x86_64 already installed and latest version
Package libvirt-0.10.2-18.el6.x86_64 already installed and latest version
Package libvirt-python-0.10.2-18.el6.x86_64 already installed and latest version
Package python-virtinst-0.600.0-15.el6.noarch already installed and latest version
Nothing to do
- About the green entry: Substitute 16 for the size in Gb's you want/need.
- About the blue entry: /dev/cdrom assumes a real cdrom player, if you want to use an image stored on your hd use something like this: --cdrom /path/to/iso
You can also run virt-install --prompt for an interactive install.
If the above doesn't work can you post the exact error message(s) that are produced?
Loaded plugins: product-id, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package virt-viewer.x86_64 0:0.5.2-18.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
=============================================================================================
Package Arch Version Repository Size
=============================================================================================
Installing:
virt-viewer x86_64 0.5.2-18.el6 DVD-RHEL6-Repository 200 k
Total download size: 200 k
Installed size: 763 k
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : virt-viewer-0.5.2-18.el6.x86_64 1/1
Verifying : virt-viewer-0.5.2-18.el6.x86_64 1/1
Installed:
virt-viewer.x86_64 0:0.5.2-18.el6
Complete!
Quote:
Originally Posted by druuna
BTW: Do check if the correct KVM module are loaded:
- About the green entry: Substitute 16 for the size in Gb's you want/need.
- About the blue entry: /dev/cdrom assumes a real cdrom player, if you want to use an image stored on your hd use something like this: --cdrom /path/to/iso
You can also run virt-install --prompt for an interactive install.
If the above doesn't work can you post the exact error message(s) that are produced?
Transaction Check Error:
file /usr/bin/qemu-img from install of qemu-img-2:0.12.1.2-2.355.el6.x86_64 conflicts with file from package kvm-qemu-img-83-262.el5.centos.4.x86_64
file /usr/share/man/man1/qemu-img.1.gz from install of qemu-img-2:0.12.1.2-2.355.el6.x86_64 conflicts with file from package kvm-qemu-img-83-262.el5.centos.4.x86_64
Did you mix and match RHEL/CentOS versions 5 and 6? You cannot upgrade from version 5 to version 6! A fresh install is needed in that case.
This might be the reason why things don't work. Maybe you can try to remove all the kvm/qemu/libvirt related software that is installed and re-install kvm again. But if you did mix-and-match I would suggest a clean RHEL 6 (or CenOS 6) install and go from there.
I just noticed thisid you mix and match RHEL/CentOS versions 5 and 6? You cannot upgrade from version 5 to version 6! A fresh install is needed in that case.
This might be the reason why things don't work. Maybe you can try to remove all the kvm/qemu/libvirt related software that is installed and re-install kvm again. But if you did mix-and-match I would suggest a clean RHEL 6 (or CenOS 6) install and go from there.
Another friend uses CentOs repositories before. Can you tell me how to remove all the kvm/qemu/libvirt? I would like to try this. Otherwise i will have to reinstall RHEL.
Another friend uses CentOs repositories before. Can you tell me how to remove all the kvm/qemu/libvirt? I would like to try this. Otherwise i will have to reinstall RHEL.
I would _strongly_ suggest to bite the bullet and do a fresh install. Mixing versions (5 and 6) and mixing RHEL and CentOS repo's is a very bad idea and it will give you problems along the way. These won't be limited to KVM!
That said: I was thinking of using yum to get rid of the installed packages, but now that it is confirmed that this is a mix-and-match system I'm not sure that will get rid of all the (old) packages.
I would _strongly_ suggest to bite the bullet and do a fresh install. Mixing versions (5 and 6) and mixing RHEL and CentOS repo's is a very bad idea and it will give you problems along the way. These won't be limited to KVM!
That said: I was thinking of using yum to get rid of the installed packages, but now that it is confirmed that this is a mix-and-match system I'm not sure that will get rid of all the (old) packages.
Before answering your questions: Is there a specific reason why you want to use RHEL? You are already aware that you don't have access to RHN and I'm just wondering if one of the RHEL clone's would be handier.
Server based alternatives for RedHat EL (free and 99.9% compatible):
- CentOS
- Scientific Linux
Consumer based alternative for RedHat EL (free, and geared toward home usage):
- Fedora
Quote:
Originally Posted by morrison71
Excellent. I will do a fresh install.
And before that, i would like to tell you what i am going to do so you can confirm me.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.