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.

7
votes
3answers
234 views

Firmware packages: What do they actually do?

On my CentOS, a yum update brings up the following: (6/38): iwl1000-firmware-39.31.5.1-62.el7_39.31.5.1-62.2.el7_5.noarch.drpm ...
1
vote
2answers
617 views

How can I get multiple virtual machines to communicate on the same network using VirtualBox and Ubuntu 16.04? [closed]

I am working to complete a cybersecurity lab (the lab is developed by SEEDLab out of Syracuse University) that simulates a local DNS attack. I am supposed to create three virtual machines in order to ...
2
votes
1answer
57 views

Install Windows XP in a virtual machine under Linux to circumvent driver problems

First of all, I'm not a computer scientist, so please don't be too harsh with me with respect to mistakes... I've got a spectrometer which communicates via Ethernet (IPX) with a computer. Now this ...
2
votes
1answer
1k views

Sysprep for Linux as a Windows alternative

I want to know if exists an alternative to Sysprep for Linux. I'm working on VM using VMware and I want to clone that machine to create new ones based on this template. And I want to try to make a VM ...
1
vote
1answer
244 views

Get real IP address Virtualbox for LDAP configuration

I'm planning to setup a LDAP configuration between two ubuntu virtual machines on my windows machine. So I installed two ubuntu 16.04 virtual machines on my windows machine using VirtualBox. Now I ...
0
votes
2answers
100 views

Routing multiple Virtual IP (192.168.11.X) to connect with test server (192.168.10.246)

We are trying to setup a test bed for our server testing, to simulate multiple connection / msg handling, I am trying to connect to our test server from a virtual IP. on the client machine (Debian) ...
1
vote
1answer
392 views

virtualbox: how to allocate memory from swap

My system has 4gb RAM. When I run a virtual machine I can allocate a maximum of 1gb. I have VirtualBox 5.1.34 installed from repository. In VirtualBox I have a Windows 7 machine. This machine keeps ...
4
votes
1answer
328 views

Where are UID/GID of a process from, when not from the process's cred pointer?

Circumstances I'm having a lecture on "Cloud Security" at University, and am currently doing a project on virtual machine introspection. Goal of my exercise was to escalate privileges of some ...
0
votes
1answer
170 views

centos 7.5 attempting to create vm using kickstart and get error cannot find /etc./iscsi/initiatorname.iscsi file

I'm using the command: sudo virt-install --name tester1.example.com --ram 2048 --disk path=/var/lib/libvirt/images/tester1.example.com.qcow2,format=qcow2,size=12 --location=ftp://192.168.1.88/pub/...
0
votes
0answers
278 views

Guest OS on VMware Player 14.1.2 doesn't recognize any network adapter or sound card

I installed VMware® Workstation 14 Player version 14.1.2 build-8497320 on openSUSE Leap 15 with kernel 4.12.14-lp150.12.4-default. I downloaded a 90-day official Windows 10 VM image and opened/...
0
votes
1answer
439 views

Check for VMX Unrestricted Guest IA-32e required by VMware Workstation 14?

Is there a way, without installing vmware, to check from within Linux for the presence of "VMX Unrestricted Guest" support which is a requirement for VMware Workstation 14?
5
votes
2answers
706 views

Send mails from one VM when postfix is on the other VM in the same server

I have a server with only one IP with three VMs running: http-proxy - IP 10.77.77.254 email - IP 10.77.77.101 services - IP 10.77.77.104 On the Host I select with iptables, which port goes to which ...
0
votes
2answers
289 views

Is it possible to open a natively installed os in qemu/kvm without passing the whole disk to the vm?

I dual-boot linux and windows. I want to be able to open my native installation of windows as a vm so I don't have to leave linux to do things such as updating windows. The way I have found to make ...
0
votes
2answers
207 views

What is the meaning of setting cpu affinity (e.g. SCHED_SETAFFINITY) on a virtual machine

There are ways to set affinities on processes / threads. For example, tell the OS to run on specific core only. Or tell a thread to run on specific core. What all that mean on a virtual machine, ...
1
vote
1answer
126 views

Asked for a passphrase for a passphrase-less private key when SSH'ing on a virtual machine

I'm having some issues SSH'ing to a server when logged into a particular VM. From my local PC, I can log in to the server just fine using the command ssh -i .ssh/[my private key] username@domain. If ...
2
votes
0answers
293 views

KVM Windows guest battery

