Enable KVM on ubuntu 12.04 on virtualbox on iMac'11 - virtualbox

I am trying to install Openstack on a Ubuntu 12.04 guest machine running on virtual box and hosted on a iMac'11. More preciesely, I am trying to install the KVM hypervisor on my Ubuntu guest machine.
My Intel i5 processor supports VT-X, however, when I run
lili#CloudletVM:~$ sudo kvm-ok
I get the following output:
INFO: Your CPU does not support KVM extensions
KVM acceleration can NOT be used
Any one can help me enable KVM on my Virtualbox Guest machine, if possible?
Thank you in advance!

You cannot use KVM in Guest OS running in Virtual Box.
In installation step it's clearly indicated this.
Determine whether your compute node supports hardware acceleration for virtual machines:
$ egrep -c '(vmx|svm)' /proc/cpuinfo
You can use KVM if and only if it returns a non zero value. In your case the above command returns zero. Even though your original hardware supports hardware acceleration, it's unavailable inside virtual box guest OS.
So I recommend use QEMU instead.
Edit the [libvirt] section in the /etc/nova/nova-compute.conf file as follows:
[libvirt]
...
virt_type = qemu

Related

How can I get Raspbian running in VirtualBox?

I'm trying to set up a Raspbian image in VirtualBox 6.1.14 for development. I downloaded the latest .iso from the RPi website, and set up a VirtualBox machine with the OS set to Debian (32-bit). When I mount the .iso and start the machine, I'm able to get through all the installation steps until it gets to the point of configuring the package manager--at that point it freezes in both the text installer and the GUI installer.
I've tried doing this with the network adapter enabled and disabled, which made no difference. Is there a specific configuration to the VM that will get the installation to work?
I am a dum dum. I needed to up the memory on the VM. Below are the pertinent stats for it to work.
OS: Debian (32-bit)
Base Memory: 1024mb
Video Memory: 128mb
Graphics Controller: VMSVGA
Storage: 8gb

Trying to run VMWare Workstation on Google Cloud Platform instance?

Windows:
Now, I want to install a VMWare Workstation on the Windows Google Cloud Platform instance and next install another OS on that VMWare Workstation.
But I get this BSOD.
Linux:
Now, I want to install a VMWare Workstation on the Linux Google Cloud Platform instance and next install another OS on that VMWare Workstation.
But I get this error.
This host supports intel VT-x. but the Intel VT-x implementation is incompatible.
This host does not support Intel EPT hardware assisted MMU virtualization.
Module "CPUIDEarly" power on failed.
Failed to start the virtual machine.
How can I do it?
I agree with Martin that you may not want to run VMware workstation, but you may need nested virtualization for other stuff like VMware ESXi/qemu.
GCE VMs do support nested virtualization please see Enabling Nested Virtualization for VM Instances on how to do it. This will enable VT-x support inside the VM.
It is rather useless to install a type 2 (hosted) hypervisor inside a GCE virtual machine.
There are a) other options for VMware hosting or b) migrate these containers with Velostrata.
c) That one error message (assuming you'd go the proposed nested virtualization route) might require monitor.allowLegacyCPU = "true" in file config.ini, because it seems the CPU is not supported by VMware Workstation 14 (this at least works for some elder Intel® Xeon® CPU).

Issue when running Ubuntu in VirtualBox

I installed VirtualBox on a Windows 10 PC. I installed Ubuntu v. 16.04 in it. But when I shutdown the virtual machine and restart it, it asks me to install it again. The installation itself is not saved to my virtual machine.
It sounds like your virtual machine is booting from the installation media.
In virtual box go to your virtual machine's configuration and ensure that you remove the live USB / disk image from the available devices section. However, a more suitable place for this question is Ask Ubuntu.

insert Virtualization Hypervisor between hardware and existing OS

There didn't seem to be a dedicated Virtualization SE, so...
I am looking to install VMware vSphere Hypervisor 5.1 (or an older version if it helps) on a 64bit AMD A8 architecture.
Is there a path to doing this without destroying/having to reinstall Windows 8 already preinstalled by the Vendor (Acer), making it one of the VMs instead?
Or in general? (Eg. on another PC running 32bit Ubuntu, where I would like to "insert" a Hypervisor as well).
Use VMware Converter. It converts a physical machine into a VM during runtime. It is freely downloadable after registering on the VMware site:
http://www.vmware.com/products/converter/
Yes, you can install VMware Workstation and then install vShpere Hypervisor 5.1 as a guest OS. I have done that before. VMware Workstation supports the so called nested virtualization which means you it can expose the hardware virtualization feature of CPU which is required by vSphere to the guest OS. If you don't want to pay for VMware Workstation, you can use VMware Player which is free but capable of nested virtualization.

Options for running 64-bit guest (OpenShift Origin) in VirtualBox if hardware acceleration is not available?

Environment:
Motherboard: Asus P5Q3 Deluxe
Processor: Intel(R) Core(TM)2 Quad CPU Q8200 # 2.33GHz 2.34 GHz
Installed Memory (RAM): 4.00GB
OS: Windows 7 Home Premium
Scenario:
I am trying to run OpenShift Origin in VirtualBox and when clicking 'Start' I am getting the error:
"VT-x/AMD-V hardware acceleration is not available on your system. Your 64-bit guest will fail to detect a 64-bit CPU and will not be able to boot".
From my searches on the internet, it seems that such a setting is available in the BIOS however I have been unable to find it.
So I am considering that such an option may not be available on my system?
If this is the case, what options do I have in regards to running OpenShift Origin in VirtualBox?
The specification on the Intel website suggests that your CPU doesn't support hardware virtualization (look for the 'Virtualization Technology (VT-x)' setting):
http://ark.intel.com/products/36547/intel-core2-quad-processor-q8200-4m-cache-2_33-ghz-1333-mhz-fsb
Hardware virtualization is a requirement for 64-bit guests in VirtualBox, and there is no workaround.