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.
Questions tagged [virtual-machine]
1468 questions
217
votes
17 answers
Any reason NOT to run Linux in a VM all the time?
I've switched to using Arch Linux for most of my day to day work and don't need Windows for anything but gaming and the couple of apps that aren't ported to Linux like OneNote. My Linux distribution is hosted in VirtualBox with Windows as host, and…
Alexandr Kurilin
- 2,481
- 2
- 16
- 13
140
votes
10 answers
File permission issues with shared folders under Virtual Box (Ubuntu Guest, Windows Host)
I am using Ubuntu on Virtual Box and I have a folder which is shared between the host (Windows) and the VM (Ubuntu). When I open any file in the share folder in Ubuntu, I can not change it as its owner is set to root.
How can I change the ownership…
user654019
- 2,277
- 4
- 21
- 20
135
votes
17 answers
Easy way to determine the virtualization technology of a Linux machine?
I have command line access to a Linux machine which may or may not be virtualized. I want to determine what kind of virtualization technology it runs on, if any (VMWare, VirtualBox, KVM, OpenVZ, Xen, ). This isn't a hostile environment: I'm not…
Gilles 'SO- stop being evil'
- 807,993
- 194
- 1,674
- 2,175
102
votes
7 answers
Does LVM impact performance?
I have to migrate a few servers to Linux, and one important aspect that I need to evaluate is that my new host system must have elastic storage capacity. Naturally, doing some basic research, I came across LVM.
Is there any performance penalty for…
Pablo
- 2,485
- 6
- 27
- 23
78
votes
3 answers
How do I run 32-bit programs on a 64-bit Debian/Ubuntu?
I have a 64-bit (amd64 a.k.a. x86_64) Debian or Ubuntu installation. I need to run 32-bit (i386/i686) programs occasionally, or to compile programs for a 32-bit system. How can I do this with a minimum of fuss?
Bonus: what if I want to run or test…
Gilles 'SO- stop being evil'
- 807,993
- 194
- 1,674
- 2,175
63
votes
12 answers
Find out if the OS is running in a virtual environment
Is there any way to find out if the OS I'm running (actually installing) is running in a VMWare machine. I need to disable ntp settings if the automated install is done on a virtual machine but keep them enabled if installing on bare metal.
ulve
- 959
- 1
- 7
- 9
62
votes
6 answers
VirtualBox: two network interfaces (NAT and host-only ones) in a Debian guest on Ubuntu
I created a Debian VM on VirtualBox with two interfaces: a NAT one (for accessing internet) and a host-only one. However, I do not know how to make both interfaces work at the same time. If I the define the host-only as the adapter 1, I can access…
brandizzi
- 2,814
- 3
- 21
- 29
54
votes
4 answers
How to install VirtualBox Guest Additions in a Debian virtual machine
I have been struggling to install VirtualBox Guest Additions in a Debian Virtual Machine (Debian 7, Debian 8 and Debian 9).
ximbal
- 1,952
- 2
- 16
- 19
54
votes
11 answers
How to automatically start and shut down VirtualBox machines?
I need to run a software system that is intended to be installed as an appliance on a dedicated machine. In order to save energy, I plan to run the system on a VirtualBox VM instead.
The host is a standard Linux box with a SysV-Init system, the…
jstarek
- 1,672
- 2
- 16
- 32
53
votes
3 answers
VirtualBox: Is it a bad idea to assign more virtual CPU cores than number of physical CPU cores
VirtualBox: As I have Hyper-Threading capable CPU, I wonder:
Is it a bad idea to assign more virtual CPU cores than a number of physical CPU cores as the following warning suggests (simply using all 8 virtual cores of 4 physical core CPU for…
Vlastimil Burián
- 27,586
- 56
- 179
- 309
43
votes
1 answer
Booting a raw disk image in QEMU
I have a disk image file from here; that page says I can boot this image with QEMU and the following command:
$ qemu-system-x86_64 -m 4096 -ctrl-grab -no-reboot x86-64.img
That gives a message:
WARNING: Image format was not specified for…
cat
- 3,428
- 4
- 22
- 50
43
votes
5 answers
Can't resize a partition using resize2fs
I recently resized the hard drive of a VM from 150 GB to 500 GB in VMWare ESXi. After doing this, I used Gparted to effectively resize the partition of this image. Now all I have to do is to resize the file system, since it still shows the old value…
user1301428
- 967
- 3
- 11
- 24
41
votes
4 answers
virt-manager copy paste functionality to the vm
Anyone know how to get Virtual Manager to install copy-paste functionality to the Virtual Machine?
FutuToad
- 703
- 2
- 11
- 21
37
votes
2 answers
What do the processes inside a Docker container look like?
I've heard confusion come up several times recently around what a Docker container is, and more specifically what's going on inside, with respect to commands & processes that I invoke while inside a Docker container.
Can someone please provide a…
slm
- 363,520
- 117
- 767
- 871
30
votes
3 answers
how to send CTRL-ALT-Fn to virtual box guest Linux?
This should be a simple question:
Host OS: Arch Linux
Guest OS: Arch Linux (GNOME)
How can I send Ctrl+Alt+F1 to my Guest Linux OS?
Kent
- 738
- 1
- 5
- 8