Questions tagged [virtualization]
Questions about Virtualizing Ubuntu or virtualizing other operating systems within Ubuntu.
2,164
questions
0
votes
0
answers
22
views
How does SR-IOV networking work in an Ubuntu 22.04 Hyper-V virtual machine?
Using Windows Server 2022 as a hypervisor, I've created two Ubuntu VMs: an Ubuntu server and a desktop. The following is based on my experiences with the server on 22.04 and also 23.xx, although the ...
0
votes
0
answers
43
views
booting from qemu with self-made bare minimum OS
I wrote a minimal OS to boot from in nasm.
org 0x7C00 ;because the OS is loaded at address 0x7C00
bits 16 ;because we start in 16 bit mode
main:
hlt
.halt
jmp .halt
times 510-($-$$) db 0
dw ...
0
votes
1
answer
31
views
"libvir" not found in "sudo apt install libvir"
I want to install Qemu on ubuntu 22.04 following this tutorial
However, when I enter sudo apt install libvir I get
E: Unable to locate package libvir
Does anyone know whats wrong with my system? (I ...
0
votes
0
answers
250
views
vmmon and vmnet are not installing in Ubuntu 22.04 LTS (kernel 6.5.0-21-generic)
I am tring to install Vmware Workstation 17 on my device. I installed the .bundle file got from the official website. Installed gcc gcc-11 gcc-12 build-essentials via apt.Then I ran the command sudo ...
-1
votes
0
answers
44
views
QEMU on arm host
I have Orange Pi 5 Plus running Orangepi5plus_1.0.8_ubuntu_jammy_server_linux6.1.43.img
Linux orangepi5plus 6.1.43-rockchip-rk3588 #1.0.8 SMP Sat Feb 3 00:04:38 CST 2024 aarch64 aarch64 aarch64 GNU/...
1
vote
0
answers
65
views
How to login into xrdp/xorg in hyper-v? When I enter ubuntu login credentials in the input box, a blank blue screen shows up
Disabling the Enhanced session mode let's me enter into ubuntu without xrdp login dialogue box but it results in not able to copy clipboard and full screen doesn't work.
I don't have much experience ...
1
vote
0
answers
40
views
Lubuntu Guest not detecting VT-X while trying to nest VM
Recently I have encountered a problem where when I try to use a Lubuntu Guest VM to virtualize a nested windows XP VM, it will always give me a "VT-x is not enabled error" even though it's ...
-1
votes
0
answers
40
views
Ubuntu's Virtual Machine Manager: Can I access Window 7 OS previously controlled by VmWare player in the host Ubuntu
I have a desktop running Ubuntu 22.04.2 LTS and VMware Player 12 which is responsible for opening my Windows 7 Ultimate. The VmWare is not working anymore due to the frequent updates of the patches ...
-1
votes
0
answers
37
views
hyper v black screen problem
I added a checkpoint to an Ubuntu 20.04 virtual machine that I was using on Hyper V, and when my virtual machine had a problem, I deleted the checkpoint and now it does not open at all.
When I want to ...
-1
votes
0
answers
57
views
Sealing Ubuntu 22.04 as VM template - Linux alternative to sysprep
I'm currently working on setting up an Ubuntu 22.04 Server VM which I will seal and convert into a template. I've gone through most of the preperation, such as cleaning out logs, resetting host name ...
-1
votes
0
answers
70
views
Are there any guest drivers for KVM virtualization when runing Ubuntu?
I'm testing QEMU/KVM virtualization and using the virtio VGA type.
Unfortunately the screen seems slightly slower, using more CPU than VirtualBox when moving windows around and or playing videos, ...
0
votes
0
answers
30
views
Transfer virtual machine setup to laptop
I spend four days creating a desktop environment as I need on VMware VM.
All is working great, and now I would like to install/copy/transfer this beautiful configuration to my new laptop. I don't want ...
0
votes
0
answers
28
views
Netplan issues with Hetzner and ip's
I have the following config on 01-netplan.conf think it's called.
network:
version: 2
renderer: networkd
ethernets:
eno1:
dhcp4: no
bridges:
br0:
interfaces: [eno1]
...
-5
votes
1
answer
46
views
How to get rid of error [closed]
I am using m2 macbook with UTM virtualization (ubuntu linux OS) i am installing hadoop But there's only one error
ERROR: JAVA_HOME /usr/lib/jvm/java-11-openjak-amd64 does not exist.
0
votes
1
answer
234
views
KVM not supported shown in terminal while it is enabled
Can you let me know what I am doing wrong to install the KVM in Virtual Machine Ubuntu that I see the error of "CPU does not support KVM extensions"?
I am running a Linux (Ubuntu 22.04.3 LTS)...
0
votes
0
answers
361
views
2024 Your CPU does not support KVM extensions - Virtualization is On
I am trying to use KVM using VirtualBox running an Ubuntu 20.04.06 focal ISO image. When I enter the command kvm-ok it shows me this output:
INFO: Your CPU does not support KVM extensions
KVM ...
0
votes
1
answer
52
views
Hyper-V Ubuntu does not show installation wizard
I've got Ubuntu 20.04 installed via Hyper-V quick create with a 128Gb virtual HD.
I get to the home screen, but it just sits with the cursor spinning and does not show the install wizard (it has shown ...
0
votes
0
answers
22
views
Create a guest with kvmtool
I want to boot a standalone application (I have the .elf file) on a KVM guest in an UltraScale platform. I am new with KVM and I'm using kvmtool, but I don't know how can I run a guest running my elf ...
0
votes
0
answers
72
views
Uninstalling VMware Player 17 Issue on Ubuntu 22.04
I have accidentally executed these commands:
sudo rm -r /etc/vmware
sudo rm -r /usr/lib/vmware
Before executed this one sudo vmware-installer -u vmware-player, so when I tried to executed sudo vmware-...
0
votes
1
answer
66
views
something wrong disk size in vm under KVM
My VM in KVM looks disk full, then I checked df
df -h
Filesystem Size Used Avail Use% Mounted on
tmpfs 392M 1.2M 391M 1% /run
/dev/mapper/...
0
votes
0
answers
76
views
Nested virtualisation: unable to change the power state - Intel VT-x disabled
I have a problem installing virtualbox on ubuntu which is installed on microsoft azure. I get the following error:
Unable to change the power state of the virtual machine: this host supports Intel VT-...
0
votes
1
answer
281
views
Trying to share a directory, that is located in another hard drive connected to my computer, with a Windows 10 guest on QEMU/KVM
I'm using Ubuntu 23.10 and Virtual Machine Manager 4.1.0.
When I try to add the directory that is located on another hard drive in Virtual Machine Manger, I get the following error: "Error ...
0
votes
1
answer
132
views
kvm exiting hardware virtualization
I used to encounter this error when I want to turn off or reboot my system.
1
vote
1
answer
392
views
Dockerized pi-hole on ubuntu makes the connection unusable, is it expected?
In order to use pi-hole in a container on Ubuntu 22.04.3 LTS I first download
docker pull pihole/pihole
then I free up some ports
sudo systemctl disable systemd-resolved.service && sudo ...
0
votes
0
answers
34
views
Got on trouble Vlan VM need help. (VLAN, KVM-VM)
I want to create a vlan on ubuntu server and want to create a ubuntu server vm mit kvm but I have not enough lan ports so I want to create a van to create the vm that uses the vlan to get an private ...
0
votes
1
answer
179
views
How do I share a folder between Ubuntu 22.04 (client) and Windows 7 (guest) using qemu-kvm
I'm running Ubuntu 22.04 on a homemade PC: AMD Ryzen, Gigabyte X570 motherboard with a Samsung 980 Pro SSD. I've already created a few shared folders via Samba, but I'm often given the "you don't ...
1
vote
1
answer
344
views
MacVTap in KVM not getting IP address from Local Network DHCP
Trying to create a KVM with MacVTap interface, but there is no ip assigned to it
Referring to these docs to create the kvm.
Followed the creation of network properly, i.e added interface in the ...
0
votes
0
answers
52
views
No VPN inside Ubuntu VM?
Symptom: neither OpenVPN nor wireguard based VPNs work inside Ubuntu VM. Errors range from no network to connection failed, etc. Tried TCP and UDP protocols. Also tried protonvpn and surfshark ...
0
votes
0
answers
59
views
setting nested virtualization in ubuntu
I am using Ubuntu as my host machine and using KVM.
In my KVM machine (windows guest) I have installed Vmware.
Is it possible to run machines inside the windows guest (in the vmware)
I know is it ...
0
votes
0
answers
97
views
GPU Passthrough in kvm, but dmesg reports arm-smmu-v3 CMD_SYNC timeout on host
For some reason I can only use iommu.passthrough to enable iommu on my arm64 borad. It seems I successfuly passthrough a Tesla P4 into my guest machine.
But after installing the Nvidia vgpu driver, ...
0
votes
0
answers
477
views
Connecting NVIDIA RTX GeForce 4090 to Ubuntu 22.04 in VM
I have a Lenovo Legion 7 that I am not using for gaming. I installed Ubuntu 22.04 in Hyper-V and want the NVIDIA GPU (RTX GeForce 4090 ) provide compute power for apps run under Ubuntu. After ...
0
votes
1
answer
126
views
How can I Dual-Boot 2 internal SSD's (Win/Ubuntu) and have each able to run the other as a VM?
I have a new laptop on the way, it has 1TB SSD *2, 32GB RAM, i9 processor and 4080 GPU.
I want to set up dual boot - win/ubuntu each on their own SSD.
I also want each OS to be able to run the other ...
0
votes
0
answers
41
views
Cant boot ubuntu in vmware after moving files from C to D partition (cant exit from emergency mode)
Here are the screenshots of what I am getting
first
second
third
0
votes
0
answers
358
views
Attempting to use LibVirt with QEMU on Ubuntu 22.04 without KVM
My understanding is that I can use LibVirt and QEMU on Ubuntu 22.04 without having to use KVM. In order to do this I'm using the following commands:
#!/bin/bash
sudo apt-get -y update && sudo ...
0
votes
0
answers
96
views
NIC dedicated to a KVM guest VM
I'm completly on a dead end trying to add a physical NIC to a guest VM.
The server has 4 NICs and I'd like to use as follow:
NIC1: host
NIC2: Dedicated to a windows VM
NIC3: dedicated to a pool of VM ...
0
votes
0
answers
104
views
Virtualisation Error - Docker but Nested VT-x is enabled
I have been trying to install Docker Desktop following all the steps from installing Docker hub to then installing Docker Desktop. I even got the final error of
N: Download is performed unsandboxed ...
0
votes
0
answers
88
views
How do I set the permissions of a samba share I mount via GNOME GUI?
When I mount a samba share on my NAS via the Gnome UI, it creates a folder named 'smb-share:server=192.168.1.1,share=data' in the /run/user/1000/gvfs folder.
The permission of this folder are ...
0
votes
0
answers
32
views
How to virtualize snapshot clone fast ubuntu iso files to test if bugs are gone? What is lightest container app?
How to virtualize snapshot clone fast ubuntu iso files to test if bugs are gone? What is lightest container app?
I want to fast load in ubuntu and windows an iso of ubuntu to test bugs. What is best ...
0
votes
0
answers
30
views
How to containerize system with files- to install apps in seperate space, so that app is not in system and removing container the apps would be gone?
How to containerize system with files- to install apps in seperate space, so that app is not in system and removing container the apps would be gone?
Snapshots or clones of system and then working in ...
1
vote
0
answers
50
views
How to use GRUB in a virtual machine
I'm creating an assembly in cubic. I configured grub so that the live version runs by default (without installation). When booting from a real computer, everything works as it should; when starting ...
0
votes
0
answers
41
views
WIN11 VM Does Not Start
I recently installed win11 vm using the method shown here https://ubuntu.com/tutorials/how-to-install-a-windows-11-vm-using-lxd#1-overview.
I finished the installation up to end of step 3 where ...
0
votes
0
answers
94
views
Unable to connect to my GPUs using the VM
The nvidia driver was working perfectly on my VMWare virtual machine, but suddenly and after some tensorflow and cuda installations, the driver failed to connect to the GPUs (I have two GPUs) , so I ...
0
votes
0
answers
138
views
Automating Creation of VM through python-libvirt and Providing SSH access
For a Project I am trying to automate the Process of generating Virtual Machines through libvirt using python-libvirt. Using the following dump.xml I create a VM.
dump.xml
<domain type="kvm&...
1
vote
1
answer
222
views
SSH into Virtual Machine thorugh another PC in the same network, Creating Bridge Network
I created a Virtual Machine using Virtual Machine Manager. I am using a Ubuntu OS(.iso) for the VM. After creating a VM it automatically assigns a IP to the VM. I can only SSH from the host Machine to ...
0
votes
0
answers
62
views
Vagrant error when running vagrant up
I am getting the following error when I run vagrant up. I'm using Ubuntu 23.04 running on VMware. The host computer is Windows.
ubuntu@ubuntu2304:~/DevOps/ansibleintro$ vagrant up
Bringing machine '...
0
votes
0
answers
373
views
How to Configure Virtual Display with Multiple Physical with Modesetting Ubuntu
I have 2 physical displays mirrored and then a VIRTUAL1 display as primary for remoting in with Teamviewer. This is necessary, so that the physical displays could maintain a browser screen full sized ...
0
votes
2
answers
549
views
How do I inhibit shortcuts for Virtual Machines
When I launched virt-manager in Ubuntu under GNOME I was presented with a dialogue:
Virtual Machine Manager wants to inhibit shortcuts.
You can restore shortcuts by pressing Super+Escape.
Deny? ...
0
votes
0
answers
51
views
VirtualBox icon not showing on launcher. Ubuntu 20.04.6 LTS
I googled it and asked ChatGPT but can't solve this.
The issue that I'm trying to fix is that I can't see the virtual machine icon when a VM is running. The VirtualBox icon is working, but the ...
0
votes
0
answers
93
views
How to control tagging with multiple VLAN in the same bridge using Netplan on Ubuntu 20
If I have 2 VLAN (10, and 20) on an Ethernet interface (say eno1), I can create 2 bridges and configure a VLAN in each. Any VM connecting to these Bridges (virtual interface eth0/eth1) receives ...
1
vote
0
answers
144
views
Mind-bogglingly slow disk read performance in KVM guest
I'm running Ubuntu Server 22.04.3 with all the latest updates. I've installed KVM and a guest with the same Ubuntu Server version. My problem is that the guest is crazy slow at reading a file. If I ...