qemu manager - virtual machine: "QEMU console not connected" - linux

Hello I have installed qemu manager virtualization program on my gateway amd e2-3800 windows 10 laptop, in order to install ubuntbu 16.04.
i have created a virtual machine, using the default definitions (beside giving the maximum ram of 2gb).
i have downloaded the ubunbu 16.04 imag file, pinted the "CD-ROM" drive of the virtual machine to the image fileand and run the virtual machine.
It didn't worked as expectd - the console and the monitor are empty and at the botom of the windows is written "QEMU console not connected",
there is nothing in "google" for this problem, and i have watched several youtube videos on using QEMU to see wether i have made some error in dfining the virtual machine, i have also read the manual... but came up with, well... nothing.
Does anybody have any idia or recomendations?
thank you in adanced.
chen.

I had the same problem and after decreasing the VM's RAM to 1 GB it worked okay.

Hardware -> Video Card, select other options.
In my case, running OVMF, I select "None", then it works.

Related

Hyper-v virtual machine 100% cpu usage

I am pretty new at creating virtual machines.
I have this MacBook: Apple MacBook Pro "Core i7" 2.5 15" Mid-2015.
I run Windows 10 in a BootCamp.
I installed this virtual windows with Hyper-v inside my windows Bootcamp: https://developer.microsoft.com/en-us/windows/downloads/virtual-machines
I installed a video game inside the virtual machine.
When I run the game it uses up 100% of the CPU and is so slow it's unplayable.
It doesn't matter how much virtual processors I give it.
The same game runs pretty normally with very low CPU usage on normal Bootcamp windows.
What should I do?
I've figured it out.
The problem was that the virtual machine wasn't using the GPU.
I've fixed it by following steps here:
When installing everything normally and not doing any additional setup or tweaking etc. the virtual machine is not using the GPU.
I followed the answer by Victor Miasnikov in the link above.
Start Powershell as administrator and enter: Get-VMRemoteFXPhysicalVideoAdapter
In the returned results check if "CompatibleForVirtualization" and "Enabled" are "True". Mine luckily was.
Enable Host GPU for RemoteFX vGPU. Here I followed the documentation and in my case entered this command: Get-VMRemoteFXPhysicalVideoAdapter -Name \*Radeon\* | Enable-VMRemoteFXPhysicalVideoAdapter
Add RemoteFX vGPU to your VM by entering this command: Add-VMRemoteFx3dVideoAdapter -VMName <vmname>
Open VM Settings dialog box, you can configure RemoteFX vGPU. But I think no additional configuration was necessary.
Start VM.

port linux created vm to windows

I have a problem using an, in linux created virtual machine in windows using virtualbox.
In windows I can start the virtual machine by using the created qcow2 file, but at the grub bootloader it just shows a black screen with a white underscore at the top left corner.
The vm was created with qemu in fedora20.
I installed the newest ubuntu server (64bit) on it.
What I want to do now is, to make it available for others, especially for windows users.
I tried it with virtualbox in a windows 8.1. It shows the behavior mentioned above.
I think there are some kinds of driver issues?
If more information is needed, please let me know.
Michael
I can only find that virtualbox imports .ova format files. You can use .vmdk files without conversion, but .qcow2 is not supported directly.
With the command line tool vboxmanage you have more conversion options for hard disks.
Looks like the best way is:
qemu-img convert -f qcow2 <qcow2_VM_filename> -O vdi <RAW_file_VM_filename>

How to install SmartOS in a Linux KVM instance?

