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
vote
1answer
342 views

How to use sshfs and ssh from a linux virtual machine to access the linux host

I have an old linux software running occasionally in an Ubuntu 8.04 Virtualbox virtual machine inside my Debian 9 host. Can I ssh / sshfs from inside the VM to the host without being connected to an ...
1
vote
1answer
27 views

Linux multinode: new comp or virtual machine [closed]

I want to learn more about Linux networking and administration.Also, plan to install Cassandra database on multiple nodes.Should I buy new computer or just go for virtual machines?What are pros and ...
1
vote
0answers
99 views

macOS terminal -> ssh centOS with X Forward -> qemu Debian - keyboard/mouse are not behaving correctly

My situation: I am using a Macbook with High Sierra and it's default terminal application + XQuartz I am connected to the remote server running CentOS 7 that acts as a hypervisor I am trying to ...
0
votes
2answers
758 views

How to configure Virt-Manager to save snapshots to another server?

Hi I have installed KVM and Virt-Manager on three physical computers, and I'm thinking of using a fourth computer to save snapshots or copies of snapshots. Someone knows how to configure Virt-Manager,...
10
votes
1answer
2k views

Is a VM with 10 GB hardrive, 8 CPU's, and 4GB of RAM plausible?

I received an assignment to install Fedora 24-1.2 in VirtualBox with these specifications, and I'm running into issues that make me question how realistic this is. For one, I'm not even able to ...
3
votes
2answers
3k views

One prompt pkexec - two command

Someone could answer me how make one prompt via pkexec when I've to use two command with authentication? My easy sample script: pkexec virsh net-start default; pkexec "/home/user/program"; I'm new ...
0
votes
1answer
17 views

Configure WindowsOS host such that the given address leads to CentOS 7 virtual machine in VMWare

I have the following question: How to configure WindowsOS host (native OS) such that the address: 'local.myvirtualmachine.com' leads to CentOS 7 virtual machine in VMWare? Thanks in advance.
0
votes
1answer
106 views

Best way to share the resources of a powerful workstation across multiple users?

So I'll describe the set-up, then the exact requirements and then the list of options I have tried and then I'll ask if their's a better approach or the best option among the ones mentioned. So we ...
0
votes
1answer
17 views

custom partitioning failed for a centosVM

So I do have disk space for the vm available 40G. and I want to custom the partitioning in the following way: using LVM with a vol group = vg_root / -2GB /usr - 5GB /var -2GB /tmp- 1GB /opt - 1GB /...
1
vote
1answer
59 views

How to manage several kvm from one place?

good morning. I have rented 3 physical servers on which I have installed KVM and Virt-Manager. But it is not very practical for me to have to access each of the 3 servers by VNC to see how ...
4
votes
2answers
3k views

Why are my cloned linux VMs fighting for the same IP

I've cloned two vSphere VMs off of an Ubuntu 17.10 template. After boot, they both claim the same IP and fight for it (ssh connections break off as the IP switches between them). The hostnames and ...
1
vote
0answers
936 views

What's with the big over-committed memory for a kvm VM?

Is it normal for a kvm virtual machine to get more memory allocated? I'm afraid that when there is not much memory left the 'over-committed' memory can be an 'uncontrolled factor' that could cause a ...
1
vote
1answer
692 views

QEMU: How to disable guests access to public internet but preserve their access to local (samba) network drive?

I'm using QEMU/KVM for virtualization of various machines. For sharing files between the guest systems and the host system I run a Samba-server on the host which provides a network drive for the guest ...
1
vote
1answer
812 views

Samba: How to permit access to a shared folder only for QEMU-guests, but not for other users?

I am using QEMU/KVM for virtualization of various guest systems and Samba to provide an exchange folder (shared-folder) between the host-OS and the guest-OS. Now I want to protect this Samba-provided ...
0
votes
1answer
327 views

How to run a x86 based Linux on a ARM processor using virtualization technology?

I have a software which requires CentOS 6.5 (x86). I want to run this software on NXP LS2088ARDB reference board. Porting is becoming increasingly difficult and time consuming. I am thinking of ...
0
votes
1answer
496 views

OCI runtime create failed: systemd cgroup flag passed, but systemd support for managing cgroups is not available

On installing docker when I run the sudo docker run hello-world, I get the following error: docker: Error response from daemon: OCI runtime create failed: systemd cgroup flag passed, but systemd ...
2
votes
2answers
454 views

