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 (1)

11
votes
4answers
6k 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 ...
2
votes
2answers
17k views

Cannot connect to my Virtual Box Ubuntu system

I have a VirtualBox running an Ubuntu OS. I'd like to access this Ubuntu machine using ssh or telnet. In order to do that I've performed the following steps: sudo apt-get install telnetd sudo ...
1
vote
2answers
2k views

Different domains for multiple VM's on host with one WAN IP

I've got only one WAN IP address bound to KVM host system and multiple VM's with internal IP's, say, 10.0.0.1/28. On the other hand I have multiple domain names bound to host system WAN IP. The ...
2
votes
1answer
538 views

Running a query without the OS cache

I want to emulate a client site who doesn't have much caching because they have so much I/O all the time. I want to run a SQL query on my machine (on my VM to be precise) with the same limitations ...
2
votes
1answer
573 views

How can I run `hackxor` inside VirtualBox?

I've found hacking game hackxor, but it's made for vmware. I don't have any experience with vmware and I don't want to install it in my machine. So I'd like to run hackxor inside VirtualBox if it ...
2
votes
2answers
429 views

What to do when ubuntu-vm-builder completed?

I already have the VM (Xen based) installed, but the Xen config used specified "Linux kernel" as "None". The exact command line was: ubuntu-vm-builder xen precise -v --debug --addpkg openssh-server ...
2
votes
3answers
340 views

Is there such thing as a “free” equivalent to Microsoft Virtual Server?

