Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
0answers
48 views

Warning Kvm is Not Available

I am getting this warning message while creating a new VM. below packages are already installed. qemu-kvm-1.5.3-160.el7.x86_64 qemu-img-1.5.3-160.el7.x86_64 Host system Centos 7 lsmod | grep kvm ...
1
vote
0answers
13 views

QEMU crashed while trying to boot up i.MX6q device kernel

When tried to boot up Kernel uImage of an i.MX6q based embedded device, it seems that QEMU crashes with "Unable to handle kernel NULL pointer dereference at virtual address 00000044". Before crashing ...
0
votes
0answers
25 views

Script to create virtual machine [closed]

How can I create a script to automate the creation of a virtual machine and install packages on that machine(eg. Zabbix modules)? Do I really need an ubuntu disk image to create a virtual machine or ...
0
votes
0answers
10 views

Allow Guest Users to Edit Network, While Denying Access to Other Folders

I've deployed an in-house web service application onto an airgapped hypervisor hosting a RHEL server guest. The guest RHEL has undergone basic OS hardening. All interactions are web-based, so under ...
0
votes
0answers
22 views

Script to create virtual machine and install packages on that machine [closed]

How can I create a virtual machine in ubuntu and install some modules on that machine(like Zabbix)? It's a must that I need the image when I create the machine?
-2
votes
0answers
11 views

Implementing system to assign IP addresses on three different Networks on Oracle Virtual Machine? [closed]

How do I implement this? DHCP? Do I need more than 1 VM or do I create it off different machines?
0
votes
1answer
34 views

Use /30 netmask in Debian with bridged adapter in VirtualBox

I have Debian 9.6 installed in VirtualBox with bridged adapter. My question is, how to config my interfaces to have /30 netmask? I tried a lot a different things but I can't connect my host to the VM ...
-1
votes
0answers
26 views

VBoxManage from GUI to headless?

I typically start VM in virtualbox as "headless" machines by issuing this command in a Terminal window on Fedora 28: VBoxManage startvm "VM-name" --type headless but in a hurry I sometimes type... ...
-2
votes
0answers
36 views

Running macchanger in Kali Linux VM Disables Network Connection [duplicate]

Below is my version of kali which is a vm running on VBox 5.2.22: Linux kali 4.18.0-kali2-amd64 #1 SMP Debian 4.18.10-2kali1 (2018-10-09) x86_64 GNU/Linux Linux kali 4.18.0-kali2-amd64 #1 SMP Debian ...
0
votes
1answer
22 views

Linux fails to boot on VirtualBox with 2 CPUs

I made a Linux Ubuntu 16.04 VDI image on VirtualBox on an Intel i7 machine (4 CPUs), with a set of tools inside. Then I copied that VDI to an old machine (Core 2 duo - 2 CPUs), I created the VM using ...
2
votes
1answer
25 views

Error creating VM using VBoxManage

I'm followng Oracles instructions on how to create and manage a vm through VB's CLI. when I run VBoxManage createvm --name Debian_64 --ostype Debian_64 --register I get the following error ...
-1
votes
0answers
34 views

defragging ntfs on ext4?

so i run a pcie passthrough vm for windows gamin, and i keep all my games in a 1tb ntfs .img file on a 2tb ext4 formatted drive. i understand ext4 automatically defrags to the best of its ability ...
1
vote
0answers
21 views

How to manage users and passwords in LXC containers?

