Questions tagged [virtualization]

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

Filter by
Sorted by
Tagged with
0 votes
1 answer
454 views

How to upgrade virt-manager and all its dependencies without upgrading ubuntu 20.04

I'm using Ubuntu 20.04 on the Jetson nano. I'm trying to virtualize FreeBSD 13.2 using virt-manager with all the dependencies that it brings,but I see that the version shipped with ubuntu 20.04 is ...
-1 votes
1 answer
1k views

How to use external SSD to store files for VM?

I'm using an external SSD portioned as exfat to store files for my vm. I'm using the tool virt manager to manage this. While trying to store the vm on SSD I got this message: "The emulator may ...
1 vote
2 answers
531 views

SGX Drivers are not showing with QEMU VM

I am trying to setup Ubuntu 20.04 VM with QEMU on Ubuntu 22.04, the VM is up but /dev/sgx_enclave is not present inside VM, When I checked the EPC size, it returned "There are zero EPC sections&...
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 ...
0 votes
0 answers
190 views

Trouble configuring Netplan w/ multiple VLANS and Bridges on Single NIC for KVM/QEMU

The simplicity of Netplan has me stumped again. Attempting to configure a single NIC with multiple subnets to be used with kvm/qemu VM hosting. OS: Ubuntu 22.04.1 LTS Switch: TP-Link TL-SG108E I ...
97 votes
11 answers
262k views

How do I unmaximize full screen view in virt-manager?

After activating full screen view for a virtual machine in virt-manager there is no obvious way to un-full screen. Any ideas?
0 votes
0 answers
517 views

How to set the main network interface to mode macvlan on ubuntu server?

how does one put the main ethernet interface on Ubuntu server into macvlan mode automatically (i.e. for every boot and not just on the command line)? Background and reason: If someone wants virtual ...
0 votes
0 answers
123 views

Create a Virtual Mchine using KVM virsh commande

I tried to create a VM using kvm (libvirt) virsh commande but the installation isn't completed. I used ubuntu server 22.04 lts and I didn't have acces to the console of the virtual machine . I don't ...
1 vote
3 answers
9k views

VirtualBox: "Mp-bios bug:8254 timer not connected to io-apic"

Every time the virtual machine boots up, this error message pops up: VirtualBox: "Mp-bios bug:8254 timer not connected to io-apic" How can I prevent this error when using VirtualBox?
0 votes
0 answers
52 views

Ubuntu 22.04 :: VM failure after power failure

I have Several VM's - all worked fine prior that event. After a grid power failure - all VM's showing an error message as shown below. PC works fine. All files, HDD, are intact. I tried to Ignore - ...
1 vote
1 answer
1k views

How to install qemu-kvm on kinetic when package not showing up in apt?

I'm going around in circles trying to install qemu so I can run a lxd vm. lxd gives me the error Error: Failed instance creation: Failed creating instance record: Instance type "virtual-machine&...
1 vote
0 answers
29 views

ERROR When attempt to run Linux VM on Mac (VERR_UNSUPPORTED_CPU) [duplicate]

My Ubuntu version is Ubuntu Desktop 22.04.2. My OS is macOS Monterey 12.2. I am a complete beginner to Linux and im trying to learn a bit more about it since it's a very in-demand OS. When I attempt ...
0 votes
1 answer
404 views

QEMU/KVM virtualization problem (probably SGX)

I am trying to setup my own computer lab for networking, pen testing and learning in my own local network using virtual machines, a raspberry-pi, a Linux machine and a windows machine. My Linux ...
0 votes
1 answer
87 views

Why did Microsoft Azure Edge install a new kernel on my machine?

After installing Azure Edge (sudo apt-get install linux-azure-edge), a completely new Azure kernel was put on my machine that now boots in place of the old kernel (which no longer works). The new ...
12 votes
5 answers
67k 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.
25 votes
6 answers
57k views

Certificate error when using Citrix Receiver

I am getting this error when attempting to load a Desktop module up within Citrix Receiver: What I don't understand is I can see this particular certificate is set to "Trust.." under any/all ...
0 votes
1 answer
125 views

How to start Xserver at a particular TCP port?

I was trying to start a firecracker instance on a different IP and wanted to the export the display to another IP.The recieving IP is not listening at the particular address.So the launch of any GUI ...
1 vote
1 answer
2k views

No hyper-v daemons available in 22.04?

I have been looking for quite some time for a way to download the Hyper-v Daemons in Ubuntu 22.04 server as it seems my install did not come with any. The last thing I found was a microsoft guide on ...
1 vote
0 answers
27 views

How do I move my default virtual bridge to my NIC team

