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.

learn more… | top users | synonyms

115
votes
16answers
26k views

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 distro is ...
32
votes
3answers
23k views

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 ...
29
votes
9answers
45k views

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 ...
27
votes
7answers
2k views

Easy way to determine virtualization technology

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, ...
24
votes
2answers
12k views

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 ...
12
votes
2answers
17k views

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 ...
11
votes
1answer
615 views

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?
10
votes
4answers
2k views

Good distro for a VM?

I want a lightweight Linux VM that I can run with VirtualBox on Windows so I can test how to deploy PHP apps, Mono apps, etc. I don't need the UI and was thinking of going with the Ubuntu server ISO. ...
10
votes
1answer
4k views

Using a LVM partition as a Virtualbox drive

Is it possible to use a LVM partition as a Virtualbox disk? I can't find any option to use a device as a Virtualbox disk, only disk images.
10
votes
3answers
2k views

What's causing VirtualBox OSE to hang my machine?

I'm using VirtualBox OSE and recently, when I run Ubuntu 10.10 on it, my machine tends to hang, forcing me to hard-reset it (not good). How do I start finding where the problem is? Here's the last ...
8
votes
3answers
383 views

Physically break into box? (Memory & disk)

I have a VPS. I might be able to encrypt my partition but I havent tried. My VPS company I believe can reset my root password although the only SSH key I see is my own. With all my data I have it ...
8
votes
4answers
2k views

Lightweight isolated linux environment

I want an isolated (guest) Linux environment on my computer that I can mess up without worrying about the host. E.g. install a lot of stuff from source without package management, pollute environment ...
8
votes
3answers
13k views

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 ...
7
votes
4answers
3k views

Convert image of a partition into image of a disk with partition table

I have an image of an existing partition generated with dd if=/dev/sdXN of=image.bin. Now I want to use this image as the basis for a virtual machine. I know how to convert the image into a format ...
7
votes
2answers
2k views

How can I install a 64bit Linux virtual machine on a 32bit Linux?

I've got a computer (Intel core i5) with 32bit Linux installed (ubuntu 11.04) and I would like to install a 64bit Linux virtual machine on it so I can test 64bit command-line applications on it.
7
votes
3answers
7k views

Which *nix distro is most lightweight for running virtual machines?

EDIT: This question was expanded to include other Unix-like distros such as Hurd and BSD. Before anyone wonders, I did read related questions and answers; I think I have a sufficiently unique ...
7
votes
2answers
18k views

CentOS on HyperV - eth0 not in ifconfig?

I've launched a CentOS install in HyperV and assigned a NIC the same way I've done on an Ubuntu VM, however, the device simply isn't picked up. Only my loopback is found by ifconfig. How should I go ...
6
votes
6answers
3k views

Install virtual machine as non-root?

Is it possible to install any virtual machine software as non-root user and run it ? Which VM's are possible to be installed with out need of root access ? If it is not possible what would be the ...
6
votes
3answers
203 views

Is it 'possible' to transfer a VM to the metal?

How can one take a VM and make it run on the machine?
6
votes
4answers
7k views

Booting the already installed Windows from the VirtualBox installed in Ubuntu

I want to boot the Windows which is installed in laptop's internal harddisk(/dev/sda1) from the VirtualBox installed in my Ubuntu. Can somebody tell me how to do this in VirtualBox.
6
votes
1answer
2k views

Linux - LXC; deploying images with tiniest possible X11

is it currently possible to setup LXC containers with X11 capabilities? I'm looking forward for the lightest available X11 container (memory-wise), hardware acceleration a plus but not essential. If ...
6
votes
1answer
2k views

Xen on openSUSE 11.4

I have done a few installs of openSUSE to use as a Xen dom0 and have not got it working yet. These are the steps I followed: Installed openSUSE 11.4 from Live KDE CD. Installed all updates via ...
5
votes
6answers
2k views

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 ...
5
votes
2answers
1k views

What are the differences between various VM software?

I have only ever used VirtualBox and I would like to know, for example, what could I be missing from other offerings. I have heard of KVM and VMWare and I'm sure there's others. Short of reading ...
5
votes
2answers
658 views

Xen/KVM/LXC for testing packages

On Debian Stable, I would like to be able to create a new instance of the OS, use apt-get to install some Unstable packages with dependencies, then cleanly delete the whole thing when I'm done. ...
5
votes
2answers
692 views

Good tutorial for setting up a KVM/Xen box and advice on which would be better

I've got a dual xeon, 2GB, 75GB hd server that I'd like to turn into my dedicated virtual environment. Currently I'm using VirtualBox locally to run a mock cluster for Cassandra and Nginx/Haproxy, ...
5
votes
1answer
2k views

LXC container network/routing issues

I have been experimenting with LXC virtualisation in order to run virtual machines on a dedicated server, but am having trouble setting up the networking properly. I am using veth bridged networking, ...
4
votes
3answers
433 views

Can libvirt check if virtual machine is fully booted? Can another tool?

I currently have small VM to do certain tests (it has multiple benefits - like testing on another distribution, Fedora 15, as well as running make distcheck without the problem of polluting /). ...
4
votes
4answers
282 views

Looking for small distro (to be installed automatically, with g++ and javac)

I'm looking for linux distro only with comand line and i need in it only g++,javac,python. I found Damn Small Linux but it dont have g++ and javac. It should have it out of the box because linux will ...
4
votes
2answers
298 views

