Virt-install: ERROR Host does not support any virtualization options.
Hello guys!
First of all sorry about my english. I am using KVM to virtualizate. But when i run the "virt-install" command, it shows the next error: Code:
ERROR Host does not support any virtualization options. It is my first time using it, so i donīt know too much. Can you help me? Thanks in advance! |
Your CPU also needs to support virtualization technology.
Does the following command generate any output: Code:
egrep -m 1 "svm|vmx" /proc/cpuinfo vmx -> Intel CPU capable of virtualization. Here's a link about this: Linux: Find Out If CPU Support Intel VT and AMD-V Virtualization Support |
Quote:
Quote:
Quote:
|
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)? |
Quote:
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:
Code:
# yum install virt-manager libvirt libvirt-python python-virtinst Quote:
Code:
virt-install -r 2048 --accelerate -n UbuntuServer -f /var/lib/libvirt/images/guest.img --cdrom /datos/UbuntuServer_ISO/ubuntu-13.10-server-amd64.iso Thanks again and i hope it helps! |
Quote:
Have a look at this link: CentOS / Redhat: Install KVM Virtualization Software BTW: Do check if the correct KVM module are loaded: Code:
lsmod | grep kvm Code:
kvm_intel <some_number> <some_number> Quote:
Code:
virt-install \ - 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? |
Quote:
Quote:
Quote:
Code:
[root@xxxx ~]# lsmod | grep kvm Code:
[root@xxxx ~]# Quote:
Code:
[root@xxxx ~]# virt-install --name UbuntuServer --ram 2048 --vcpus 2 --os-type linux --disk path=/var/lib/libvirt/images/guest.img,size=16 --cdrom /datos/UbuntuServer_ISO/ubuntu-13.10-server-amd64.iso Code:
[root@xxxx ~]# virt-install --prompt Again, thanks a lot for your help. It is very useful to me. |
Quote:
Try running: Code:
# modprobe kvm |
after you enable VT in BIOs, you have to do a full powercycle of the host, otherwise VT doesn't not really get enabled, even if the bios says it is.
|
Quote:
Code:
[root@xxxx ~]# modprobe kvm Code:
[root@xxxx ~]# lsmod | grep kvm Quote:
Code:
root@xxxx ~]# virt-install --name UbuntuServer --ram 2048 --vcpus 2 --os-type linux --disk path=/var/lib/libvirt/images/guest.img,size=16 --cdrom /datos/UbuntuServer_ISO/ubuntu-13.10-server-amd64.iso Thanks again! ---------- Post added 11-05-13 at 10:47 AM ---------- Quote:
Thanks! |
The kvm_intel module is still missing.
I just noticed this: Quote:
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. |
Quote:
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. Thanks a lot! |
Quote:
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. If yum isn't familiar to you: 15 Linux Yum Command Examples Install, Uninstall, Update Packages |
Quote:
And before that, i would like to tell you what i am going to do so you can confirm me. After the installation i will set the local RHEL CD/DVD-ROM as my yum repository because the system is not registered to Red Hat Subscription Management (http://www.ehowstuff.com/how-to-setu...age-on-rhel-6/). Then i will run the next commands: Code:
# yum install kvm Code:
# yum install virt-manager libvirt libvirt-python python-virtinst Is it ok? Thanks a lot for your help. You are very kind! |
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:
Quote:
Code:
# yum install kvm virt-viewer virt-manager libvirt libvirt-python python-virtinst Quote:
|
All times are GMT -5. The time now is 08:33 PM. |