2022 Developer Survey is open! Take survey.

Questions tagged [virtual-machine]

A virtual machine (VM) is a guest Operating System running in a completely isolated environment within a normal host operating system. Modern virtual machines are implemented with either software emulation or hardware virtualization or (in most cases) both together.

Filter by
Sorted by
Tagged with
0 votes
0 answers
10 views

Virt-Manager internal error: process exited while connecting to monitor

Arch Linux I created a qcow2 on the other drive using Virtual Manager. I'm trying to use another drive for my VM's, But When i try to create a new VM From an ISO i get: 'internal error: process ...
user avatar
0 votes
0 answers
22 views

VM hangs when mounting a (full) partition

First of all, I should say I'm a beginner regarding these matters, so please bear with me for a moment. Thank you. My company accidentally fill one RAIDZ partition (named sdb1) up to 100% of its ...
user avatar
  • 101
0 votes
1 answer
13 views

Virtual Machine Manager - Automate Repetitive Launch Steps

Each time I launch Virtual Machine Manager, I have to run this command before any virtual machines can be run successfully: sudo virsh net-start default On a Debian 11 desktop, how can I configure ...
user avatar
  • 4,315
0 votes
0 answers
12 views

Qubes Post-Install Problem

I already installed qubes it's booting to gui but i can't start any domain i keep getting this error. i have amd 5600x with amd-v enabled. i think it got something to do with csm being enabled which i ...
user avatar
0 votes
0 answers
15 views

Peripherals lag on KVM/QEMU

I've been using a virtual machine for a development environment and for gaming, but I can't troubleshoot why my keyboard lags a little bit while using a virtual machine every time I use the terminal ...
user avatar
0 votes
0 answers
14 views

How to attach new terminal with existing process and subprocesses?

I'm trying to us reptyr to reattach new cloud shell to an existing program running on an ubuntu virtual machine. when running sudo reptyr PID I get the following error: Process PID (sudo) shares PID's ...
user avatar
-3 votes
0 answers
32 views

How do I install leoxsys hg150n drivers on kali linux virtual box ? It's not showing the available networks and is showing device not ready [closed]

I am asking this as whenever I plug in wifi adaptor (leoxsys hg150n) it shows that the "device is not ready". It also doesn't show the nearby wifi Networks. I think it's showing this because ...
user avatar
1 vote
0 answers
51 views

Virt-manager "Unable to complete install: 'Requested operation is not valid: network 'default' is not active'"

I have just instaled virt-manager on Arch Linux, I've gone through all of the steps of creating a VM, but when I click on "Finish" on step 5/5 I get two pop-up dialogs: Unable to complete ...
user avatar
  • 11
0 votes
0 answers
7 views

Create bridged connection for VMs without losing host IP/Connectivity [duplicate]

I'm migrating my VM host from VMware to KVM. In VMware, a network bridge is available out of the box. In Linux, it is not. I created a bridge, but when I bound my physical interface to it I lost ...
user avatar
0 votes
1 answer
20 views

LVExtend can't find space on physical volume

I've been struggling for a while now to create more space in my VM, and I believe it's going wrong on the first step. I've increased the size of my physical volume, sda3; $ sudo lsblk NAME ...
user avatar
  • 3
0 votes
0 answers
23 views

Is it possible to install Virtual Box or other free virtual machines on a cluster?

We have a CentOS HPC cluster and despite asking, the admins do not like to give us root access. I have more experience with finding the packages I need in Ubuntu's apt and conda-forge etc. I am ...
user avatar
  • 101
0 votes
0 answers
10 views

Color management / profiles in a virtual machine under Linux

I have some photo editing software that I intend to run on a Windows VM, with the host being Ubuntu. I already read about color management for the Ubuntu OS itself and I think I managed to set up the ...
user avatar
0 votes
0 answers
13 views

How do I prevent Virt-Viewer from capturing keyboard shortcuts?

I am using debian 11, virt-manager and lxd to do virtualization. I need a way to prevent virt-viewer from capturing things like Super key, Ctrl+PrintScreen, the number pad, etc. I use a lot of ...
user avatar
2 votes
1 answer
49 views

How can I stop my Linux virtual machine from writing data to empty disk blocks?

I've got an Ubuntu 20 virtual machine running in qemu that uses a qcow2 disk file with another qcow2 disk file as backing store. The VM was built from a recent Canonical-distributed cloud image with ...
user avatar
0 votes
0 answers
22 views

cli extensions not visible to other rhel users

The following two commands install extensions to the azure cli in a RHEL8 VM: az extension add --name azure-devops az extension add --upgrade -n account The problem we have is that when these 2 ...
user avatar
  • 5,084
0 votes
0 answers
20 views

Traceroute in Linux VM showing only asterisks

I am trying to use the traceroute command in an Ubuntu Virtual Machine, but it shows only asterisks. I know that traceroute sends UDP packets and if I run it with the flag -I to send ICMP packets, it ...
user avatar
1 vote
0 answers
53 views

How does libpcap read network packets, and why can it not operate in some VMs?

