Questions tagged [virtualization]

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

Filter by
Sorted by
Tagged with
1 vote
1 answer
2k views

How to use microphone in KVM, virt-manager based Virtual Machine?

I am using Ubuntu 20.04.2 (64-bit) as host and Q4OS(32-bit) as guest. I have added camera from USB host devices and hence it works now on using google meet in virtual machine. But I am still unable to ...
Anurag Pathak's user avatar
1 vote
1 answer
1k views

Convert Ubuntu Server 20.04 LTS iso to lxc container or download somewhere

Where can I find LXC version of Ubuntu 20.04 LTS? I can find only .iso version at: https://ubuntu.com/download/server Or how can I convert .iso image it to LXC?
lluke's user avatar
  • 111
1 vote
1 answer
2k views

How do you install a VM with GUI via ssh on Ubuntu Server

I'm trying to install Windows 10 with virt-install on my Ubuntu Server LTS 20.04. I'm not really an expert on virtualization, but I try installing with: $ virt-install --name=windows10 --vcpus=4 --...
Aephir's user avatar
  • 19
1 vote
1 answer
4k views

QEMU/libvirt: guest VM does not properly shutdown

Since my recent upgrade from ubuntu 18.04 to 20.04, my guest VMs won't properly shutdown. Previously using ubuntu 18.04, I did not experience these problems. I have two guest VMs - one "standard&...
MisterX's user avatar
  • 21
1 vote
1 answer
3k views

Multipass accessing localhost

I am finding this very difficult to work with. I have installed multipass on Ubuntu 20.04. Inside multipass I have installed Ubuntu 20.04 like this. multipass launch -n ubuntu Not inside multipass ...
Rahul's user avatar
  • 121
1 vote
1 answer
1k views

Unable to Validate XML for KVM/QEMU Snapshot in 20.10

When trying to take a KVM snapshot using virsh snapshot-create-as --domain vm --name vm-snap --disk-only --diskspec "sdc,snapshot=internal,file=/var/lib/libvirt/images/vm.qcow2,,new", I get ...
Betty Von Schmartenhausen's user avatar
1 vote
1 answer
2k views

LXD - Assign public IP to a container

I have several static public IP addresses on my host machine. I want to assign that IP to a certain container, but I cannot really find any updated info about that. I tried to create a new network, ...
Welite's user avatar
  • 21
1 vote
1 answer
2k views

Virt-Manager and iPhone USB redirection

I have a Mac virtual machine installed using QEMU/KVM and I can't redirect my phone to the virtual OS. It keeps saying: spice-client-error-quark: Could not redirect ... at 1-13: Device is in use by ...
Zomo's user avatar
  • 111
1 vote
1 answer
2k views

How to assign disk unallocated space to ubuntu partition using terminal? [duplicate]

I recently installed ubuntu-server on a VM and later on increased the virtual hard disk size from 10Gb to 70Gb. Here is the result of lsblk. user@ubuntuserver:/$ lsblk NAME MAJ:...
HelloWorld's user avatar
1 vote
1 answer
4k views

socket to '/var/run/libvirt/virtxend-sock': File o directory not found

I'm running xen on ubuntu 20.04 and I'm trying to create a new xen connection with virt-manager,but it does not work,because the error : "failed to connect socket to '/var/run/libvirt/-virtxend-...
mark2020's user avatar
1 vote
1 answer
2k views

How to disable exit full screen popup in virt-manager

I'm using virt-manager with kvm, however I've found that in fullscreen mode (with spice), the exit fullscreen popup gets in my way often. Is there a way to disable this popup from showing whenever I ...
James Palmer's user avatar
1 vote
1 answer
423 views

How do I save a virtual interface?

Say I create a virtual bridge interface and configure it as follows: ip link add type bridge name br1 ip link addr add 10.10.10.1/24 dev br1 How do I make it so that this configuration persists ...
Daniel's user avatar
  • 203
1 vote
1 answer
1k views

Enhanced session with Lubuntu guest in Hyper-V

Did anybody find a way to make Enhanced session work in Hyper-V (Windows 10) with an Lubuntu 18.04 LTS guest? After creating a new VM with a fresh Lubuntu 'minimal' installation, the Basic session ...
esskov's user avatar
  • 111
