Questions tagged [virtualization]
Questions about Virtualizing Ubuntu or virtualizing other operating systems within Ubuntu.
2,169
questions
333
votes
14
answers
695k
views
How do I check if a package is installed on my server?
I recently installed Ubuntu Server edition 13.10 (Saucy Salamander). But I have run into a bit of problem.
At the end of the installation, it asks about several extra packages whether you want them or ...
147
votes
5
answers
279k
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 ...
137
votes
10
answers
413k
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 ...
112
votes
19
answers
378k
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 ...
104
votes
7
answers
282k
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 ...
101
votes
12
answers
270k
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?
85
votes
5
answers
304k
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 ...
80
votes
3
answers
183k
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 ...
79
votes
12
answers
327k
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 ...
74
votes
10
answers
213k
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 (...
73
votes
16
answers
188k
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 ...
72
votes
2
answers
397k
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 ...
63
votes
4
answers
224k
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 ...
59
votes
5
answers
145k
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 ...
57
votes
4
answers
216k
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....
46
votes
4
answers
29k
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?
46
votes
5
answers
230k
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 ...
43
votes
2
answers
84k
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?
43
votes
1
answer
24k
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
10
answers
29k
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
3
answers
51k
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?
38
votes
2
answers
78k
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 ...
37
votes
6
answers
90k
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 ...
36
votes
2
answers
151k
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?
35
votes
4
answers
187k
views
Install Ubuntu Desktop 22.04 ARM64 on macOS Apple Silicon (M1/Pro/Max) in Parallels
There's no direct download of Ubuntu Desktop 22.04 for ARM64 yet, how do you install it?
35
votes
1
answer
190k
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 ...
33
votes
4
answers
107k
views
How to mount a virtual hard disk?
Is it possible to mount a virtual hard disk (VHD, HDD, VDI, VMDK) on Ubuntu? How can this be done?
32
votes
5
answers
63k
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 ...
32
votes
3
answers
67k
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.
32
votes
3
answers
38k
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.
...
30
votes
4
answers
38k
views
Is it possible to run Windows 10 UWP apps on Ubuntu?
Ubuntu is able to run traditional .exe applications with Wine. However, I do have some Universal Windows Platform (hereafter UWP) apps (installed by .appx and .msix) from the Windows Store that I ...
29
votes
4
answers
82k
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 ...
28
votes
4
answers
82k
views
Ubuntu Hyper-V Guest Display Resolution Win 10 + 15.04
I've got a Hyper-V on a WINDOWS 10 Surface and I'm using Ubuntu 15.04 as a guest OS. I've successfully resized the Ubuntu screen in a Hyper-V with Windows 8 and 14.04 using the recommendations found ...
28
votes
3
answers
18k
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?
28
votes
4
answers
54k
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?
27
votes
6
answers
91k
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 ...
27
votes
3
answers
103k
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 ...
26
votes
5
answers
81k
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.
26
votes
5
answers
42k
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 ...
25
votes
6
answers
57k
views
Certificate error when using Citrix Receiver
I am getting this error when attempting to load a Desktop module up within Citrix Receiver:
What I don't understand is I can see this particular certificate is set to "Trust.." under any/all ...
25
votes
8
answers
161k
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 ...
25
votes
1
answer
46k
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
2
answers
22k
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 ...
23
votes
6
answers
40k
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 trash.
...
23
votes
1
answer
12k
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 ...
23
votes
2
answers
94k
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 ...
22
votes
6
answers
841
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 ...
21
votes
2
answers
82k
views
How to get the GRUB using virtualbox?
I have ubuntu-12.04 on my virtualbox and I have two kernels in /boot (old and new). When I restart the vbox no grub appears to choose! and the result of cat /proc/cmdline still shows the old kernel is ...
21
votes
4
answers
102k
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 ...
21
votes
3
answers
112k
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 ...