I'm new to Ubuntu and I've been asked to spin up a host server for some VMs. My Ubuntu 22.04 server OS is installed and I have my hypervisor installed and working. I can even create VMs that can ...
1 vote
2 answers
1k views

cannot run virtualbox on ubuntu 20.04

The virtualBox used to work properly and there was no error before.Now I can't run any of the VMs, and see the message The virtual machine has terminated unexpectedly during startup with exit code 1 (...
0 votes
2 answers
12k views

Setting up a bridge for host and vm

I'm having quite a lot of problems setting up a network bridge for both my host and my vm to use. The host (os of the server) is Ubuntu 20.04.4 LTS. The VM (using KVM and virt-manager) is TrueNAS Core ...
1 vote
0 answers
386 views

Setting up Network access for virtual ubuntu machine in Hyper V of windows Server 2012

I installed Ubuntu 22.04(lastest) in windows server 2012 hyper V. i created an External virtual switch , but i couldnt manage to get internet for my virtual machine (ubuntu) and i couldnt make it ...
-1 votes
2 answers
1k views

How to enable WIFI in Ubuntu running inside Virtualbox

So, I'm running Ubuntu in Virtualbox and when I tried to connect to WIFI through settings, it said that it can't detect any WIFI adapter. What do I do? I even tried disabling Virtualbox Host Only ...
6 votes
4 answers
12k views

How to run libguestfs-tools tools such as virt-make-fs without sudo?

The project page http://libguestfs.org/ claims that we can do operations without sudo, which is awesome. However, if I try it out: sudo apt-get install libguestfs-tools mkdir sysroot # Just a test ...
1 vote
0 answers
722 views

Running a VM with old version of Ubuntu, what to use?