1 vote
1 answer
129 views

Can't install Ubuntu Server 18.04.3 in KVM with minimal disk size

I am trying to install Ubuntu Server 18.04.3 in KVM with minimal resources. When I checked the official Ubuntu System Requirements, it says for live server (which I am using) it needs 1.5 gigabyte and ...
Fazle Rabbi's user avatar
1 vote
1 answer
3k views

GPU passthrough: windows guest recognizes GTX 1060 but I can't use it. Passing GTX audio makes VM ultra slow

I'm trying to do GPU passthrough for GTX 1060 on Ryzen 7 2700x. I followed https://mathiashueber.com/windows-virtual-machine-gpu-passthrough-ubuntu/ but I couldn't blacklist the nvidia driver as the ...
Guerlando OCs's user avatar
1 vote
1 answer
2k views

19.10 Ubuntu host entirely freezes during Windows 10 qemu install

On Ubuntu 19.10 as a host, I'm trying to do GPU passthrough to Windows 10 as guest. I successfully isolated my GTX 1060 and passed to the insides of a VM in virt-manager (libvirt doc) (home page). ...
Guerlando OCs's user avatar
1 vote
1 answer
1k views

Ubuntu Core as Hyper-V virtual machine image

As Ubuntu Core can be installed on an Intel® NUC, is there any possbility to make it run as Hyper-V virtual machine to play around with it?
Stefan's user avatar
  • 121
1 vote
1 answer
875 views

Upgrade qemu/KVM ( 16.04)

I'm working on 16.04 LTS, but would like to try the kvm/qemu/virsh version running on 18.04. Since it takes still some time for 20.04 I wonder if it is possible to add a ppa of a later, saying ...
Cutton Eye's user avatar
  • 1,211
1 vote
1 answer
3k views

Is it possible to run qemu-system-x86_64 virtual machine from raw disk image located on external flash drive?

For some project I need to have QEMU/KVM virtual machine with raw disk image. So I have created this raw disk image as simple as dd if=/dev/zero of=~/disk.img bs=1M count=3092 and got 3 Gb of space ...
N0rbert's user avatar
  • 100k
1 vote
2 answers
8k views

blacklist xhci_hcd

I need to passtrough a USB 3.0 controller for a VM under qemu. My lspci -nnk is : ... 02:00.0 USB controller [0c03]: Renesas Technology Corp. uPD720201 USB 3.0 Host Controller [1912:0014] (rev 03) ...
strike2901's user avatar
1 vote
2 answers
1k views

Can't Connect to Vbox Virtual Machine on my Ubuntu server via windows RDP

I have an ubuntu 18.x server. I installed virtualbox on the server and configured a new VM using these instructions. When I try the last step I get an error window I also noticed that when I run ...
Riley Hughes's user avatar
1 vote
1 answer
1k views

Libvirt doesn’t recognize the network interfaces

so im using Virtual Machine Manager, and the sad part is that it doesn't list my interfaces. see screenshot here also if i run the iface command i get this :( $ virsh iface-list Name State MAC ...
Thora's user avatar
  • 11
1 vote
1 answer
1k views

Can I boot already installed Ubuntu in a Virtual Machine on Windows?

I use my computer on dual boot: partition A under Ubuntu 18.04 and partition B under Windows 10. For several reasons, I now think booting into Windows 10 and running Ubuntu in a virtual machine is ...
Matias Correa's user avatar
1 vote
1 answer
3k views

Unable to run Windows 10 using VMware 15 pro on Ubuntu 19.04

I am trying to use Windows 10 on Ubuntu 19.04. When I click the Start button, I get the following error: Unable to change virtual machine power state: This host supports Intel VT-x, but Intel VT-x ...
John A Luka's user avatar
1 vote
1 answer
114 views

Fullscreen enabled in Ubuntu Virtualbox VM without Guest Additions

Trying to delve into web application hacking, I installed a dedicated Virtual Lab set up by the academic SEED project. The pre-built VM (based on Ubuntu 16.04) was already configured with everything ...
programmersn's user avatar
1 vote
2 answers
2k views