VirtualBox guest Win10 @ Linux host hangs big time at startup, how to troubleshoot?

I have a VirtualBox VM running Windows 10 on a Linux host. It used to work just fine, but this day when I started it it hangs big time. The VM’s window is just a black square, and also the host hangs ...
0
votes
1answer
906 views

Debian 9: How to set up Samba-Exchange between QEMU-Host and QEMU-Guest (Windows)?

I want to share a folder on my Debian-host with a Windows-guest. To run the necessary Samba-server I installed the following packages on my host: samba samba-client All I know right now is that I ...
0
votes
2answers
29 views

Virtual LANs in memory for several virtual machines on one host

Suppose I have host machine with no NIC. I would like to run several virtual machines on it and connect them with totally virtual LANs in between. I want many machines and many LANs. I would like to ...
1
vote
1answer
1k views

Why CentOS uses half of the memory for devtmpfs or tmpfs?

I recently upgraded a Virtual Machine from 12GB to 64GB and found that without any applications running, half of the memory was allocated. Since the upgrade, the VM load is chaotic and most of times ...
1
vote
2answers
44 views

Give application instances their own IPs? Extremely lightweight containerization?

About two years ago I received a note with a method, but I was not able to find the note or the method right now. Anyone know the easiest way to achieve this? J.E.B.
0
votes
1answer
264 views

Identify devices like virtio2 and virtio3 in QEmu

I'm running a virtual machine in QEmu. The following command in the guest VM cat /proc/interrupts | egrep 'virtio.*(input|output)' gives me the following output: 26: 0 3376 0 ...
3
votes
1answer
731 views

QEMU Guest using huge amounts of compressed memory on boot

Virt Manager configuration: Guest memory usage right after booting (nothing is running): I'm running virt-manager on a standard Ubuntu 17.10 system. In Proxmox, the same general configuration (with ...
1
vote
1answer
2k views

How can I manually trigger the virtio balloon driver on a guest?

I would like a certain Linux guest running in QEMU to release memory before the host is under memory pressure. How can I manually trigger the virtio balloon driver on a guest so that it releases as ...
3
votes
1answer
697 views

How to override a vm DNS servers?

I'm running a CentOS 7 Virtual machine and it's picking up the DNS nameservers from my Fedora 27 system via DHCP I believe. I am trying to change the DNS nameserver in /etc/resolv.conf to google name ...
1
vote
1answer
2k views

How can I increase my virtual memory

I am starting this question despite it seems like this question, but it isn't. I am getting different outputs from the commands as given in that question. Now I want to show you my scenario. From ...
1
vote
0answers
630 views

Proxmox VE doesn't want to login using WUI interface

I have access to the proxmox VE server with SSH. But the WUI refuses to login (usingLinux PAM standard authentication realm). It doesn't show any error but just the infinite loading state. What step ...
1
vote
1answer
3k views

Kali Linux installation - Kernel panic

I'm trying to install Kali Linux (2017.3 32-bit) on my VirtualBox (5.2.2) but when I select 'Install' from the menu, I get an error saying Kernel panic and bad EIP value. After that nothing happens. ...
0
votes
0answers
2k views

virt manager “The emulator may not have search permissions for the path”

I am trying to set up a VM on Fedora 27 but when I go to create one and pick an ISO I get the message The emulator may not have search permissions for the path '/path/to/fedora.iso' If I click yes ...
1
vote
1answer
1k views

VirtualBox - Dynamic virtual disk won't expand

I'm working on a 64-bit CentOS 7 VM on my Windows 10 host, and I have a dynamically-allocated VHD that is giving me problems. At first, the VHD's maximum size was set to 16GB, functionally about 14.4 ...
2
votes
1answer
1k views

What might cause the file system to go read only under vmware workstation?

I have been using various flavors of Linux (ubuntu, debian, and Kali) under VMware Workstation, running Windows 10 as the host, and have been experiencing the file systems of the guest OS's going "...
0
votes
1answer
2k views

How do you change KVM VNC port at runtime, from the command line?

Currently I have a virtual machine running, and I can see that with: # virsh list Id Name State ---------------------------------------------------- 1 vmname ...
1
vote
0answers
553 views

Passing USB controller to VFIO Virtual Machine

Im running a Windows 10 VM using qemu version 2.10.1 on kernel 4.14.1 with a GPU passed through. I can also pass through an Intel-based USB controller. So far so good. My Intel USB controller does ...
3
votes
1answer
225 views