I've installed KVM on a laptop with Debian 9. The guest is the latest Windows 10 (1803) with all updates and VirtIO drivers installed. The issue is : Windows doesn't know he's on a laptop. Then, I ...
2
votes
0answers
398 views

Rename qcow2 internal snapshots created with virsh snapshot-create-as

Background I have a QEMU/KVM virtual machine whose virtual disk is a qcow2 file. To create snapshots, I have been using sudo virsh snapshot-create-as <vm_name> <snapshot_name> and now I ...
2
votes
0answers
475 views

Parrot OS: “Failed to start Light Display Manager”

i have recently installed Parrot OS on virtualBox, the installation was successful but as the system started booting, it stopped showing "Failed to start Light Display Manager". here is the systemctl ...
3
votes
1answer
260 views

Scrolling impossible while moving mouse - Fedora 28 VM guest on Win10

I have been searching awhile before asking my question here, but still cannot find any answer. I have noticed that mouse scrolling is generally poorly handled on Linux (maybe just Gnome tho). I am ...
1
vote
0answers
62 views

Can't get outside of network Arch VM internal network Static IP [closed]

How do you get arch linux on a virtual machine using internal network with a static ip to connect outside of the network? I am having trouble connecting it outside of the internal network. I am able ...
1
vote
0answers
374 views

how to access mac files from ubuntu flash drive

So I'm running ubuntu from a thumb drive that's plugged into my Mac. I want to access some files from the Mac harddrive while I'm booted into ubuntu, but when I click on the MacOSX harddrive to locate ...
0
votes
1answer
1k views

change IPV6 to IPV4 in linux VMWare virtual box

I am using Linux over Windows using VMware VirtualBox and set the network settings as Host-Only Network but when I am doing ifonfig in Linux I am getting IPV6 and not IPV4. I want IPV4 of eth0. I have ...
0
votes
0answers
325 views

Change default qemu VNC port range

I have changed the default VNC port range inside the qemu configuration file like the following: remote_display_port_min = 59900 remote_display_port_max = 59920 So based on the above, when I have a '...
0
votes
1answer
116 views

Two HDD and one VM

I have two devices on my PC, i.e. /dev/sda (134GB used - 16GB available) and /dev/mapper/dataVG-dataLV (500GB used - 3.5TB available). VirtualBox is installed on /dev/sda, but I want to create a ...
2
votes
2answers
1k views

Which VirtualBox guest extensions to use in Ubuntu 18.04?

The VirtualBox manual states: [..] some Linux distributions already come with all or part of the VirtualBox Guest Additions. You may choose to keep the distribution's version of the Guest Additions ...
1
vote
0answers
99 views

Arch Linux VM install stuck on booting screen [closed]

I've been trying to install Arch Linux 2018.02.1 on Virtualbox. I've been following the Arch installation guide. My problem is that when I'm done with everything and I reboot and boot into existing ...
0
votes
1answer
10k views

Before you can run VMware several modules must be compiled

I am trying to run VMware on kali linux but when I try to run it show message that Before you can run VMware several modules must be compiled and loaded into the running kernel Here is log: 2018-04-...
2
votes
2answers
88 views

How can we easily revert the changes made by experiements with unfamiliar commands? [closed]

Sometimes I would like to experiment with some commands which I am unfamiliar with (e.g. xmodmap), and also have the ability to revert the changes very easily without knowing much about the commands ...
2
votes
1answer
66 views

What are the pracitcal (not technical) differences between the inside of a debian docker container and a debian VM?

I know that docker containers do not run their own kernel but share one with the host unlike a VM which runs it's own kernel but what is the practical differences between a debian docker image and a ...
1
vote
0answers
470 views

How to get the same network with QEMU than VirtualBox

I've 2 VMs Debian 9.4 : one working trough VirtualBox ; the other working trough QEMU. I configured a bridge on my workstation like this : ip tuntap add dev tap0 mode tap group 1000 ip link set dev ...
1
vote
0answers
434 views

What is the alternative option in KVM similar to “Linked Clone” in VirtualBox?

I am new to KVM, I was using VirtualBox for managing my VMs. I see there is a clone option available in KVM but it is taking more time to clone the VM with compare to VirtualBox. May I know are there ...
0
votes
1answer
2k views

virtual machine not accessible by putty or ssh (port 22: Connection refused)

I have installed ubuntu on VMware® Workstation 14 Player. I can see the ip with ifconfig: eth0 Link encap:Ethernet HWaddr 00:0c:29:65:af:66 inet addr:192.168.223.129 Bcast:192....
-1
votes
1answer
1k views