QEMU warning SDL 1.2 is deprecated

Starting QEMU in a terminal with qemu-system-x86_64 -enable-kvm -m 6G -smp cores=3 -cpu host -drive file=... produces the following warning: Running QEMU with SDL 1.2 is deprecated, and will ...
mgw's user avatar
  • 134
1 vote
1 answer
2k views

Ubuntu 18.04 Guest on proxmox host cannot utilise "VirtIO (paravirtualized)" network adapters

Hi we have a proxmox host (the host is Ubuntu too) and on it is a VM Ubuntu 18.04 Guest. For reasons I do not understand the command # cat "/boot/config-`uname -r`" | grep -i vir` shows (in the ...
Mr Heelis's user avatar
  • 131
1 vote
1 answer
812 views

scp directory from remote ubuntu desktop to virtual machine

I want to transfer my project to a virtual machine. I have mac book, so I logged in to my Ubuntu 18.04 remote desktop. Still, I can't transfer my project directory to the virtual machine. I have moved ...
Despina's user avatar
  • 11
1 vote
1 answer
4k views

Manually upgraded QEMU 3.1 does not support qxl video device

I want to use the latest version of QEMU (3.1) with my installation of Ubuntu Server 18.04.2. I have managed to install it, but it seems that the new installation is not correctly connected to all the ...
Stonecraft's user avatar
1 vote
2 answers
1k views

Internet access not functioning in Ubuntu 18.04 VM

I'm using Ubuntu 18.04.1 LTS in a VirtualBox VM instance. I am building an internal network in accordance with an article on setting up a non-internet accessible, isolated virtual network environment ...
D. Joe's user avatar
  • 11
1 vote
2 answers
1k views

Gnome boxes wouldn't start Ubuntu 18.04

Freshly installed gnome boxes 3.28.1-1 from ubuntu app store and created box with Ubuntu 18.04. It fails to start and this is the Troubleshooting log Broker URL: qemu+unix:///session Domain: boxes-...
messedupbad's user avatar
1 vote
1 answer
1k views

Whats the difference between virsh destroy and virsh undefine

I am new to servers and vms wanted to know the difference between virsh destroy and virsh undefine
Dheeraj Chelaramani's user avatar
1 vote
1 answer
91 views

How can I force a consistent Partition UUID across virtualised/native boot or somehow get the new one

Im running 1804 with win 10 in a dual boot setup. both installs are on the same physical disk, on different partitions. Now I recently managed to get my ubuntu partition booting from the windows host ...
SwiftD's user avatar
  • 245
1 vote
1 answer
4k views

Reinstalling Windows in a virtual machine

I have an old computer (from 2012) with lots of RAM, which works fine. I bought it with a Windows 8 license, which has since been upgraded to Windows 10. In the last couple of years it went for too ...
Jay Godse's user avatar
  • 161
1 vote
1 answer
1k views

Migrating an Ubuntu 1804 (MBR/GPT) qcow2 image to a physical partition (GPT)

Is it possible to migrate an Ubuntu Mate 1804 from a qcow2 image to a physical partition? My approach was- $ sudo apt install libguestfs-tools $ sudo guestmount -a /media/user/images/mate1804.qcow2 -...
Pavel Sayekat's user avatar
1 vote
1 answer
37 views

U Core hosted on OSX [closed]

id like to start experimenting with snaps on ubuntu core. Ideally start with a Docker image or Virtual Box container. Eventually I want to remotely deploy goLang apps, on rasspi's... but I am ...
IrishGringo's user avatar
1 vote
1 answer
2k views

E: Sub-process /usr/bin/dpkg returned an error code (1) [Related to KVM]

I tried to install KVM on ubuntu 17.10 and got this error: **anuragabhi@abhishek-Notebook:~$** sudo aptitude install qemu-kvm libvirt-bin ubuntu-vm-builder bridge-utils [sudo] password for ...
Anurag's user avatar
  • 11
1 vote
1 answer
86 views

Ubuntu 17.10 is not booting due to hard disk being full of recovered files