Do I need acpid in a virtual machine?

I'm always wondering if power management facilities in a virtual machine is necessary? i.e acpid. And I'm not sure if they still function in a virtual machine.
4
votes
1answer
3k views

What are some alternatives to virtualbox

I have a lot of trouble lately installing on a box that i can't reboot or change the kernel. Is there any other package that supports gre tunnels (if the os supports ) that i can run on linux? ...
4
votes
2answers
355 views

Choosing virtual machine software on Linux

There are many virtual machine software out there. Even some are included into mainline Linux. What differentiates them, and what criteria should one ponder while choosing one?
4
votes
2answers
189 views

Strange encoding in Slackware

I am a student and learning about operating systems, I was modifying a file using vi, when I accidentally did something (I don't remember what) that change the codification/encoding and now this is ...
4
votes
2answers
346 views

Is there a convenient small Unix virtual machine I can install as an Android app?

Ubuntu for Android seems to be missing in action. I'm travelling tomorrow and I need to take a basic Linux machine with me. I'd rather just take my tablet than a laptop. So is there a reasonable ...
4
votes
1answer
494 views

Is PowerVM a full operating system? (And other clarifications.)

I have a few things that I was hoping someone with more experience could clarify in regards to using PowerVM (specifically to virtualise via LPARs AIX). So here is what I think I understand regarding ...
4
votes
1answer
707 views

Does quiesce exist for Linux?

Quiescing a file system allows you to make a backup of the database while it is still running and other programs and their data as well. The application generally needs to be notified of the quiesce ...
4
votes
1answer
279 views

Can you Chroot a program from an OpenVZ environment?

I just recently purchased a Virtual Private Server, and it is OpenVZ virtualization. I am setting up my LAMP stack, and in the past I have always just set up my BIND dns set up in a chrooted ...
4
votes
2answers
724 views

Mount windows Users directory as /home in linux virtual machine

I'm setting up a laptop for a friend and I'm going to put linux on it in a virtual machine and I want to make it as seamless as possible. I've mounted the \Users\Username directory in a VM before and ...
4
votes
1answer
1k views

Reading a filesystem from a whole disk image

I ran these commands: VBoxManage clonehd d6b9f0a5-98df-48ca-83c8-91a0809ec349 --format RAW Debian.raw sudo dd if=~/.VirtualBox/HardDisks/Debian.raw of=/dev/sda5 When I try to mount the partition, I ...
4
votes
1answer
925 views

How to force Debian to wait for DHCP

I am running Debian squeeze in a virtual machine (VirtualBox). The machine has two interfaces: eth0 in "Host-only" mode so that the machine is accessible from the outside; and eth1 in "NAT" mode so ...
4
votes
1answer
569 views

AES-NI not passed to guest in Virtualbox

I'm trying to use encryption inside a virtual machine. The problem is that the AES-NI doesn't seem to be passed to the guest virtual machine. I have Vt-x enabled. This is my host cpuinfo: processor ...
4
votes
1answer
791 views

No core dump on Ubuntu on a Parallels shared folder

I have an application that I'm working on, and I'm having trouble getting a core dump when it segfaults. In fact, I'm having trouble getting real core dump files at all. A simple test case will ...
4
votes
2answers
3k views

Windows 7 Dual Boot + Virtualization under Ubuntu 10.04?

Question: I currently have a dual boot: Win 7 x64 Pro & Ubuntu 10.04.1 x64. Is there a way to boot Win 7 as a virtual machine under Ubuntu without reinstalling anything, in addition to ...
4
votes
1answer
314 views

Convert Debian Live USB persistent filesystem to a standalone installation

How would I convert a persistent filesystem (live-rw) from a Debian Live USB to a standalone, bootable installation that can be run on a VM? What I've tried Chrooting and installing a bootloader ...
3
votes
2answers
490 views

disabling ssh session expiration

I am installed Ubuntu on Virtual Box, and use xshell (a remote terminal application) to ssh to ubuntu. when I hibernate computer during night, after powering it on, the session is expired and I should ...
3
votes
2answers
653 views

How to Add Extra Disks on KVM based VM

I installed Redhat 6.4 on KVM Server. Right Now there is only One Disk /dev/vda. Now I need to add extra Disk like /dev/vdb I tried adding New Volume but it is not showing when I do fdisk -l How to ...
3
votes
3answers
2k views

How secure is Ubuntu in Virtualbox on Windows host?

I have the most recent version of Ubuntu in Virtualbox on Windows 7 host. How secure will that be? I mean if I get malware on windows how will that affect the Ubuntu system I am working on?
3
votes
1answer
169 views

How to enlarge existing file to specific size

I have hdd.img file, which I user as HDD for my virtual machine, but it's size is too small, how can I enlarge it? There is one method, something like: dd if=/dev/zero ds=10GB count=8 >> ...
3
votes
2answers
198 views

Terminal-based (non GUI) virtual-computer program?

Are there any terminal-based (ie. non-GUI) virtual-computer programs out there? I've been using programs like VirtualBox and QEMU, but they're obviously GUI-based... I was hoping for a virtual PC ...
3
votes
3answers
3k views

VNC send Ctrl+Alt+F1-F6 to server

I've been trying to figure this out now for a while, I'm connecting to virtual machines through VNC, and by default you get a graphical or ncurses interface, and CTRL+ALT+F3 takes you to a console ...