Linux From Scratch Inside of an LXC Container

Is it possible to build ‘Linux From Scratch’ (LFS) inside of an LXC container, as opposed to creating a dedicated partition per the LFS instructions?
0
votes
1answer
524 views

virsh pool storage basics

How or where were these pools created? Where are configuration files? $ virsh pool-list --all Name State Autostart ------------------------------------------- default ...
1
vote
1answer
1k views

Why can't I see my internal network in VM?

I'm running a Lubuntu 16.04 (CLI) virtual machine with VirtualBox. I added a second network adapter with the following features: I then runt the following command on my terminal, to configure a DHCP ...
1
vote
2answers
3k views

How to install docker from apt on Ubuntu? [closed]

How do I start the docker service? thufir@doge:~$ thufir@doge:~$ sudo apt install docker Reading package lists... Done Building dependency tree Reading state information... Done docker is ...
2
votes
2answers
2k views

Gnome Boxes Boot From ISO After Installing An Operating System?

Trying to set up a couple of Arch Linux virtual machines for troubleshooting programs. One is having network issues so I'm trying to chroot into it and install Network Manager or Connman to fix it. ...
0
votes
2answers
2k views

remote virt-viewer on the command line?

Do I need to configure GRUB and make other alterations, or might there be some equivalent to virt-viewer which is strictly CLI? My thinking is that "whatever" virt-viewer is doing, through whatever "...
1
vote
2answers
981 views

virt-install --disk size=10 does what?

How can I get read/write permissions to browse the guest filesystem from the host? (Presumably it's only safe when the guest is shutdown.) Where is the default path, as below, for the guest ...
0
votes
1answer
346 views

Use KVM to run Asterisk on AWS?

How up to date and useful is AsteriskNOW? I ask because I'm having challenges installing Asterisk on Ubuntu with apt. On my local system I'm installing AsteriskNOW through KVM but am considering ...
2
votes
3answers
5k views

create a virtual machine from the CLI? (KVM)

How can I create a virtual machine from the CLI? Creating a Virtual Machine First, download an ISO cd image of some OS you want to run. For Ubuntu, you can find these at: http://www.ubuntu....
1
vote
1answer
54 views

Where does windows 8.1 virtual machine occupy disk space in linux

I want to have a Windows 8.1 32-bits virtual machine on my Ubuntu distribution. I'd mainly use it to play the videogame "Roblox". It seems like windows 8.1 would take around 12GB of disk space, plus ...
1
vote
1answer
388 views

Virtual network terminology: is a NATed or routed bridge an oxymoron?

According to p. 166 of Mastering KVM Virtualization by Chirammal et al (Packt, 2016), the "Virtual Networks" tab in Virt-Manager allows the creation of three kinds of virtual networks: NATed Routed ...
3
votes
2answers
447 views

Does two “virtual serial ports” exist in the virtual terminal implementation?

The following image represents how a physical terminal (for example: VT100) was connected to a computer running Unix (for example: PDP-11): Notice the components highlighted in blue, which shows that ...
0
votes
1answer
68 views

I want to switch to Linux [closed]

Ok, I work for a managed services provider. We manage 30 organizations, all who run Windows networks. I run a highly complex Windows network at home. I use a lot of bleeding edge Windows stuff. Years ...
1
vote
1answer
11k views

Why am I getting a “permission denied” trying to access a shared folder in Virtualbox?

I'm using VirtualBox and I'm trying to run a program (that I wrote in C on my host machine) on a guest machine using Lubuntu 16.04 in CLI. In order to do so I need to share the project folder with the ...
4
votes
1answer
12k views

VirtualBox VM cannot connect to internet through NAT

I am trying to figure out why my guest cannot connect to the internet while attached to the NAT network. I have provided some screenshots of the settings below. I am only having this issue on lubuntu. ...
1
vote
1answer
880 views

Default options for qemu-system-x86_64?

Giving the following commands which works fine and the OS starts normally qemu-system-x86_64 -m 2G --enable-kvm example-of-os.qcow2 Is there a way, a command or a file to consult, to know what ...
2
votes
1answer
497 views

Unable to port forward over virtual bridge to tap interface

I installed libvirt out of the box on Ubuntu 16.04, it creates a virbr0 virtual bridge, at 192.168.122.0/24, a dnsmasq instance to serve that range and sets up basic NAT masquerading. I created a tap ...