Questions tagged [virtualization]

Questions about Virtualizing Ubuntu or virtualizing other operating systems within Ubuntu.

Filter by
Sorted by
Tagged with
124
votes
5answers
198k views

Migrate from a virtual machine (VM) to a physical system

Aka: How can I convert a .vdi or .vmdk to a real installation on a physical disk? Is it possible/feasible to migrate a Virtual Machine installation of Ubuntu onto a physical machine? If possible, how ...
113
votes
9answers
323k views

How to set up USB for Virtualbox?

I'm using Ubuntu Maverick and Virtual Box 3+. I have Windows 7 Ultimate. The problem is that it doesn't detect USB drives in Windows 7, but USB peripherals (mouse + keybord) are working. I followed ...
98
votes
6answers
220k views

In VirtualBox, how do I set up host-only virtual machines that can access the Internet?

In setting up virtual machines with VirtualBox, I often want the following characteristics vm has a static ip host can access vm without port forwarding vm can access the internet I can move my ...
73
votes
10answers
202k views

VirtualBox '/etc/init.d/vboxdrv setup' issue

I have installed VirtualBox through the software centre, but when I try to start a VM, I get the following error: Kernel driver not installed (rc=-1908) The VirtualBox Linux kernel driver (...
69
votes
16answers
180k views

How to install Internet Explorer (multiple versions)?

I am developing one site which has chat feature in Rails. I am using Ubuntu 12.04 LTS. I need to check that the site is IE9 because the chat feature using socket io of HTML5. I want to know that how ...
61
votes
2answers
307k views

How do I enable hardware virtualization technology (VT-x) for use in Virtualbox?

So I am trying to run Ubuntu in a virtualbox but on installing 12.10 from the .iso I was greeted by a warning telling me that audio wouldn't work then I pressed next and this popped up: Failed to ...
59
votes
3answers
137k views

How to export and import VirtualBox VM images?

In VirtualBox you can create VM and it will store it on a folder inside the Default Machine Folder of VirtualBox. For instance, after create an ubuntu-headless VM it will create an ubuntu-headless ...
58
votes
9answers
204k views

Apache fails to start, Address already in use (but not really)

I'm trying to set up a VM running Ubuntu 12.04. I have two virtual hosts configured using port 80, but Apache will not start. I get this error: (98) Address already in use: make_sock: could ...
58
votes
5answers
128k views

Is there a free trusted virtual machine image with Ubuntu preinstalled?

Since the vmware virtual machine drivers are pretty standard I don't see any technical reason for a preinstalled image not to be portable. Although the above situation is obvious, I didn't find any ...
56
votes
10answers
138k views

How do I unmaximize full screen view in virt-manager?

After activating full screen view for a virtual machine in virt-manager there is no obvious way to un-full screen. Any ideas?
56
votes
4answers
202k views

“intel_rapl: no valid rapl domains” message upon boot

I install fresh Ubuntu 14. 04 server under ESXI 5.1.0. During my installation I did not get any erorrs or strange things. My problem is when I boot machine at console screen I get messages like [ 6....
56
votes
4answers
190k views

What is the virbr0 interface used for?

virbr0 Link encap:Ethernet HWaddr a2:17:ea:e3:47:7e inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0 UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 ...
50
votes
4answers
148k views

How do I install qemu?

How do I install the qemu command? I type qemu and press tab and I get a list of several binaries installed. qemu-alpha qemu-arm ... qemu-x86_64 but no qemu. I type man qemu and it returns the ...
46
votes
4answers
25k views

How can I run Unity in a virtual machine?

Originally it was the case that Unity could not run in tools like Virtualbox. How can I now do so?
43
votes
1answer
21k views

What are the differences between linux-generic, linux-server and linux-virtual kernel packages?

I'm getting new VMs built for development and staging environments, and was wondering whether there are compelling reasons for or against using the linux-virtual package on all of these images. Do ...
38
votes
9answers
25k views

How to run Windows XP inside Ubuntu

There are several programs only available on Windows. Wine can be a negative experience, so I want to run Windows inside Ubuntu using a virtual machine. It seems that Virtualbox is the standard way, ...
38
votes
5answers
194k views

How do I improve the performance of my VirtualBox guest?

I run a guest ubuntu 12.04 on a host ubuntu 12.04, with VirtualBox, and the guest is much, much slower than the host (ALT+TAB takes 4-5 secs). I had a look around and I found contradicting opinions on ...
37
votes
12answers
132k views

virt-manager can't connect to libvirt

I'm running Ubuntu 12.04.2 32 bits. The error doesn't show up if I start gksudo virt-manager. libvirt-bin is installed. I don't know how to check for the daemon. I am a member of libvirtd. Output ...
37
votes
3answers
48k views

What is LXC and how to get started?

I will appreciate if someone could introduce me to LXC and tell me how to get started with this technology? In which cases does it make sense to use, and in which should i stay away from it?
34
votes
2answers
136k views

How do I resolve slow and choppy performance in virtualbox?

Ubuntu runs very slowly inside of VirtualBox. How do I run Ubuntu with unity or enabled transparency smoothly with VirtualBox?
33
votes
2answers
65k views

Convert my physical Operating System to a VirtualBox Disk

Is it possible to convert a Physical Ubuntu Install (Intel based PC with Ubuntu 10.10) to a virtual box disk, so that I can use that same environment on a separate pc or can keep it virtual for ...
32
votes
2answers
59k views

What is the “/dev/xvda1” device?

When I type mount on the root of my Ubuntu system I get the output /dev/xvdal on / type ext4 (rw,noatime) I want to know what is the meaning of /dev/xvdal in this?
31
votes
5answers
58k views

VirtualBox kernel modules do not match the version of VirtualBox

The VirtualBox 4.2.12 on Ubuntu 12.04 was running fine till I needed to install guest additon. After its installation: Failed to open a session for the VM Win 7 exit code 1; RTR3Init failed with ...
29
votes
6answers
64k views

Enabling shared folders with open-vm-tools

I'm running Ubuntu 14.10 in VMware Player on Windows 7. I have installed open-vm-tools instead of VMware Tools because VMware's software was unable to compile the kernel module required for file ...
28
votes
2answers
49k views

How to enable nested virtualization in ubuntu

I would like to do some lib testing on my OS. So I need several environment to run KVM. And I found my guest machine was not able to run KVM. I was using virtualbox 4.2.
28
votes
1answer
128k views

What is IOMMU and will it improve my VM performance?

My Motherboard's chipset supports this feature IOMMU, i've read (but not really understand) that it improves the VM performance by letting the VM make use of the actual physical hardware instead of ...
28
votes
2answers
25k views

What's the difference between tun/tap vs bridge+vnet vs macvtap? (For virtualization KVM)

I've just found a lot of different ways to do KVM networking. But I'm stuck about what's the right way to do it. I discovered that openstack uses macvtap to do neutron networking. And it looks good. ...
27
votes
3answers
16k views

Is there an Ubuntu Touch emulator or a way to install it in a VM?

Is there any way to install Ubuntu Touch inside a virtual machine on a regular Ubuntu computer instead of on a phone or tablet? Or is there an emulator, like the one the Android SDK comes with?
26
votes
4answers
77k views

Deciding between virtual machine or dual-boot setup

I would like to set-up a PC to run ubuntu most of the time, but also need to run XP for specific applications and testing. In the past I would have simply set up a dual boot machine and then restart ...
25
votes
6answers
77k views

Ubuntu Hyper-V Guest Display Resolution

Good afternoon, I am trying to set up an Ubuntu guest on a Hyper-V server. I am relatively new to Linux so please bear with me, the VM is a test machine to get the hang of things and give Ubuntu a ...
25
votes
1answer
44k views

How to expand the ext4 primary partition size in a VMware Player virtual disk?

I have a VMware Player virtual machine setup, running Ubuntu 10.04 as the a guest OS. The VM was created on a 20GB virtual drive, with a single partition for working space. Finally I got to the point ...
25
votes
4answers
40k views

How do I mount a qcow2 disk image?

I have a QEMU virtual machine that uses a qcow2 disk image. How can I mount its filesystem without powering on the virtual machine?
24
votes
3answers
82k views

How do I install the VirtualBox version from Oracle to install an Extension Pack?

I downloaded VirtualBox OSE from the Ubuntu Software Center but it seems that that version is limited. I prefer to have the complete version and don't really care if it's closed source or not. Can I ...
23
votes
5answers
71k views

How to resize virtual machine disk?

Is there anyway to resize a virtual machine's disk? Say increasing the disk size from 32GB to 64GB. I am running KVM/Qemu on Ubuntu server 11.10 64bit. Thanks.
22
votes
8answers
112k views

Can't get 1920 x 1080 in Ubuntu via VMWare

I just installed Ubuntu and typed in sudo apt-get install open-vm-tools I can change my resolution to 1920 x 1200, but not 1920 x 1080. Any ideas? I've tried this, and this but no luck. The second ...
22
votes
6answers
798 views

What would be the most practical way for a web developer to develop on Ubuntu but test on IE [duplicate]

I work as web developer and have Firefox and Chrome installed on my Ubuntu system. However, most of the nightmares for web developers are getting things to work on Internet Explorer, mostly IE7 and ...
22
votes
2answers
18k views

What are practical advantages of using linux-image-virtual kernel?

Ubuntu provides an alternative kernel package - linux-image-virtual, that is supposed to be optimized for use in virtual machines. What are actual optimizations and how much faster/smaller/better is ...
21
votes
3answers
107k views

How to fix 3D Acceleration for Vmware Workstation 9?

I have recently installed Vmware workstation 9 on Ubuntu 12.04 & i have migrated my VM's from windows to Ubuntu 12.04 . Now i am getting openGL error & it says no 3D acceleration as shown in ...
21
votes
5answers
25k views

Extra mouse buttons not working in virtualization (VMware/VirtualBox, ubuntu host)

I'm trying to run VMware Workstation and/or VirtualBox on Ubuntu. The virtual machines are working perfectly in both applications, except for the extra mouse buttons (forward/backward). In Ubuntu the ...
20
votes
9answers
6k views

Methods to try out new OS releases without committing to it?

I want to try new OS releases as they arrive, such as Ubuntu 17.04 or Ubuntu 17.10 to see new features. I also like to look at Kubuntu, CentOS or other distros (Windows 11 when it arrives?) - or set ...
20
votes
3answers
77k views

How do I enable multiple cores in my virtual enviroment?

I've installed Ubuntu in a virtual environment using Oracle VM VirtualBox Manager and it works great. However I'd like to enable multiple cores - as seen in the image below my Windows machine has 2 ...
20
votes
1answer
7k views

Docker-CE or docker.io package

In my laptop I work mostly with LXD to have containers for development and manage LXD containers in production (integrated with Ansible). I have one requirement to use docker/docker-compose for ...
18
votes
2answers
27k views

How to make Guest OS follow symlinks from shared folder

I have Ubuntu Desktop as my main OS and Ubuntu Server as my Guest OS in VirtualBox 4.2.16. I created a shared folder called /shared and put in it several symlinks to different folders across my main ...
17
votes
4answers
21k views

What should i choose? LXC vs OpenVZ [closed]

As an alternative to Virtualizing several Ubuntu Servers im looking into the possibility of using containers. But I am not sure if I should go for OpenVZ or LXC. Can anyone recommend one of them, or ...
17
votes
2answers
21k views

How to configure MAAS to be able to boot virtual machines

I am running a virtual (kvm) MAAS/juju setup where most of the MAAS nodes (including MAAS master) are virtual, but some are also physical nodes. The physical Dell 1950 nodes configures automatically ...
17
votes
3answers
17k views

Guest system does not see the updated disk size in VirtualBox

In the last time on every start of my Ubuntu 14.04 VM I'm getting the message Low Disk Space This computer has only 314.8 MB disk space remaining. You may free up some space by emptying the ...
17
votes
4answers
63k views

Shared folder in VirtualBox (Ubuntu and Windows 7)

I want to have a directory which is accessible on both Windows 7 installed on Ubuntu host, and the Ubuntu as well. So I have installed the Virtualbox additions on both Windows and Ubuntu. Then in ...
17
votes
1answer
76k views

How to share a folder between KVM host and guest using virt-manager?

For some time now, I've been using virt-manager to manage my virtual machines. When I want to copy a file from the host to the vm, I have been using scp to copy via ssh over the network. This is kind ...
16
votes
3answers
11k views

Command to determine whether Ubuntu is running in a virtual machine?

Is there a command or tool that can be used to determine whether Ubuntu is running as a guest within a virtualization program such as VirtualBox or Qemu or whether it is running on the bare metal?
16
votes
3answers
19k views

How to Install the new Gnome Boxes?

How can I install the new virtual machine app Boxes (https://live.gnome.org/Boxes) in Ubuntu?