I'm new to Ubuntu. Yesterday I accidentally deleted my Virtual Machine Windows 7 (32 bit) in VirtualBox on host Ubuntu 17.10. After that I tried to recover using Testdisk. It's not recovered and ...
user avatar
1 vote
1 answer
1k views

QEMU won't boot anything on GPU passthrough VM

I have been attempting to setup a Windows 7 VM with GPU passthrough on Ubuntu 17.10 and have not had any success getting anything to boot, from hard drives, to ISOs, to even actual DVDs. I get the ...
a rad white lad's user avatar
1 vote
1 answer
200 views

How can I apply the packaging for libvirt to build a package out of a git version?

I've been trying to work on a patch to libvirt to enable Ceph/RBD storage volumes. I would like to test my code now. I would like to do this as a package (or even a Launchpad PPA), so that I can ...
Azendale's user avatar
  • 11.9k
1 vote
1 answer
3k views

How to develop in Android Studio inside VM, but launch parallel VM with Android?

I'm in a situation where I need to develop in Android Studio inside a KVM running Ubuntu. I know I can redirect the USB of my phone inside this VM and upload the apks to my phone. But how can I launch ...
Guerlando OCs's user avatar
1 vote
1 answer
351 views

VmWare issue - can run machine only once per reboot... 'Not enough physical memory'

I have strange issue with VMWare Player on Ubuntu as a host. I can run Windows guest only once per system boot. After I close or suspend virtual machine, I can't run it again any way because of the ...
Marek Urbanowicz's user avatar
1 vote
1 answer
402 views

Virtualbox Ubuntu switching to virtual terminal problem [duplicate]

I am running Ubuntu within Ubuntu using VirtualBox. I want to switch to virtual terminal on guest system. When I press Ctrl+Alt+F4 within guest system, host system switches to virtual terminal instead ...
Görkem Mülayim's user avatar
1 vote
1 answer
14k views

VirtualBox GPU Passthrough from Linux Host to Windows Guest

I'm trying to use my dedicated GPU (Nvidia GTX970M) in my guest system (Windows 7). I used the following command: vboxmanage modifyvm "Windows 7" --pciattach 01:00.0@07:01.0 The GPU is successfully ...
ProtectedVoid's user avatar
1 vote
1 answer
692 views

Error while installing Ubuntu (X86-64 CPU expected) [duplicate]

While installing Ubuntu in VirtualBox, I got error messages: This kernel requires X86-64 CPU,but only detected an i686 CPU. Unable to boot- please use a kernel appropriate for your CPU. How do I ...
Babatunde's user avatar
1 vote
1 answer
3k views

Using a bridge br0 while using eth0 and eth0:1

My Situation: I have a Server with Ubuntu 16.04 running on it. This Server has 2 IP Adresses. Now I wanted to install a Brige to give a VM (KVM) acces to the Network so i dont have to write endless ...
DaNeubi's user avatar
  • 11
1 vote
1 answer
11k views

QEMU internet through bridged interface?

I've recently setup QEMU on my server for learning/experimenting with virtualization. I decided to use a bridge network setup so that the VM would appear on the local network and be visible from ...
GhostSquad57's user avatar
1 vote
1 answer
1k views

unable to start libvirt

and I may have made things worse with rm -rf /var/run/libvirtd.pid root@ts:/home/t# libvirtd 2017-05-28 07:48:19.090+0000: 5473: info : libvirt version: 2.5.0, package: 3ubuntu5 (Christian Ehrhardt &...
tatsu's user avatar
  • 3,107
1 vote
2 answers
5k views

There was an error talking to Libvirt: Call to virDomainCreateWithFlags failed: Unable to get index for interface eth0: No such device

My computer is Ubuntu Desktop 16. I am using Vagrant and KVM libvirt to create virtual machines. However, I want my machines to connect to the Wi-Fi of my home and have IP addresses of the Wi-Fi ...
NSD's user avatar
  • 23
1 vote
1 answer
270 views

Does my PCI card have shared interrupts?

I'm trying to get VGA passthrough working on VirtualBox with a Windows guest. Per the VirtualBox manual: Limitations: 1. Only PCI cards with non-shared interrupts (such as using MSI on host) are ...
Autumn's user avatar
  • 684

1
17 18
19
20 21
44