Virt-Manager can't execute any virtualization [duplicate]

When I try to finish creation of a new VM from an iso, I get this error: 'internal error: process exited while connecting to monitor: 2018-04-11T00:42:51.993762Z qemu-system-x86_64: can't apply ...
0
votes
1answer
2k views

Shared folder does not appear in guest CentOS (Windows host), using VMWare

I've been trying to share a folder between my guest, Cent OS, and host, Windows 10, using VMWare Workstation 14 Player. The easiest way, drag&dropping files from host to guest, does not work ...
1
vote
2answers
187 views

iptables and multiple nat redirections

I have about 20 VPS (running on a local IP) on my machine and I am redirecting certain ports using iptables on those VPS's like this with a script: iptables -t nat -A PREROUTING -p tcp -d %hostIP% --...
-1
votes
1answer
276 views

How start a script on startup automatically on PXE booting linux

I have a virtual machine that is PXE booted. How can I start a script to run as a background on startup without having to manually start it? I have tried the following things, and they do not work. ...
0
votes
1answer
188 views

use terminal to remove a 'Read Only' file / filesystem in Mac

I am currently in terminal in 'Diskutility' trying to remove everything from my HD including the Recovery Partition which is corrupted. I am using : rm -f System or rm -f Library as examples ...
-3
votes
1answer
1k views

Linux Kali on MS VirtualBox WIFI Not Working [duplicate]

So, I am new to using any type of linux OS. The first place I decided to start was with a virtual machine (MS VirtualBox) and run Kali Linux. The OS image downloaded perfectly, and so did MS ...
1
vote
2answers
469 views

How do I run an X server in a container on top of Wayland without the Xwayland overhead?

There's a similar question here but the scenario and objectives are different. The author cares about "just making it work", while I do also care about performance and efficiency. What I'm trying to ...
1
vote
1answer
1k views

'bridged' wifi for qemu kvm (ebtables / parprouted / etc)

I'm trying to set up a virtual machine with a Linux Mint 18.3 host and Win10 x64 guest. I need this VM accessible from my network. Unfortunately, snaking an Ethernet cable into my room is not an ...
0
votes
0answers
211 views

virsh net-define error: this function is not supported

I'm trying to create a simple network using the following xml: <network> <name>net-bridge</name> <forward mode="bridge"/> <bridge name="virbr0"/> </network> ...
1
vote
1answer
1k views

How to use QEMU remotely

I'm trying to use QEMU to install a virtual machine of Ubuntu 16.04 on my Ubuntu server. My server has no desktop and I work on it through ssh. So I need to be able to use QEMU remotely without ...
0
votes
0answers
324 views

How to use QEMU without desktop

I'm trying to simulate an Ubuntu system on my Ubuntu server. This is because I need to do something dangerous and I don't want to ruin my system. My Ubuntu server has no desktop, I just ssh on it ...
1
vote
0answers
476 views

How to create a docker config file

I need to create a docker config file so that I don't need to keep passing the reference to it via terminal with --config-file I have read here But following the advice I get: $ docker config ...
1
vote
1answer
3k views

Installing Kali Linux on VirtualBox, on boot it stops on a flashing display [duplicate]

This is my first time ever using a VM or installing Linux, so it could just be user error; but I've installed Kali on a VM using VirtualBox and have gotten to where tutorials are saying the system ...
0
votes
1answer
3k views

CPU mode 'custom' for x86_64 kvm domain on x86_64 host is not supported by hypervisor

I have the same issue as here, but the solution does not work to me. Every time I want to create or run a VM with virt-manager, I get the same message: Error al iniciar dominio: configuración no ...
1
vote
1answer
83 views

how to share a repository inside a chroot in a VM with visual studio on windows dev PC?

I have a windows development machine on which I have visual studio, and I have a debian stretch in a virtualbox VM, in which I have a chroot. I created a chroot to have armhf versions of libraries, ...
1
vote
1answer
710 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
2answers
2k views

Sharing folder in Virtualbox

I'm running Debian 9 as Host and I installed correctly Windows 7 as guest by using Oracle VirtualBox (v. 5.2.6); both the OSs work fine and I need to have a folder shared between those 2 operative ...
0
votes
1answer
139 views

volumes deleted from kvm, but not reflecting in guest vm

I assigned some volumes to my VM on kvm. Now I want to remove those volumes. I used virsh vol-delete command and deleted those volumes. Still from the guest side, can see those volumes!!!. lsblk, ...