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.
1,403
questions
0
votes
1answer
40 views
Flip-flop in shell
In Wikipedia there are two relevant articles about the term "Flip-flop":
Flip-flop (electronics)
Flip-flop (programming)
I think that there is a formal-logic common denominator between the ...
0
votes
0answers
7 views
Can't type key “i” in terminal FreeBsd 12 on VM Box host
So I'm loading a VM Box machine(using oracle VM VirtualBox) of FreeBsd12.vdi OS, the problem is with the password, it is "admin" and when i type 'i' letter it's displayed as "?" in ...
1
vote
1answer
1k views
Installing OVS with DPDK
I am trying to install OVS 2.4 with DPDK,
Here are the steps I have followed.
Install DPDK as
git clone http://dpdk.org/git/dpdk
cd dpdk
make config T=x86_64-default-linuxapp-gcc DESTDIR=dpdk-...
0
votes
0answers
8 views
Can I isolate/de-isolate CPU core dynamically in runtime without reboot?
Can I isolate and de-isolate CPU core dynamically in runtime without reboot(like isolcpus)? I want to change vCPU pinning of virtual machine, which is executing, using virsh vcpupin --live command, ...
1
vote
0answers
23 views
Virtualize RAID1 to proxmox virtual machine
I have standard physical machine which is Director for bacula. That means it just holds configurations and some data beside.
Is there any best practice for virtualizing physical machine to created ...
2
votes
2answers
2k views
How to enable an Ethernet interface at boot on CentOS 8?
I have a VM which is connected to a network with DHCP etc.
Whenever I boot the VM the virtual Ethernet connection is DOWN. I need to log in by console and run dhclient eth0 to enable it. Every time....
1
vote
1answer
59 views
Why does Alpine Linux write so much to disk during install?
I'm just getting my feet wet with Alpine Linux (v3.13.2) running as a VM. (On Hyper-V, but I don't think that should matter here.) I'm wondering why, after install, Alpine Linux appears to only use ...
1
vote
1answer
2k views
Arch linux ( kvm/qemu virtualization ) failed to open libiscsi.so.4
I have fallowed the steps from Arch Linux #KVM and #qemu
1) sudo pacman -S then installed libs
libvirt
libiscsi
libaio
qemu
qemu-arch-extra
qemu-block-iscsi
qemu-block-rbd
qemu-block-gluster
...
3
votes
0answers
16 views
Setting up a virtual server group with a bridged interface
I posted a specific problem with DHCP over virtual network components here, but it is quite specific and does not cover the larger problem I would like to address.
I have a physical server and want to ...
0
votes
0answers
27 views
Installing Parrot/Kali virtual machines on Ryzen processor (with Windows as my main OS) [closed]
I need to buy a laptop for creating a virtual machine and having Kali and/or Parrot OS on VM. My main OS will be Windows. This is for pentesting. So, are we good with buying a laptop with Ryzen ...
1
vote
1answer
87 views
virt-manager VM cannot access outside network when VPN is enabled
I am running CentOS7 as a VM on Virtual Machine Manager (virt-manager 2.2.1) on Ubuntu 20.04.1. On the same Ubuntu machine I am running AnyConnect 4.9.03047 to connect via VPN.
When the VPN is not ...
1
vote
0answers
14 views
Can't change netmask to other than /32 for a Debian virtual machine created on google cloud platform
I have created two virtual machines in google cloud platform both are on the same VPC 10.164.0.0/20.
One machine is configure with static IP 10.164.0.2, and the other machine is configure with static ...
1
vote
1answer
12 views
After cloning a VM with virt-clone, how do I rename the newly created qcow2 file?
I wanted to build another server based on an existing config, so I performed the following:
[user@box ~]# virt-clone --original serverA-rhel8 --name serverB-rhel8 --auto-clone
Allocating 'serverA-...
1
vote
1answer
2k views
Problem running vmPlayer on Fedora 21
After install the program and execute vmPlayer request the kernel headers to recompile it (I guess), after that vmP install the virtual network device, at this point show an error.
and the vmware-...
1
vote
0answers
358 views
How do I use xhost for linking the display of one virtual terminal device to another?
I am currently trying to make an autonomous drone using the Robot Operating System (ROS). To do this, I have installed Raspbian Lite (Jessie) on a Rasperry Pi 3 and am currently using ROS Kinetic on ...
0
votes
1answer
50 views
Unable to SSH into VM from Windows 10 (was working before)
I'm running a Ubuntu 14 VM in Oracle Virtual Box on my host Windows 10 machine for a university assignment which runs mininet. Everything was working well until one day I woke up and tried to ssh into ...
1
vote
1answer
47 views
fence_virtualbox failed to reboot
I’m learning how to fence pacemaker using fence_virtualbox from [ClusterLabs] Fence agent for VirtualBox, but I can’t get it working. When I try to run stonith_admin –-reboot <node id> it failed....
0
votes
1answer
2k views
My Kali Linux screen goes black after I login after installing virtual box guest additions
I installed Kali Linux 2020.2 in virtual box 6.1.12. I was trying to open Kali Linux in full screen on virtual box so I gave following commands in chronological order with root access --
apt-get ...
0
votes
1answer
26 views
KVM and brigde nic in Manjaro is not getting IP from OpenWRT router and DHCP server
I have just followed the steps in the answer of the following:
Does Virt-Manager GUI have a easy way to configure networking passthrough/bridge?
and everything seems to work.
But the virtual machine ...
0
votes
0answers
26 views
Cannot copy file from inside virtual machine/box to its HDD filesystem, sda
How to copy file from inside virtual machine/box to its host filesystem as it run bootable USB but cannot read /dev/sda?
gnomebox didn't have any:
Code:
# lsblk -f
NAME FSTYPE LABEL UUID ...
1
vote
1answer
54 views
Differences in networking between QEMU/KVM and VirtualBox
I noticed the following differences in the networking experience between QEMU/KVM (used through libvirt) and VirtualBox:
For anything else than usermode or manual networking, QEMU/KVM needs a virbr0 ...
1
vote
2answers
2k views
Is it possible to install Xen on a computer (processor supports virtualization) alongside Ubuntu and Windows?
The computer currently triple boots Ubuntu and a couple of Windows versions. Now I want to add Xen into the mix.
Would it work if I simply made a new partition for Xen, or does it need to take over ...
0
votes
0answers
15 views
RHEL ways to simulate or virtualize time
I am trying to get my machine to simulate or visualize time without changing system time so that I can run code under simulated/virtual time so that my timestamps are in the past and such.
I know ...
0
votes
0answers
16 views
Can't start any VM's in virtualbox on Windows host
Something is wrong with my VirtualBox. I had no problems of starting VM's yesterday and I have not changed anything on the host or settings on the VM's. But today when I start any of my VM's, I first ...
2
votes
2answers
2k views
Any better alternative to chroot on an OpenVZ VPS?
Are there any better alternative to chroot environment?
I'm thinking about running nginx on a jailed environment.
BTW, I'm on OpenVZ VPS, so modifying the Kernel is a no-no.
(I think that prevents ...
0
votes
0answers
18 views
Virtualization of Windows 10 on Ubuntu 20.04 Server (virtualized)
I'm running a virtualized Ubuntu 20.04 server and I'm trying to virtualize instances of Windows 10 via KVM/QEMU. My issue is that every other OS I've tried to virtualize on this server (Windows 7, ...
0
votes
1answer
23 views
Can you just “cp” copy and make a backup of a virtual disc image?
Basically the tittle.
I'm doing Linux From Scratch(LFS), I'm at the point of installing the system software. Before doing that, I want to have a backup of the virtual drive that I'm installing LFS ...
7
votes
1answer
21k views
Comparison between: Linux host Windows guest vs Windows host Linux guest vs 2 dedicated machines w/ KVM switch [closed]
I have the conflict that I do most of my work, software developing and data analysis, in Linux but there are a few applications I have to use which do not run well using Wine (specifically MS Word and ...
3
votes
2answers
891 views
How to clone physical system into a virtual machine?
I have a full system installed on my PC. (Arch Linux on a laptop)
I need to test, edit, tweak this system (bootloader too) in a safe way because it is my workstation.
Is there a way to easily** ...
3
votes
1answer
3k views
How do I assign static IPs for HOST, BRIDGE, and GUEST
I am learning networking by building a small virtual network within a CentOS host. I need some guidance at the highest level to start planning:
The Scenario:
A CentOS 7 HOST needs to have a ...
8
votes
3answers
15k views
How to get past “Loading Initial Ramdisk” hang after going from x86_64 to i686 cpu
Long story short, I have a Ubuntu 12.04 64-Bit Server setup as a virtual machine with VirtualBox (4.1.18). I migrated the guest machine from an AMD chipset (a gaming machine) to an Intel Xeon (server ...
7
votes
2answers
3k views
virNetSocketReadWire:1801 : End of file while reading data: Input/output error
Every time I start/stop a KVM, the libvirtd 3.0.0-4 throws the following error in syslog:
libvirtd[3145]: 2018-08-07 21:00:19.699+0000: 3145: \
error : qemuMonitorIO:710 : internal error: \
...
0
votes
1answer
20 views
KVM guests not able to ping each other
Ahoy friends.
Currently i am running my Fedora 30 host, using Cockpit and cockpit-virtual-machines in order to manage my machines.
I got my network interface enp35s0, and a vlan subinterface enp35s0....
6
votes
6answers
9k views
Share memory between a virtual machine and the host
Through shmget and shmat, I am able to access the data stored in one program from another program. Here's the gist of the code:
key=ftok("shared.c",'c');
shmid=shmget(key,1024,0644|IPC_CREAT);
data=...
0
votes
1answer
2k views
QEMU/KVM: USB3 passthrough to FreeBSD
I'm making my first steps in FreeBSD, so please excuse any possible "linuxism".
My goal is to run FreeBSD 10.2 inside virtual machine with QEMU/KVM and allow USB3 network card passthrough from the ...
0
votes
0answers
10 views
Black screens and logout on a Pureos virtual machine (Vmware)
I’m using PureOS on a virtual machine with Vmware Workstation 15 player. The installation seems to end properly but it actually stays in operation for a few minutes after which the screen becomes ...
0
votes
1answer
55 views
How to set up TAP to bridge Ethernet and emulator?
I'm looking to set up an emulator so that its emulated Ethernet interface acts like a real one connected to my LAN. For this example, I'm going to use the address 192.168.120.6 for the Linux host on ...
0
votes
0answers
17 views
An equivalent of Looking Glass where VM side runs Linux?
Looking Glass is an open source application that allows the use of a KVM configured with a passthrough GPU without an attached physical monitor, keyboard or mouse.
In Looking Glass terminology, the ...
0
votes
0answers
29 views
How to redirect a port to a virtual machine (ssh tunnel or ufw)?
On the server, I run an image to a virtual machine running Linux. To access the virtual machine, I first connect to the server:
ssh user@192.168.1.150
Then on the server I get to the virtual machine:
...
0
votes
1answer
38 views
How do I make it so that I can directly connect to the virtual machine from my computer? [closed]
From my computer I want to connect to a virtual machine that is running on a server:
my-pc --> (server --> vitual-machine)
First, I connect to the server:
ssh name@server
Only then do I ...
0
votes
1answer
19 views
Can't use virt-manager after removing firewalld
I accidentally ran a sudo apt remove firewalld, and now trying to use virt-manager to create a virtual machine shows the following message:
The name org.fedoraproject.FirewallD1 was not provided by ...
0
votes
1answer
20 views
Forward data from unix socket to cups printer
I'd like to print out of a VM (KVM/QEMU via virt-manager).
For the VM to host connection there is an emulated parallel port in the VM that should be connected to a Unix Socket.
I tried to create a ...
-1
votes
0answers
70 views
Debootstrap program exited with an error (return value 1)
While installing latest Kali 64bit on Virtual Box with all the recommended file partition settings, at Base Installation step, it showed this error:
Base System Installation error:
The debootstrap ...
1
vote
1answer
47 views
VIrtualbox: NS_ERROR_FAILURE
Hi guys i recently installed Virtualbox on my Windowsfx 10 laptop.
Before when i had Windows 10 on my laptop Virtualbox runned perfect. But since i did a fresh install of Windowsfx 10. And try to run ...
1
vote
2answers
2k views
Creating a port mirror on the open vswitch bridge
I have been trying to configure port mirror on Virtual bridge created using open vswitch.
I have created the following ports on Bridge demo_bridge using:
sudo ovs-vsctl add-port demo_bridge victim0
...
1
vote
1answer
2k views
Virtualbox: Using existing .vdi to create new machine to access old data?
I backed up my .vdi files of some Ubuntu VMs and wanted to restore to a new computer. I thought that by using existing vdi files, I would be able to create a new VM or import it somehow to recreate ...
0
votes
0answers
22 views
How to: qemu usb passthrough
I am trying to bypass my Iphone8 from CentOS7 to a Debian VM I have running on Virt Viewer. I can see the Ihpone8 in CentOS7.
Bus 003 Device 029: ID 05ac:12a8 Apple, Inc. iPhone 5/5C/5S/6/SE
When I ...
6
votes
2answers
16k views
How to send/upload a file from Host OS to guest OS in KVM?(not folder sharing)
I have to make a configuration file available to guest OS running on top of KVM hyper-visor.
I have already read about folder sharing options between host and guest in KVM with 'qemu' and 9P virtio ...
0
votes
1answer
18 views
2 guest VMs on the same host, remoting (via VNC/NoMachine) to each other
I have a very simple setup. Host is virt-manager running QEmu-KVM guests:
Host: Ubuntu 20.04 (basic install)
2 Guests: Ubuntu Mate 20.04 (basic install)
I have installed NoMachine (or VNC) on ...