As the title says, is there? I'm a student, I'd love to play around with this technology without the fear of my licence disappearing the day I graduate from college (as it might with the Microsoft ...
3
votes
1answer
5k views

My VirtualBox Virtual Machine doesn't detect my USB attached disk

I'm using the latest version of both Virtual Box (4.1) and CentOS (6.2). I would like my Western Digital USB drive to be recognized by my VirtualBox guest operating system. My host system, Windows ...
149
votes
16answers
55k 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 ...
0
votes
0answers
754 views

Slow Internet Speeds with Backtrack5 R2 in VMware Workstation

I have been trying to get Backtrack5 to run smoothly on my new laptop and have run into a few issues. I have installed a version of Backtrack5 onto another laptop previously as the primary OS, and ...
1
vote
1answer
738 views

Difference between Oracle VM and Citrix XEN?

I`ve been testing Oracle-VM this day. Is there anyone out there who has tested both XEN-based solutions? What are the main differences?
1
vote
1answer
2k views

How to increase Xen guest CPU utilization?

My Xen dom0 is a Gentoo x64 pvops. I boot my guest Gentoo, in PV mode, system with the same kernel my dom0 uses. When I emerge in the guest system, building a CPP package, I am experiencing low CPU ...
4
votes
1answer
785 views

Xen domU fails to start with kernel panic

My dom0 is Gento 3.3.2, the kernel is compiled with Xen support. And I am planing to use the same kernel to boot my domU. This is my domU configuration file: 1 vif = [ 'bridge=xenbr0' ] 2 vcpus ...
3
votes
1answer
8k views

VirtualBox guest using Bridged networking unable to obtain DHCP address

I have a computer, called Loki, that works as a virtual machine host and DHCP server. The DHCP daemon is listening on port eth0. Part of /etc/dhcp.conf: subnet 192.168.13.0 netmask 255.255.255.0 { ...
14
votes
3answers
29k 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 ...
2
votes
1answer
3k views

PCI passthrough without VT-d

My CPU is Intel T9300, it supports VT-x, but it does not support VT-d. I am using Xen pvops virtualization. I have a PCI device, and my host system can work without it. So I am thinking if it is ...
2
votes
1answer
2k views

How to convert Windows 7 partitions to qcow2?

I know I can use qemu-img tool to convert a raw partition into a image file. But Windows 7 has two partitions. I tried: qemu-img convert /dev/sda1 /dev/sda2 win7.qcow2 But the generated file does ...
4
votes
2answers
953 views

VM benchmark tools?

I would like to benchmark of few XEN-constallations: PV DomU HVM DomU with PV network and disk drivers HVM DomU with emulated IDE and PV network The base will be the same VM with the same ...
1
vote
2answers
5k views

Partitioning for Web Servers

I was curious what some general best practices are in relation to partitioning for a new Linux VM that will be used as a web server? Are there certain guides that should be consulted or followed? ...
10
votes
1answer
13k views

Do VirtualBox or VMWare use the Intel VT-d feature?

I'm thinking about a new laptop, which has Intel VT support, but recently I discovered a feature other than Intel® Virtualization Technology (VT-x), which is Intel® Virtualization Technology for ...
3
votes
3answers
7k 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 ...
4
votes
2answers
11k views

How to find VM OS installation media file in the Proxmox Web Interface?

I have installed Proxmox and wanted to create a VM by using the Proxmox web interface GUI (now the version is 2.0-38/af81df02) However I have problem to find my Guest VM OS installation CD/DVD ISO ...
1
vote
0answers
737 views

Debian VPS, no loop devices present, modprobe fails

After acquiring a new virtual Debian squeeze I ran into a problem regarding loop devices. My plan was to set up an encrypted FS in a regular file and mount it. Unfortunately I can't do that since ...
14
votes
7answers
15k views

Should LVM partitions be used in virtual machine images?

Should LVM be used for the partitions when creating VM images (e.g., KVM images)? It seems like it adds complexity if you want to, say, mount a qcow2 image in the host if the image has LVM partitions. ...
1
vote
1answer
881 views

Any better alternative to chroot on an OpenVZ VPS?

Are there any better alternative to chroot environment? I'm thinking about running nginx on a jailed environment. BTW, I'm on OpenVZ VPS, so modifying the Kernel is a no-no. (I think that prevents ...
2
votes
1answer
206 views

Destroying KVM first try virtual machine

I'm trying to understand how KVM works, working on ubuntu 10.04 server. I created one with sudo ubuntu-vm-builder kvm lucid --arch 'amd64' --mem '512' --rootsize '10248' --swapsize '1024' ...
3
votes
1answer
2k views

Virtual unix command-line environment on the iPad

Is there a lightweight virtualized Linux or other unix environment that I can run on the iPad? Like VirtualBox for iPad. I only really need a minimal system — something along the lines of Microcore ...
3
votes
3answers
745 views

Command line friendly virtual machine

I've been using Virtualbox for a while now, but the only way I've learned to interact with it is through the graphical interface. Is there a way for me to send bash commands to the vm through the ...
2
votes
1answer
483 views

How to extend an ext3 partition over LVM inside a file (virtual machine)?

I need to extend the root partition of a virtual machine (VM) using LVM (Logical Volume Manager). I can afford a few minutes of downtime so a VM shutdown/reboot is fine. The virtual hard disk is in ...
8
votes
4answers
11k 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.
12
votes
4answers
4k 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 ...
5
votes
3answers
737 views

Problem with mount namespaces under Fedora

I've run into an odd problem regarding mount namespaces on Linux. I have two systems, both X86_64 running kernel 3.2.3-2 under Fedora 16. I am attempting to mount a tmpfs filesystem in a child ...
0
votes
0answers
33 views

How to access the data stored in guest operating system(i.e Virtual machine) from Host system [duplicate]

Possible Duplicate: Share memory between a virtual machine and the host I wanted to access the data stored in virtual machine from my host machine. I know that each VirtualMachine will have ...
3
votes
4answers
2k views

Share memory between a virtual machine and the host

Through shmget and shmat, I am able to access the data stored in one program from another program. Here's the gist of the code: key=ftok("shared.c",'c'); shmid=shmget(key,1024,0644|IPC_CREAT); ...
5
votes
6answers
318 views

How can I be sure that my server is not virtualised?

How can I make sure that my Linux server is running on a non-virtualised real box? This is the scenario I am thinking of: I install some distro on a rack-mounted server, I rent some rack space on ...
8
votes
2answers
4k views

Fast X for LXC guest on localhost?

How can I run X apps inside an LXC container efficiently? ssh -Y guest is too slow - there is no graphics acceleration with ssh -Y - everything has to travel over the virtual network with the ...
2
votes
1answer
382 views

Virtual machines on different X servers

Is it a good idea to run virtual machine on a different X server? I can switch between them using Ctrl + Alt + Fx shortcuts. If my default X server hangs/crashes, I can still continue to work with the ...
2
votes
2answers
2k views

strange logs in /var/log/messages

My /var/log/messages contain lots of messages like this: Jan 22 05:45:05 vm kernel: hdc: drive_cmd: status=0x41 { DriveReady Error } Jan 22 05:45:05 vm kernel: hdc: drive_cmd: error=0x04 { ...
36
votes
10answers
71k 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 ...
2
votes
1answer
89 views

Access times for different partitions on same hard disk

I have partitions, /dev/sda1 and /dev/sda2. / is mounted on /dev/sda1, while all other data is on sda2 which has more size allocated to it. I want to save the virtual machine images (VirtualBox ...
8
votes
1answer
729 views

Lightweight virtualization on Linux with user isolation

What Linux-on-Linux virtualization technologies provide user isolation? Specifically, I want root in the virtual machine not to have any privilege on the host. This was not the case for LXC, but was ...
5
votes
8answers
3k views

WebGUI for Virtualization?

Are there any virtualizations that can be accessed via a WebGUI too? I mean the administration part is enough on a terminal, but we need a virtualization/webgui solution for "customers". So that ...
2
votes
1answer
5k views

How to check if VT-X is enabled in BIOS?

How to check if VT-X is enabled in BIOS? I have vmx in CPU flags, and no access to the BIOS. (I need to install a KVM VM on RedHat Enterprise Linux 6.1).
0
votes
2answers
176 views

A reliable and free way to use Linux on Windows, multiprocessor and x86_64

I need a reliable and free virtual machine to run Linux on Windows, multiprocessor and x86_64. I need a good environment to compile and run ffmpeg and libvpx. I have used Mint Debian under Virtual ...
7
votes
3answers
11k views

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

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

Unable to boot VM: Error 13: Invalid or Unsupported Executable Format

I used VMWare vConverter and everything converted fine, but when I try to boot I get an error: The physical machine boots correctly, so I don't think it is a source machine issue. I am not sure why ...
3
votes
1answer
1k views

Limit process resource consumption in CentOS 5 (2.6.18 kernel)

I would like to limit the resource (CPU, Memory, and network bandwidth) consumption of processes on the same server. And it will be good if I can migrate processes from one server to another. I ...
2
votes
1answer
701 views

Do I need hardware support for KVM for virtio paravirtualisation

Unfortunately I need to run virtual system on the machine without hardware support for visualisation. From kvm page I read that kvm is needed however it is not mentioned whether they mean the kernel ...
4
votes
1answer
6k views

CentOS doesn't know what the internet is

So I've done my share of investigating this problem... I just recently created a CentOS 6 VM on my LinuxMint box using VirtualBox. I left all the recommended values the same upon creation (8GB HDD, ...
2
votes
0answers
150 views

VirtualBox appliance import locks up system

I have a Windows Vista x64 appliance that I am trying to import into the Open Source Edition of VirtualBox on Linux Mint 11 x86-64. The ovf file is 21.3 GB in size. The problem I am having is that ...