I'm interested to learn how libpcap reads network packets, as I am finding it is not possible when running on AWS Lambda From what I can understand, you need either or both of the CAP_NET_ADMIN and ...
user avatar
  • 111
0 votes
0 answers
21 views

Minimal boot grub settings to run inside qemu

I am running terminal only (arch-linux) distro under Quemu on mine raspberry pi4 mostly as a shortcut to access some tools not available on aarch64 (tried to make mine own packages to port them, but ...
user avatar
  • 1
0 votes
1 answer
44 views

virtual machine manager gui "Please specify a valid OS variant"

When creating a VM, this error appears: "Please specify a valid OS variant" and I don't know why, it's coming from the OS type section, how do I fix this? Edit: i found a different way to ...
user avatar
0 votes
0 answers
30 views

How do I force reset (from the host) a VM started with qemu-system-x86_64?

I have a Windows VM that is stuck on the blue reset screen. Usually in this situation I just kill the process for the VM, but obviously that isn't ideal. It seems that they way to do this is through ...
user avatar
-1 votes
1 answer
107 views

base64: invalid input error when trying to decode contents of yaml file

What specific syntax must be changed in the bash below to successfully decode the base64 encoded value which is throwing the error below? THE ERROR: The following 3 simple commands are typed into the ...
user avatar
  • 5,084
1 vote
0 answers
12 views

How to API forwarding GPU acceleration with KVM GPU?

I am finding myself unable to fins some resources about how to use setup AF1 in a KVM Vitural Machine, Thus the question is how I would be able to setup AF GPU acceleration in a KVM (linux) virtual ...
user avatar
  • 21
0 votes
0 answers
14 views

How do I fix connection problem with my Kali virtual box?

I have a Kali VM running, the lecturer wanted us to connect it to three other VMs which we did, the Network settings he wanted us to use were "internal network, 'internet'" which I am using. ...
user avatar
-3 votes
1 answer
45 views

How to move files from windows into kali linux app [closed]

I want to move my openvpn setup from my computer into the kali linux that i downloaded from microsoft store. can people tell me how to do that? I only have terminal installed so there is no GUI, so i ...
user avatar
  • 1
2 votes
1 answer
76 views

Passing "Windows key" shortcuts in the guest VM to the host computer with virt-manager

I'm using KVM/QEMU on Ubuntu 22.04 and running Windows 10 as a guest VM. I am using virt-manager to connect to the VM. I would like all shortcuts that use the "Windows key" to be processed ...
user avatar
0 votes
0 answers
18 views

What are all the resources of an old VM I should consider when mirroring to the new VM? (description)

I am tasked with setting up a new VM that mirrors an old VM. The challenge is that I cannot use snapshots. I have listed packages from the old VM to install on the new. And I have ensured the OS ...
user avatar
  • 25
-1 votes
1 answer
35 views

Is it possible to run an existing Linux Mint installation on an SSD via a virtual machine on Windows?

I used to run Linux Mint and Windows 10 (on separate SATA SSDs) via dual-boot, but I recently got a new PC running Win10 on an M.2 SSD. The SSD containing the Linux Mint installation hasn't been ...
user avatar
0 votes
1 answer
40 views

Creating Ubuntu Server VM headlessly

On a Ubuntu Desktop host, how can I install and run Ubuntu Server guest completely headlessly using a terminal/vboxmanage? (this means no GUI at all, not even for the initial Ubuntu Server setup) I am ...
user avatar
-5 votes
1 answer
63 views

'/mnt/c$: No such file or directory' when running Kali with WSL [closed]

I'm running /mnt/c$ curl https://raw.githubusercontent.com/rapid7/metasploit-omnibus/master/config/templates/metasploit-framework-wrappers/msfupdate.erb > msfinstall && chmod 755 msfinstall ...
user avatar
0 votes
0 answers
32 views

Using -enable-kvm inside virtual machine

I have a virtual machine (Ubuntu 20) under VirtualBox (6.1.26). I am trying to run yet another vm inside ubuntu vm using qemu. It works, however, running qemu inside vm with -enable-kvm is almost 2 ...
user avatar
0 votes
1 answer
44 views

Can I add multiple users to qemu.config?

I am installing my first KVM/QEMU based virt manager. As per the instruction one needs to change the config file of qemu.config. sudo nano /etc/libvirt/qemu.conf I used vim to edit the file and added ...
user avatar
0 votes
0 answers
33 views

How to make use of QEMU virtio crypto device?

While trying to optimize the performance of my virtual machines, I stumbled upon a virtio device namely virtio-crypto-pci. With no tutorial and little documentations, I managed to use it as follow: [.....
user avatar
  • 445
0 votes
0 answers
46 views

GRUB password on KVM virtual machine

I'm trying to put my virtual machines in compliance with the SCAP Security Guides. There's a rule that requires GRUB to be password protected. After setting user and password for GRUB, my virtual ...
user avatar
0 votes
1 answer
31 views

When is a disk sync necessary on qcow2?

I'm running Apache on a VM with a qcow2 disk. Apache runs a (compiled C++) program which does the following: It calls system to run another (C++) program which creates a file It then attempts to ...
user avatar
  • 191
1 vote
1 answer
65 views

Can a malicious docker image running on GNOME-Boxes compromise the host?

I'm using GNOME-Boxes to run a Fedora 35 guest inside a Fedora 35 host. If I ran a docker container, using the --privileged flag (among others), what's the most harm it could cause? I read a malicious ...
user avatar
0 votes
1 answer
80 views

Can't increase Virtual Machine partition with GParted

I have a Ubuntu virtual machine on VirtualBox on a Windows host operating system. I want to increase the available disk space on the virtual machine. I tried following this guide but I can't make the ...
user avatar
  • 1
0 votes
0 answers
11 views

What are the issues that may be encountered in created vagrant boxes if I don't use the default virtualbox ip ranges for machines

I am working on Vagrant on my Ubuntu (20.04) and I learnt that the ip range allowed by default is 192.168.56.0/21 and that I can of course remove this restriction and use my own range. I am new to ...
user avatar
0 votes
0 answers
22 views

How do I extract a system image from a virtual machine without modern support?

I am working on trying to archive software from an old VMware virtual machine. Unfortunately, the only copy of the software is on a custom image vmware workstation v5.0 virtual machine, running centos ...
user avatar
-3 votes
2 answers
171 views

Can't install anything with apt-get on Kali

I tried running sudo apt-get install apktool and got: Reading package list... Done Reading dependency tree... Done Reading state information... Done E: Unable to locate package apktool I ran sudo apt-...
user avatar
0 votes
3 answers
78 views

Should I dual-boot Ubuntu and windows or use a VM?

I am interested in dual booting Ubuntu on my windows 11 machine. I would use Ubuntu for programming and general use. Which should i use?
user avatar
  • 1
0 votes
0 answers
39 views

Unable to install Ubuntu 20.04 on VirtualBox - screen doesn't show necessary buttons

I am using windows 10 with virtualbox to install Ubuntu 20.04 LTS. The problem is quite silly, but I can't conclude the installation because the "install" button isn't visible at all in the ...
user avatar
0 votes
0 answers
56 views

CentOS 8 Stream Virtual Machine Networking with Bridges VM's cant use default (gateway) dns servers

I have a physical server running CentOS 8 Stream. It has 2 network interfaces, eno1 and eno2. The eno1 interface is reserved for the main server; eno2 is set up as a bridge for VMs. I'm using Virtual ...
user avatar
  • 101
0 votes
0 answers
263 views

virt-manager: Remove mouse integration

Host: Debian Bullseye Guest: Windows XP virt-manager: 3.2.0 Hypervisor: KVM Emulator: /usr/bin/qemu-system-x86_64 I am trying to play an old Windows game in a virtual machine (because it won't work on ...
user avatar
1 vote
0 answers
26 views

Lightweight VM For GNU/Linux to Host Windows Similar To Windows Subsystem For Linux

WSL2 is a stripped down VM for GNU/Linux and as such it has a very low overhead (comparatively at least... and when Vmmem RAM usage is under control). I have been wondering if a similar, headless ...
user avatar
0 votes
0 answers
48 views

Redirect trafic to host toward an internal VM with nftables does not works

My issue is the following : On an ubuntu 20 host . i got some multipass hypervisor and VMs, that i want to be able to reach from the outside. physical host : eth1 192.168.10.33/16 vm : mpqemubr0 10....
user avatar
  • 1
0 votes
1 answer
24 views

How to extend safely a VPS installed in Centos 7?

I have a VPS running on Centos 7 and I have upgraded my VPS account from one with 20 GB of disk space to another with 40 GB, but they don't support extending the partition to the current bigger one. ...
user avatar
  • 1
0 votes
0 answers
27 views

After cloning a Linux installation to storage with different sector size, and after re-installing Grub, Grub doesn't find partitions upon startup

I have a Debian buster system based on ZFS which runs a VM with Debian bullseye. The VM is backed by a ZVOL with a block size of 8192 bytes. On the host: root@server02 ~ # fdisk -l /dev/rpool02/vm-...
user avatar
  • 2,191
1 vote
1 answer
118 views

Enabling KVM without BIOS setup

I'm running Debian 11 LXDE in an old notebook and during the boot I'm receiving the following message: root@debian:~# dmesg | grep -i kvm [ 20.501228] kvm: disabled by bios [ 20.541824] kvm: ...
user avatar
0 votes
0 answers
49 views

Using Docker inside VirtualBox (preferably via Vagrant / Vagrantfile)

How to make VM with Virtualbox (preferably with Vagrantfile), that allows running Dockerfile inside? (architecture: x86-64) Objective: I would like to benefit from VirtualBox VM isolation (for safety),...
user avatar
0 votes
1 answer
48 views

Unable to ping DNS server from Guest OS using IPv6

I am able to ping DNS server(2001:4860:4860::8888) from my host machine(Windows) using IPv6, but I am unable to ping DNS server(2001:4860:4860::8888) from my virtual machine(Windows) using IPv6. The ...
user avatar

1
2 3 4 5
31