Questions tagged [virtualization]

Questions about Virtualizing Ubuntu or virtualizing other operating systems within Ubuntu.

Filter by
Sorted by
Tagged with
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 ...
Toodarday's user avatar
  • 353
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 ...
Jay's user avatar
  • 2,270
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 (/...
rickfarina's user avatar
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.
aditya's user avatar
  • 121
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 ...
yossile's user avatar
  • 5,708
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 ...
iGadget's user avatar
  • 873
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 ...
Aslan French's user avatar
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 ...
EgoNecoTu's user avatar
  • 123
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 ...
Mohammad Ahmad's user avatar
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 ...
NaN's user avatar
  • 1,415
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 ...
this.foo's user avatar
  • 447
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=-...
UberSteak's user avatar
  • 335
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 ...
psylockeer's user avatar
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 ...
bobeff's user avatar
  • 431
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/...
Marius Gedminas's user avatar
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'...
Aleksandr Levchuk's user avatar
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 ...
Phil's user avatar
  • 301
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 ...
john crisp's user avatar
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 ...
Dave's user avatar
  • 213
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' ...
AlanObject's user avatar
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 ...
Raansu's user avatar
  • 421
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 ...
Vilmantas Baranauskas's user avatar
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(...
Sagar Patni's user avatar
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 ...
Küroro's user avatar
  • 235
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 ...
gkt's user avatar
  • 255
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 ...
Ammon's user avatar
  • 113
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 (...
Jorn's user avatar
  • 234
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 ...
John K's user avatar
  • 1,113
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?
flickerfly's user avatar
  • 7,279
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 ...
Highway of Life's user avatar
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 | ...
DK Bose's user avatar
  • 42.5k
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?
txwikinger's user avatar
  • 28.4k
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 ...
WitchCraft's user avatar
  • 1,834
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:...
anatoly techtonik's user avatar
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 ---------------...
orangesomethingorange's user avatar
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 ...
Todd Booth's user avatar
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/ ...
Marietto's user avatar
  • 575
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 ...
719016's user avatar
  • 6,207
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 ...
Sean W.'s user avatar
  • 240
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.
A Dub's user avatar
  • 101
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 ...
Marchosius's user avatar
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?
Jiew Meng's user avatar
  • 10.3k
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. ...
Adam's user avatar
  • 193
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-...
jb61264's user avatar
  • 481
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 ...
Smiith's user avatar
  • 125
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
Aviah Laor's user avatar
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 ...
Niklas Hagman's user avatar
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' ...
Marc.2377's user avatar
  • 407
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 ...
Marcus's user avatar
  • 2,475
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 ...
user2009's user avatar

1 2
3
4 5
44