Questions tagged [virtualization]
Questions about Virtualizing Ubuntu or virtualizing other operating systems within Ubuntu.
2,168
questions
12
votes
1
answer
72k
views
Ubuntu 22.04 GPU passthrough (QEMU)
I have found a guide that tells me to do the following to get GPU pass through working on 20.04
apt install qemu-kvm libvirt-clients libvirt-daemon-system bridge-utils virt-manager ovmf
lspci -nn ...
12
votes
1
answer
10k
views
Unable to run a 32-bit program on 64-bit VM
I compiled a small "hello world" C program on Ubuntu 10.04 32 bit machine. Then I put the executable(a.out) on Ubuntu 12.10(64 bit) VMWare virtual machine and tried to execute it(./a.out). The OS does ...
12
votes
5
answers
56k
views
How can KVM be located by Android Studio on Ubuntu 14.04 LTS
When running the emulator, Android Studio reports the following message:
Please ensure KVM is properly installed and usable.
CPU acceleration status: KVM is not installed on this machine
(/...
12
votes
5
answers
66k
views
KVM Virt-Manager Error: No active connection to Installed on
When I tried to install new virtual machine in virt-manager, virtualization - localhost (QEMU) is not connected.
It shows Error: No active connection to installed on.
How to fix this problem.
12
votes
1
answer
7k
views
How can I limit disk access bandwidth for a Virtual Machine guest?
I have a Virtualbox on my Ubuntu (host) that serves few Windows guest OS.
Sometimes the running Windows virtual machine starts massive access to the disk which blocks me in my host environment. I ...
12
votes
2
answers
9k
views
Is my VM using KVM or QEMU?
After installing Ubuntu 11.10 and copying my KVM images which were created on Ubuntu 11.04 over to the new system, I notice that Virt-manager says it's using QEMU and not KVM. Also when running virsh ...
12
votes
2
answers
22k
views
What are the limitations of the Windows Subsystem for Linux? [duplicate]
I played around with the WSL last year, but at the time it was not capable of running the neural network project that I wanted to try on it. Apparently had something to do with it having an outdated ...
12
votes
7
answers
36k
views
Videos not playing
I recently installed Ubuntu in a VM on Windows 10 and have the problem that videos just don't want to play. Youtube and other websites don't work. Not even downloading the videos and playing them with ...
12
votes
3
answers
47k
views
Host-only network with Virtual box and Windows host machine: cannot find device eth1
(ANSWER BELOW)
I have problem with implementing Host-Only network in Virtualbox. my host machine is running under Windows 7 Ultimate, and guest OS is Ubuntu Server 12.04.2 64bit.
I configure virtual ...
12
votes
1
answer
74k
views
vmware network interface not detected
I installed ubuntu server 14.04 LTS on a virtual machine (vmware, win host). The VM has internet access (given a port-id, adaptertype E1000E and a MAC). Sadly ubuntu was not able to detect the device ...
11
votes
4
answers
20k
views
How to download games for Steam for another platform?
How can I download games from Steam for an operating system that the game doesn't run on?
For instance, I want to download a game for Windows to run it in a VM, but it says that the game is not ...
11
votes
5
answers
21k
views
Virtualbox failed to install?
I have recently downloaded Virtualbox 5, and I ran the .deb file I obtained from the website. I try to use MS-DOS 6.22 and it comes up with the error message.
'[RTR3InitEx failed with rc=-1912 (rc=-...
11
votes
4
answers
15k
views
Is there a virtual machine with direct access to CPU and GPU for gaming?
Sorry for the long question.
With the coming of Steam for Linux I may have been over optimistic and got rid of windows installation.
The problem is that I have about 100 Steam games that are not (and ...
11
votes
9
answers
46k
views
How to fix mouse cursor out of sync with VirtualBox Ubuntu Server 16.04.3 LTS VM?
I'm running Ubuntu Server 16.04.3 LTS VirtualBox VM with XFCE as desktop environment. Used VirtualBox is latest version 5.1.26 r117224. Frequently the mouse cursor is running out of sync and the only ...
11
votes
4
answers
14k
views
Where can I find Vagrant packages?
Vagrant is a tool to build and manage virtual machines for developers. It has a getting started on Ubuntu guide that contains iffy-looking suggestions like
$ sudo ln -s /usr/bin/ruby1.8 /usr/bin/...
11
votes
6
answers
57k
views
Adjusting display geometry in a virtual machine?
Running 11.04 beta in a Parallels 5.0 virtual machine, but this question will apply to any virtualization software.
Parallels 5 Linux tools (guest additions) don't work for 10.10 and 11.04 and I don'...
11
votes
3
answers
51k
views
Is there a way to create a Windows virtual machine on Ubuntu Server?
When I look for documentation about how to create a Windows VM on an Ubuntu host, the only articles I can find are articles about Ubuntu Desktop, not Ubuntu Server.
Is there a way to create a Windows ...
11
votes
6
answers
48k
views
No sound in 12.04 on VirtualBox
No sound when installed in VirtualBox. When I boot from the live CD in Windows, sound works fine on my speakers. When in boot the live CD in VirtualBox it does not see my speakers. In sound properties ...
11
votes
3
answers
17k
views
How do I keep guest additions working in virtual box after updates?
I installed Ubuntu 11.04 on Virtual Box. It had poor performance (had low max resolution, cursor was choppy when going across the screen, none of the unity stuff was there), until I installed the ...
11
votes
2
answers
22k
views
Using file system passthrough with KVM guests
With a 16.04 hypervisor and 16.04 guest I would like direct access to my host filesystem from my guests. I have created the following element inside the section:
<filesystem type='mount' ...
11
votes
2
answers
19k
views
How do I migrate currently installed Ubuntu to a Virtual Machine?
I'm finding that my graphics drivers (ATI Radeon HD 4200) run MUCH better in a native windows system, I can't even get the closed-source drivers working in Ubuntu, thus leading me to want to run ...
11
votes
2
answers
6k
views
Which kernel to use for server VM running on ESX
We run several ubuntu virtual machines on ESX server.
In ubuntu, there are various kernels available:
linux-generic-pae
linux-generic
linux-server
linux-virtual
Which one is the best choise for a ...
11
votes
1
answer
30k
views
Why am I getting a black screen when booting VM using qemu?
When I try to boot a virtual machine using:
qemu-system-x86_64 -m 1024 -cdrom /host/iso/ubuntu-13.10-desktop-amd64.iso -name mac -hda ~/ubuntu
Iget a black screen just after the installation begins(...
11
votes
2
answers
48k
views
How to properly configure Virt-Manager (QEMU/KVM) with Windows guest
I'm currently switching to Virt-Manager (QEMU/KVM) and leave VirtualBox behind (as it is slow), but I find Virt-Manager hard to configure. In VBox and VMware, all you have to do is install the guest ...
11
votes
5
answers
11k
views
Best virtualization solution for running Windows 7 as a guest?
I depend upon Ubuntu for most of my work but I still need Windows 7 for some applications such as
Office 2010
Casual Gaming
Adobe CS4 and other windows softwares that are not available on Ubuntu ...
11
votes
2
answers
9k
views
Why do I need to re-load kernel modules for virtualbox after a kernel update?
After the last kernel upgrade in Ubuntu 12.10 I had to manually re-load two kernel modules for Virtualbox.
modprobe vboxdrv and modprobe vboxnetflt
I don't know enough about the system to say if ...
11
votes
0
answers
6k
views
Running vagrant inside VirtualBox [closed]
I'm running Xubuntu 14.04 in a VirtualBox VM on Windows 7. Inside the VM, I want to use Vagrant as part of my development environment. The Vagrant setup executes successfully, until it wants the VM (...
10
votes
7
answers
3k
views
What's the friendliest virtualization solution?
I want to experiment with virtualization in Ubuntu 10.04 and have found the following list of hopefully relevant names:
Xen, OpenVZ, KVM, Vservers, EC2 and Solaris Zones, although this is just a ...
10
votes
3
answers
34k
views
How do you hotplug-enable new CPU and RAM in a virtual machine?
I am running Ubuntu in a virtual machine and I'd like to add CPU and RAM without rebooting the device. How can I hotplug this new virtual hardware?
10
votes
4
answers
54k
views
Resize Disk Partition on Remote VM Server
I'm running Ubuntu Server 10.04 on a remote server as a VM. I only have access to the VM.
The VM is assign a disk space of 20GB, however the drive is currently only partitioned to use about 4.7GB.
I ...
10
votes
4
answers
15k
views
Why doesn't "osinfo-query os" detect Ubuntu 18.04?
OS: Kubuntu 18.04.1 (and Ubuntu 18.04.1 in a virtual machine)
When I run osinfo-query os after installing libosinfo-bin, the output doesn't include Ubuntu 18.04:
$ osinfo-query os | grep -i ubuntu | ...
10
votes
2
answers
4k
views
What is the difference between vagrant and juju?
Are they both solving the same problem? Or are they for two different sets of problems? If so for what i it better to use vagrant, and for what better to use juju?
10
votes
2
answers
22k
views
Bridging: Losing WLAN network connection with 4addr on option - Why?
Question:
For use with my Xen VM, I need to create a virtual network interface (vif) that is bridged to wlan0.
If in /etc/network/interfaces I add
auto xenbr0
iface xenbr0 inet dhcp
And then ...
10
votes
2
answers
14k
views
9p (libvirt/QEMU) share modes
Can anybody explain what share modes - default, mapped, passthough, squashed - mean in libvirt/QEMU configuration?
I've got this share in passthrough mode. I see that inside VM it is owned by vagrant:...
10
votes
1
answer
17k
views
Libvirt: virsh console - no response
Issue
I have Ubuntu 16 as the host running Ubuntu 14 as a guest (kvm).
I installed the VM using virt-install
All settings and configuration seems fine
# virsh list
Id Name State
---------------...
10
votes
1
answer
1k
views
Can I run Snappy Ubuntu Core as a guest inside Docker?
I'm aware that Snappy Ubuntu can host Docker containers. My question is whether it can also be run inside a container, as a Docker guest.
The reason I'm asking is that I can't find any Snappy VM ...
10
votes
1
answer
12k
views
Cannot install into target mounted with noexec or nodev while doing qemu-deboot strapping
I'm trying to install the armel version of Ubuntu with qemu-deboot-strap on my desktop X64 system,but I've found this error :
$ mkdir precise
$ sudo qemu-debootstrap --arch=armel precise ./precise/
...
10
votes
1
answer
685
views
How can a program detect that Ubuntu is running as a virtual machine?
I am trying to run a program via Ubuntu 16.04 as a Virtualbox VM.
The binary of this program checks if it's running on a virtual machine, and does something different on a VM than if it is on a given ...
10
votes
1
answer
25k
views
How do you install the VirtIO HDD drivers for KVM on Windows 7?
I'm trying to install Windows 7 64-bit on KVM. I created a VirtIO HDD in virt-manager, and connected the driver ISO from here. The only drivers I see for storage are for Windows Server 2008, and 2008 ...
10
votes
3
answers
19k
views
When I move mouse, mouse cursor disappears and reappears. How to fix it?
I have created an Ubuntu VM with VMware on my Windows 10 laptop. When I move the mouse cursor in Ubuntu, it starts flickering and disappearing and reappearing.
I am using Ubuntu 20.04.
9
votes
4
answers
17k
views
high performance with xen, vmware or virtualbox
I was wondering which is the best method to go about if I want to play win based games.
I do not want to go with the dual boot method as this will cost me time to restart, login and run a os to do my ...
9
votes
2
answers
9k
views
Wine or virtual machine (VirtualBox) to run apps (eg. Photoshop)
I am wondering if it will be better (stability, convenience and speed) to run apps like Photoshop with Wine or a virtual machine like VirtualBox?
9
votes
6
answers
8k
views
Wubi Install for Mac OS X
I just installed Ubuntu 10.10 on my Windows 7 box using Wubi and I'm loving it so far. One feature that I love is the fact that because I used Wubi it doesn't seem to create a separate partition. ...
9
votes
2
answers
20k
views
Libvirt Qemu password
I have Ubuntu 16.04 installed as command line and a week or two ago wanted to try using KVM. As a part of the KVM install using
sudo apt-get install qemu-kvm libvirt-bin virtinst bridge-utils cpu-...
9
votes
1
answer
44k
views
Removing default Virtualbox guest additions?
I don't want guest additions.
I have Virtualbox on a Windows host running Ubuntu 16.04 LTS as a guest. How do I make sure that all the guest additions are removed from the Ubuntu guest? I so far ...
9
votes
6
answers
4k
views
What is better: Win7 host running VMware with Ubuntu guest or visa versa?
I need both running on one computer
9
votes
3
answers
27k
views
IPv6 does not work over bridge
I installed Ubuntu 14.04 server a week ago. I use it as a virtual machine host (tasksel installed). meaning am running it with kvm + libvirt.
I have set up the same bridge I had in 13.10.
auto p4p1
...
9
votes
3
answers
39k
views
Add physical partition to QEMU/KVM virtual machine in virt-manager
I followed the instructions in this answer to a related question: Add physical disk to KVM virtual machine
The resulting code in the .xml file for the VM is the following:
<disk type='block' ...
9
votes
1
answer
30k
views
How to take advantage of VirtualBox paravirtualization in an Ubuntu guest?
I have an Ubuntu 14.04.3 (with linux-generic-lts-vivid (3.19) kernel) 64-bit host, and a VirtualBox guest with the same OS and configuration.
The host has an AMD A10-7800 CPU.
If I enable the KVM ...
9
votes
2
answers
6k
views
How can I start DHCP3-server later, so that it waits for a bridge interface to initialise before loading?
I have Ubuntu 10.04 server currently setup with dhcp3-server as well as a bridged interface (br0) for use with virtual machines. The problem I have is that when the server reboots, dhcp3-server fails ...