I need to test a program on SmartOS. I don't have any spare systems lying around so I wanted to install it into a KVM image on my GNU/Linux distribution. I've installed Solaris 11 that way and that worked pretty well.
I downloaded the ISO and booted it inside KVM and the installation appeared to work fine. However when I boot the virtual machine it always starts to come up and says:
Booting from harddisk ...
and then it just sits there, with the virtual CPU pegged, and never proceeds any further. No key presses appear to do anything (except Ctrl-Alt-Del which starts the boot again, giving the same result).
I created my KVM from virt-manager with 2G RAM, 2 CPUs, 50G of disk space using a "raw" disk format, and selected "Solaris" / "OpenSolaris" as the OS type.
I don't have a copy of VMWare and it seems really expensive to get one for Linux, so I don't think using the SmartOS VMWare image is an option for me.
Anyone have any hints? Google shows me lots of information about creating Linux instances inside SmartOS KVMs, but nothing on doing it the other way.
I figured it out with some help from the mailing list. SmartOS is a PXE booting operating system: it doesn't actually install to the harddisk. When my installation was complete and the VM rebooted KVM automatically unmounted the ISO file from my virtual CDROM, so on boot it was looking for a PXE image to boot from and couldn't find it.
All I had to do was re-attach the ISO file to the virtual CDROM and it worked fine after that. Ugh.

Getting Microsoft Virtual PC to Work on Linux

Has anyone tried to get Windows 7/8 running on linux with the Microsoft Virtual PC download directly from Microsoft? It doesn't seem to be working using the default Boxes or Virtual Machine (QEMU) in CentOS / Red Hat?
SETTINGS:
Base Memory 1024 MB
Video Memory 128 MB
Network Adapter: Intel PRO/1000 MT Desktop (NAT)
Windows Virtual Box (from Microsoft)
http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=11575
forward to http://dev.modern.ie/
Is there any chance Microsoft or modern.ie will just release an iso install rather then a native Virtual System File?
It sounds like you're trying to get Microsoft's IE Virtual PC images working in VirtualBox (not Virtual PC itself).
Luckily there is a tool available to automate the process of converting the images and getting them to work in VirtualBox. Take a look at ievms.
Check http://www.modern.ie/en-us/virtualization-tools#downloads
This images are legal as modern.ie launched by Microsoft.
Site provide a wide range of up-today Windows images for Windows/Mac/Linux.
Microsoft Virtual PC downloads from http://dev.modern.ie/ (MS) only support Virtual Box on linux and not the Virtual Machine Manager that comes with CentOS.

VMWare ESX image to run on VMWare workstation

I've an linux image(debian) running on VMWare ESX 3.1.
Is it possible to copy that image and run it locally on my local VMWare workstation?
how?
Just open up the VI client, shut down the VM, browse to the datastore and then download the image. Pretty straightforward really, I do it from ESXi 3.5 -> Workstation 6.5 all the time.
I believe that while ESX (commercial) is reverse-compatible to Server (free), Server is NOT forward-compatible to ESX.
Therefore, you can import Server images to ESX, but not the other way around.
You may be able to go from an ESX host to an ESXi (free) host, however.
As far as I remember that was exactly what I did a few weeks ago. I exported the image (export facility is included in the ESX, but you'll have to power off the image while you export it). Once the image was exported I ran it through the VMware converter (free tool) and converted it to run on a workstationr/player.
However my laptop always crashes when I install VMWorkstation so I run it om a VMPlayer.
We also have such an environment and are working on it since past 5 years. We have ESXi 3.5 virtualized environment running Centos OS virtual machines amongst others. To use the virtual machine from ESXi on our local machine, we have installed VMWare Workstation (also VMWare Player). We take a complete mondo backup using mondoarchive. We then transfer these images on our local machine. From these images, we restore the ESXi based virtual machine in our local VMWare Workstation environment. It has been a great success for last five years and we have never faced any problem with it.
Kasper, what version of ESX are you running? Trying to export an image from our ESX server always ends in a I/O error (don't have access to the server right now so I cannot remember the exact error message).
Would love to get this feature working but I not found anything on the web that might help with this specific error.
You can also user Vizioncore vConverter or FastSCP for your migration.
This is a nice article describes how to convert different images: Please go throught it.
http://www.dedoimedo.com/computers/vmware-converter.html

Resources