I am currently using Ubuntu 20.04, but I still have my old PC with Ubuntu 10.04 installation, and I want to keep it available for occasional use (because there are some things in that version that ...
0 votes
1 answer
4k views

How do I install virtio GPU guest drivers for ARM/aarch64 Ubuntu virtual machine

I am using qemu (UTM) to run a Ubuntu virtual machine on an Apple Silicon device. The guest operating system is the ARM/aarch64 version of Ubuntu 22.04. I would like to be able to use virtio to allow ...
1 vote
1 answer
2k views

Ubuntu Pro License for VMs

I'm a little bit at a loss understanding how Ubuntu Pro license works for Vms. It says "all the VMs running on these hosts", then listing a lot of hosts (from qemu/KVM to EXSi to Hyper-V to ...
0 votes
0 answers
25 views

How do I get rid of this black screen when trying to install ubuntu on m1 mac using virtual machine? [duplicate]

I've tried changing my cores and RAM settings as well, but to no avail. I looked for a similar issue online, but couldn't find one. I'm currently using 4 cores with 4GB RAM and 30GB disk space. I'm ...
4 votes
3 answers
47k views

How to use OpenGL/3D acceleration in virt-manager with ubuntu?

Currently on Ubuntu 20.04 both as host and guest, I followed http://ryan.himmelwright.net/post/virtio-3d-vms/ and activated 3D acceleration on video, and OpenGL on dsplay, but on VM launch I get SPICE ...
4 votes
1 answer
5k views

qemu failed to passthrough a tpm device

Hi i'd like to install windows 11 on kvm. I have tpm enabled on my system. ubuntu 21.04 (qemu 5.2+dfsg-9ubuntu3.1) ls -ls /dev/tpm* 0 crw-rw-rw- 1 root root 10, 224 Sep 25 18:18 /dev/tpm0 0 crw-rw-...
0 votes
0 answers
2k views

unable to write authority file /home/administrator/.xauthority-n

I had some problem today /usr/bin/xauth: unable to write authority file /home/administrator/.xauthority-n I realized that the disk got full somehow, however, I added more space in the Proxmox UI and ...
0 votes
1 answer
32 views

How do I create a local server instance from a vhd downloaded from Azure?

I'm using Ubuntu 18.04. I need to create a local server instance from a vhd downloaded from azure. So far I have downloaded the disk image and created a local vm. I can log in normally, but the main ...
0 votes
1 answer
749 views

On VirtualBox, how to launch multiple instances of a VM that uses the .vmdk format?

On VirtualBox, how to launch multiple instances of a VM that uses the .vmdk file format? That mean, what are the alternates to do and run multiple copys or clones of the VM? Possible small hint: ...
1 vote
1 answer
1k views

Why is host-hunspell so big?

lsblock on an osboxes Ubuntu VM return this: sda 8:0 0 500G 0 disk ├─sda1 8:1 0 220.6G 0 part /var/snap/firefox/common/host-hunspell │ / ├─sda2 8:2 ...
0 votes
2 answers
2k views

How to access virtual machine in KVM without ssh?

How can I access virtual machine in KVM without ssh, ssh port is disabled and I want to enter the virtual machine and enable it. I tried virsh console and VNC solutions , they did not work because ...
15 votes
4 answers
69k views

How to share folder with Windows 10 guest using virt-manager (KVM)?

These instructions for sharing host files with a guest are not working because there is no /usr/bin/qemu-kvm.
-1 votes
1 answer
169 views

I installed some software like Docker, Jenkins etc on my PC but it's not working, all it's showing is that Docker-Desktop depends on qemu-system-86

I've being trying to install it but this is what I've been getting as response ife@ife-HP-ProBook-6560b:~$ sudo apt-get install qemu-system-x86 Reading package lists... Done Building dependency tree ...
0 votes
0 answers
231 views

Ubuntu 22.04 installation along with KVM - offline installation

In Ubuntu 16.04 we have an option to install kernel virtual machine during OS installation, but in Ubuntu 22.04, what's the option available to install KVM? I need to install virsh KVM on top of ...
0 votes
2 answers
19k views

sudo: grub2-mkconfig: command not found

When I try perform the command "sudo grub2-mkconfig -o /etc/grub2-efi.cfg", I get an error message stating "sudo: grub2-mkconfig: command not found". I am trying to perform single ...
1 vote
0 answers
733 views

Ubuntu on Virtualbox using Intel 12th gen CPU AlderLake show one core only

After installation of Ubuntu in Virtualbox on a Win11 Host linux shows only 1 core but 16 are configured. Also ubuntu in Virtualbox is pretty slow, I assume its only one core indeed. Any idea? lscpu -...
0 votes
1 answer
302 views

QEMU+KVM: Two errors after running virsh list --all, seems to be permission error

after running virsh list --all, I get the following errors: error: failed to connect to the hypervisor error: Failed to connect socket to '/var/run/libvirt/libvirt-sock': Permission denied This is ...
0 votes
0 answers
2k views

Ubuntu Server 22.04: CPU doesn't support virtualization, but VT-x is enabled in BIOS

I am trying to run a headless virtualbox vm with Windows 10 on an Ubuntu Server 22.04 host. I have used virtualbox on this exact machine in the past (maybe about 2 years ago) and it worked. However, ...
0 votes
1 answer
228 views

How to increase my Ubuntu Memory from 4Gig to 16G

I already deployed my Ubuntu on my Window 7 dual partition, I only allocated about 4Gig of memory out of 32G memory. I need to increase my Ubuntu memory to run another VM instance. How can I increase ...
0 votes
0 answers
58 views

Ubuntu 18.04 stuck in grub rescue

Different from other topics I have found. I have an ubuntu VM, mounted what I thought was a USB (as they are normally sda1) and without checking copied a file onto it. Well this stupid VM has its file ...
3 votes
1 answer
3k views

Realtime kernel running as virtual machine

I read that using a Linux kernel (Ubuntu rt kernel) was able to increase the response time of a Java application by 4x. My only problem is that I must run a program that only has a Windows ...
32 votes
4 answers
105k views

How to mount a virtual hard disk?

Is it possible to mount a virtual hard disk (VHD, HDD, VDI, VMDK) on Ubuntu? How can this be done?
2 votes
1 answer
418 views

How to create a Multipass instance with custom installed softwares and share it with others

I would like my students to use a specific version of Ubuntu with custom-installed software (ROS and Gazebo, software for robotic applications). In addition, my students might be running Windows, Mac ...
0 votes
0 answers
186 views

ubuntu on m1 virtual machine

I installed Ubuntu on m1 UTM ubuntu version:jammy-desktop-arm64.iso LTS 16GB ram 8core cpu UTM virtual machine when i tried to open Firefox it did nothing just loged me out so i installed it threw ...
4 votes
0 answers
957 views

Unable to start QEMU VM with SDL display due to Apparmor: cannot load AppArmor profile 'libvirt-32963ecb-fd2f-454c-93a6-c818af618ba4'

I am trying to run my virtual machines in virt-manager using SDL as my display, rather than a spice server. The VMs boot flawlessly with spice but when I switch its display to SDL I get the following ...
0 votes
2 answers
2k views

Run an Android VM on a ubuntu server, and remotely access it

I can't find anything related to what I'm looking for Found this : [github.com/DeviceFarmer/stf][1] but not what I looking for any tips to guide my research? [1]: https://github.com/DeviceFarmer/stf

1
3 4
5
6 7
44