Example Container created (no matter if Ubuntu or Debian, the problem is the same) and running. New non-privileged user created inside the container (# useradd -m newUser -p newPass108). It is ...
1
vote
0answers
35 views

QEMU - Ubuntu Guest on Ubuntu Host - Install works, reboot doesn't

I have successfully installed QEMU to do VGA passthrough. I can get the guest to read the Ubuntu ISO and it will find the img drive I have allocated with fallocate -l 100G /VMs/VMs/video_gpu.img ...
0
votes
0answers
46 views

Dual boot and VirtualBox

I want to have access to a Linux OS on my Windows host. For that I want to get a 256 GB SSD only for that purpose. I know I can either have: a dual boot solution – but I cannot run both OS at the ...
2
votes
1answer
38 views

How to convert root filesystem to virtual disk format (img, vmdk or vdi)?

I unpacked the contents of a Mageia 6 ISO image, including a Linux root file system in it, and I've updated the root file system by chrooting into it and running dnf update. I also installed a few ...
1
vote
0answers
26 views

Do not access linux host to windows kvm guest [closed]

I installed manjaro linux.Now in manjaro i want run windows 10 guest so in order by using QEMU/KVM and according this site i installed windows 10 on my linux. My linux host ip is: 2:enp5s0: <...
2
votes
1answer
62 views

High cpu steal on Core 0 of KVM

In one of my KVM setups I am seeing high CPU stealing for Core 0 of both the guests. I have gone through saveral web results related to cpu steal but no were core steal is explained. If I take ...
1
vote
2answers
27 views

When using cloud-init, what order are the users created in?

I am using cloud-init to initialize a RHEL Atomic Host VM. I have the following as my user-data file: #cloud-config groups: - ourgroup users: - name: muser primary_group: ourgroup ...
1
vote
1answer
44 views

Will starting a virtual machine created by virtualbox immediately reserve physical RAM assigned to it?

When creating a virtual machine and then installing Android or Windows or other OS on top of it, if I assign 4GB to the virtual machine, will starting the virtual machine immediately reserve 4GB ...
0
votes
0answers
47 views

QEMU: How to set up SSH File Exchange (SFTP) between Linux Host and Windows Guest?

Assumed I run a isolated virtual network bridge without public internet access (based on this solution): How can I set up a SFTP file exchange (e.g. via WinSCP) between guest machine and host machine ...
0
votes
1answer
63 views

apk tool gives permission denied

I get this error message running alpine linux in a docker container hosted by Ubuntu 18.04 in Vagrant with its host in turn being Windows 10 behind a proxy. I have set the proxy variables but still ...
1
vote
0answers
51 views

Unable to boot a compiled kernel [closed]

I am working on a project where I have start of by adding some system calls to a kernel (Linux 3.13.11 to be particular), after adding the calls and writing their prototype in the correct locations ...
0
votes
0answers
47 views

No write permissions in shared folders KVM

I shared a folder from my host to guest using this guide https://www.linux-kvm.org/page/9p_virtio In example they are using old GUI version and now you cant set Type Passthrough and Squash. You need ...
0
votes
1answer
25 views

why hostnamectl shows virtualization regardless no guest additions installed?

I'm running a very basic debian 9 OS inside Virtualbox, I haven't installed any paravirtualization | guest additions, regardless that I get Virtualization: oracle. Why? isn't it supposed the OS should ...
1
vote
2answers
68 views

Virtual machine software [closed]

I am looking for a recommendation for virtualization software for IBM P5 series (ppc 64). I have Fedora 23 installed and just want to run 2-3 virtual machines but as I understood, given specific ...
0
votes
0answers
22 views

KVM/Virt-Manager: PCIe Passthrough passes 1 device with 2 functions in host as 2 devices in guest

I'm in Ubuntu 16.04.4. I have a single PCIe card/device with two physical functions. I can assign both functions separately via the GUI and they show up as two different devices in the guest. The ...
0
votes
0answers
11 views

Restrict QNAP's Virtualization Station access

On QNAP's Virtualization Station it is possible to logon to any virtual machine with only the admin password and username even with 2FA enabled. On all systems I logon with a ssh using private keys ...
0
votes
0answers
14 views

Silence monitor for xfreerdp and VM

I'm accessing a server remotely through xfreerdp to run some processes there. From time to time, some issues happen, and I need to handle it manually before restarting the processes. But it is ...
2
votes
1answer
217 views

Performance of Linux Apps on Chrome OS [closed]

The support for linux applications makes Chrome OS very interesting to me. But I would like to know more about their actual performance. Apparently, the applications are executed in KVM. The google ...
1
vote
3answers
81 views

QEMU: Enable SFTP file exchange (guest ⇆ host) but prohibit guests access to public internet?

Assumed I run a Windows guest in a QEMU virtual machine on a Debian host. Hereby the Debian host is a common desktop computer with internet access. How can I set up a SFTP file exchange between guest ...
0
votes
1answer
29 views

Remote SSH connection with autostart virtual environment

I need to make such possibility for remote users. Remote user connects via SSH to my server. Then after connecting server runs some script that open virtual machine environment for this user. It is ...
0
votes
1answer
147 views

How to install latest virt-manager in Debian?

I'm using Debian stable and in debian stable virt-manager version is 1.4.0, but I need to use version 1.5.1 because 1.4.0 has one bug. I went to https://virt-manager.org/download/ and downloaded ...
0
votes
0answers
18 views

How to show dir sizes for a shared dir on a VM

I'm using an Ubuntu VM using Parallels for Mac. When I run du -d1 in /media/psf/share (which is the shared dir from the Mac host), everything shows as 0. Is there a way to have du return the actual ...
1
vote
0answers
38 views

KVM : Add extra memory from the host's swap

I am running a KVM virtual machine on a host that has 6 Gb of memory and around 15 Gb of swap, so the max of the memory that i can add to the guest is < 6 Gb. I am wondering, is there a way to add ...
5
votes
1answer
252 views

Building and running a ARM system image with QEMU?

I am trying to set-up a full system image for ARM (armhf, armel or even aarch64) based on Debian that can be run with QEMU. Unfortunately, all the examples that I found on the Web start the image by ...
3
votes
0answers
82 views

FreeBSD/OVS equivalent of ESXi vSwitch VLAN config

I'm trying out FreeBSD with bhyve hypervisor and trying to replicate VMware ESXi vSwitch config in FreeBSD so that pfSense VM gets network traffic properly. VLANs: 111 = LAN, 192.168.101.0/24 333 = ...
3
votes
0answers
70 views

KVM passthrough in virtual machine more than 3 usb devices

I have a question, how can i passthrough in virtual machine more than 3 usb devices? I have a usb hub and i cannot passthrough in virtual machine more than 3 usb device. My usb device connect to usb ...
0
votes
1answer
83 views

openstack modify libvirt xml configuration

I am experimenting some options and trying to ad following option in openstack running instance. <driver name='vhost' queues='5' rx_queue_size='512' tx_queue_size='512'/> I did following steps ...
1
vote
1answer
36 views

How to make dhcpd recognize a new interface without restart

I'm working on automatizated virtualization but currently i'm stuck with setting up the DHCP server. The problem is, every time i create a virtual machine, i have to restart the daemon to register the ...
0
votes
1answer
47 views

Looking for OpenVZ replacement in Debian 9 - I need to test software with 1000+ virtual hosts

I came from the past, where OpenVZ could be used to create 1024 virtual hosts with diffrent IP addresses by using with pretty simple script written in 10 minutes. I just realized, that OpenVZ is ...
0
votes
0answers
47 views

du disk usage and apparent size huge difference (Terabytes vs Kilobytes)

I know that when using du utility, disk usage is bigger than apparent size because of the blocks that are not fully used. But here there is something else. On a particular folder, du without apparent-...
0
votes
0answers
23 views

Can I only commit from part data of active image to corresponding range of its backing files by qemu cmd?

split data to 3 chunks and save it in 3 independent backing files like below: img.000 <-- img.001 <-- img.002 img.000 is the backing file of img.001 and 001 is the backing file of 002. img....
0
votes
2answers
176 views

Virtual Machine Manager can't be launched after upgrade to Ubuntu 18.04

After upgrading from Ubuntu 16.04 LTS to Ubuntu 18.04 LTS, I can no more start Virtual Machine Manager. It was running okay when I was using Ubuntu 16.04 and I didn't face any problems but after the ...
0
votes
2answers
56 views

How can the output of `uname` change in a VM after a physical server was patched?

My Zabbix monitoring system told me that the uname output has changed on a virtual server (Host information was changed on ...). The ISP has shut down the entire server in order to perform some ...
0
votes
0answers
27 views

Auto Login to a VM

I want to set up a Login environment, so that when someone logs into my computer, it drops them in their own VM. The question. I have a machine that I have, That I am the only one that I want to ...
0
votes
0answers
14 views

Resizing OpenNebula images?

I have a working OpenNebula installation on Debian Stretch, and I'm using the Sunstone web interface. I have a persistent base image that I typically clone to create new VMs. However, the image's size ...
0
votes
1answer
217 views

Ubuntu VirtualBox stuck before login screen

Alright so I've had this happen in the past, and I just ended up giving up and installing a new virtual machine. I'm new to this, so I'm hoping I've just made a simple mistake. I have a Ubuntu ...
0
votes
0answers
24 views

chroot vs. schroot for running a script on an external hard drive

In short, if I have an external hard drive mounted under another Linux OS, and I want to run a script on that hard drive, will it be better if I use chroot or schroot? The longer story... I have a ...
1
vote
1answer
28 views

Setting up VM login instead of Local login [closed]

I had a question earlier, it is tied into this, that one was looking for the proper procedure, this one is looking how to implement. If you need a backstory refer to My first question I have a local ...