Questions tagged [virtualbox]
VirtualBox is a platform-independent open-source virtualization software available for Linux, OS X, Solaris and Windows hosts. Guest additions need to be installed to automatically adjust the guest screen resolution. USB is supported through a proprietary extension.
5,579
questions
578
votes
13
answers
2.6m
views
How do I install Guest Additions in a VirtualBox VM?
I've recently installed Ubuntu on Oracle's Virtualbox. Now I want to install the guest additions.
I started up my Ubuntu guest OS, clicked "Devices" and chose "Install Guest Additions". Nothing ...
361
votes
15
answers
873k
views
How do I increase the hard disk size of the virtual machine?
I have run out of space on my WinXP virtual machine, which I only gave 10 GB space for when I created it. Is there an easy way to increase it to, say, 20 GB? I can't see any obvious option in ...
251
votes
10
answers
1.3m
views
How to access a shared folder in VirtualBox?
I followed the steps for sharing folders between Windows 7 and Ubuntu in VirtualBox.
Despite that the folder appears with a X sign and gives me the following message when a try to open it:
The ...
240
votes
9
answers
703k
views
Screen Resolution Problem with Ubuntu 14.04 and VirtualBox
Environment: Lenovo T530 running Windows 7. Have installed Ubuntu 14.04 on a virtual machine using VM Virtual Box. Have installed all the updates from both Virtual Box and Ubuntu.
Problem: While in ...
187
votes
30
answers
919k
views
Higher screen resolution in VirtualBox?
I've just installed Ubuntu 10.04 into VirtualBox on Windows 7.
Unfortunately the only options showing for screen resolution are 640x480 and 800x600 and the monitor is showing as 'Unknown'.
How ...
178
votes
7
answers
283k
views
Why does a Ubuntu guest in VirtualBox run very, very slowly?
I'm using currently Ubuntu 12.04 LTS as a host machine, and I've virtualized three machines:
a Xubuntu 12.04 guest
a Windows 7 guest
a Ubuntu 12.10 guest
All the guests have the same VirtualBox ...
170
votes
2
answers
522k
views
cannot change screen size from 640x480 after 14.04 installation on VirtualBox OSX [duplicate]
After installing Ubuntu 14.04 guest on VirtualBox running on a Max OSX host, I am stuck with 640x480 screen resolution. Adding guest additions again doesn't help. Previous Ubuntu installations are ...
166
votes
18
answers
493k
views
How to fix virtualbox's copy and paste to host-machine?
Sometimes while using VirtualBox, I have tried copying text from the virtual machine to the host machine but failed. Whenever that happens, I fix it by rebooting the virtual machine. Is there a ...
163
votes
9
answers
257k
views
Could not load 'vboxdrv' after upgrade to Ubuntu 16.04 (and I want to keep secure boot)
I upgrade from Ubuntu 15.10 to 16.04 and since then VirtualBox 5.0.18 isn't starting my VMs anymore. It complains that 'vboxdrv' isn't loaded. So I try to load it and get the following error:
$ sudo ...
155
votes
1
answer
434k
views
How do I install Ubuntu on a VirtualBox client from an ISO image?
I have the ISO image file (that is, *.iso) and I am trying to boot my VirtualBox installation with this image. Is it possible? I know how to mount my ISO image to my filesystem (on my host machine), ...
154
votes
11
answers
366k
views
How can I access Apache (on VirtualBox guest) from host?
I installed Apache on an Ubuntu VM. When I go into the guest and load up Firefox I can see that Apache is working fine when I browse to localhost.
I would like to access this same page through the ...
153
votes
9
answers
402k
views
Why has VirtualBox's menu disappeared?
How do I display the menu bar of VirtualBox?
Functions like cdrom, usb, etc need access to the menu bars to work.
149
votes
6
answers
537k
views
How to install VirtualBox from command line?
I am a newbie. For some reasons, I need to install Virtualbox. I see that I can easily install it using the Software Center, but I trust most the apt-get install way, because I find it safer, less ...
143
votes
4
answers
575k
views
Cannot install Ubuntu in VirtualBox due to "this kernel requires an x86-64 CPU, but only detects an i686 CPU, unable to boot" error
I was trying to install Ubuntu 12.04 in VirtualBox 4.2.12r84980. I see
this kernel requires an x86-64 CPU, but only detects an i686 CPU, unable to boot
But I am using a 64 bit Windows 8, and ...
141
votes
4
answers
180k
views
No Host only adapter selected
I have a problem with my virtualbox on ubuntu 12.04, I can't add a host only adapter, the message is "no host only network adapter selected" I can't select anything
can anyone solve this problem??
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 ...
133
votes
11
answers
543k
views
How to copy & paste from Ubuntu VirtualBox guest to Windows host?
I am running VirtualBox 4.1.4 on my Windows 7 laptop, running an Ubuntu 11.10 guest.
I would like to copy text from Ubuntu's terminal and paste it into a file on the Windows host. This doesn't work ...
129
votes
11
answers
237k
views
Mount a VirtualBox drive image (vdi)?
Is it possible to mount a VirtualBox drive image (.vdi) so the contents can be viewed in Nautilus etc.?
I have a windows 2000 .vdi which won't boot ("inaccessible boot device") after upgrading from ...
127
votes
5
answers
75k
views
Ubuntu 14.10 does not install in virtualbox
I'm currently running Windows 8.1 x64 (a problem in itself that I can't change sadly ;-P) with the latest version of VirtualBox (4.3.18 r96516). I managed to get the server version up and running with ...
121
votes
24
answers
419k
views
Virtualbox Kernel driver not installed [duplicate]
I tried to use my Virtual Box and this is the error I received - (I just updated to the new Ubuntu also) and I am VERY new at this Linux OS.
Kernel driver not installed (rc=-1908)
The ...
117
votes
17
answers
458k
views
Unable to Install Guest Additions CD Image on Virtual Box
Error when I clicked on Insert GuestAdditions CD Image from "Devices"
Unable to insert the virtual optical disk /Applications/VirtualBox.app/Contents/MacOS/VBoxGuestAdditions.iso into the machine ...
116
votes
6
answers
736k
views
How to install Ubuntu on VirtualBox?
I would like to know if anyone can help me with installing Ubuntu on VirtualBox
112
votes
6
answers
625k
views
How to completely remove virtualbox [duplicate]
I had installed VirtualBox but it started giving me problems.
So I uninstalled it using:-
sudo apt-get remove virtualbox-\*
sudo apt-get purge virtualbox-\*
But when I reinstalled VirtualBox it ...
106
votes
9
answers
434k
views
Why can't I access a shared folder from within my Virtualbox machine?
I have Ubuntu 14.04 as my host system, and then on Virtualbox, I have Lubuntu 14.04.
I am trying to share a folder on my host system so that my guest system can write files to it. I've followed ...
106
votes
11
answers
256k
views
How to mount a VirtualBox shared folder at startup?
I have Ubuntu installed in Virtualbox. I want to mount my VirtualBox shared folder in Ubuntu automatically when I log in Ubuntu. I put the following line in my ~./bashrc and ~/.bash_profile:
sudo ...
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 ...
102
votes
13
answers
733k
views
Is there a way to make a fullscreen on VirtualBox?
I tried many ways to make a bigger screen in VirtualBox because I do not like the small size of the guest window? Is there is a way to make it big?
100
votes
4
answers
250k
views
How do you resize the standard Ubuntu Desktop inside of Virtualbox?
So I've installed Ubuntu inside of Virtualbox, and I resized the window of Virtualbox to be full-size, but the Ubuntu Desktop stays the same standard size. How do I make the width of Ubuntu stretch ...
99
votes
4
answers
102k
views
In virtualbox fullscreen mode, can I disable or move the popup menu bar?
I'm running XP in virtualbox cause I need Photoshop and Illustrator. It works great on my 5 year old laptop which is stunning, but there's a minor annoyance when I go fullscreen.
The menu bar is in ...
99
votes
6
answers
663k
views
What does "No bootable medium found" mean in VirtualBox?
I have recently been trying to install VirtualBox, when this message came up:
No bootable medium found!
Can somebody please tell me what went wrong?
96
votes
7
answers
710k
views
No internet connection on Virtualbox (Windows 7 as guest, ubuntu 13.04 as host)
Internet works perfectly on host (Ubuntu 13.04, 32 bit, fully updated) but cannot connect to internet on guest Windows 7 (under Virtualbox 4.2).
Have tried NAT and Bridge Network - none worked.
I had ...
95
votes
17
answers
273k
views
Higher screen resolution for VirtualBox?
I have been trying this for a while but no luck. I installed ubuntu-11.10-desktop-i386 twice. Also installed guest additions. However I always get maximum screen resolution as, 1024 x 768.
Do I need ...
94
votes
10
answers
169k
views
VirtualBox - RTR3InitEx failed with rc=-1912 (rc=-1912)
I have installed VirtualBox Version 5.1.18 r114002 (Qt5.5.1) on Ubuntu 16.04 LTS. To virtualize everything (Kali, Windows 10).
I encounter the following error:
RTR3InitEx failed with rc=-1912 (rc=...
93
votes
8
answers
246k
views
How to boot from a USB drive in VirtualBox?
The question is simple and straight forward:
How to boot from an USB drive in VirtualBox?
EDIT:
I have attached usb to VirtualBox as shown in the screenshot.
But it is not possible to boot from an ...
90
votes
4
answers
170k
views
How can I tell if the VirtualBox guest additions were installed on an Ubuntu VM?
How can I tell if the guest additions are installed on a VirtualBox VM with no X Windows installed?
I'm having a problem mounting a shared directory and I'd like to rule out the possibility that the ...
89
votes
6
answers
279k
views
How to safely shutdown Guest OS in VirtualBox using command line
I have Ubuntu 10.10 and using VirtualBox 3.2. As a Guest OS I have another Ubuntu in the VirtualBox.
I am starting Guest Ubuntu automatically using following command once my Host Ubuntu boots:
...
88
votes
11
answers
244k
views
"Protocol error" mounting VirtualBox shared folders in an Ubuntu guest
I have Ubuntu 10 as the guest OS on a Windows 7 machine. I have been trying to setup shares through VirtualBox, but nothing is working. First, I create the share in VirtualBox and point it to a ...
84
votes
7
answers
77k
views
how to do ALT+ TAB for main system while in VBOX?
I have recently gone through this issue. I am running Lubuntu 13.04 in VirtualBox .So when I have maximized and if I would like switch to next window of main system usually we all do ALT+TAB but thats ...
82
votes
14
answers
236k
views
Error: kernel headers not found. (But they are in place)
I'm trying to install the Guest Additions in VirtualBox 4.04. Host OS is Ubuntu desktop 11.04 64bit, guest OS is Ubuntu server 11.10 64bit.
$ sudo ./VBoxLinuxAdditions.run
After some output this ...
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
8
answers
164k
views
Virtualbox not seeing any usb devices in the usb filters settings
I was following this question but found a problem.
Use my webcam with Ubuntu running in VirtualBox
I used guvcview to test the camera, it works. I installed the 12.04 virtualbox release from their ...
78
votes
4
answers
168k
views
How do I check virtualbox version from CLI
I am writing a Bash script to store the version number of Virtualbox, but cannot succeed.
My Script is:
#!/bin/bash
installed_virtualbox=$(virtualbox --version) # --version this is what I want to ...
78
votes
7
answers
219k
views
Terminal not opening on Ubuntu 22.04 on Virtual box 7.0.0
I'm using windows 10 and I installed Ubuntu 22.04 on Virtual box 7.0.0.
When I click the terminal icon, the upper left side of the screen(where is the executing application name view), there is the ...
76
votes
11
answers
121k
views
Shutting down all VirtualBox (vagrant) VMs in one easy to use bash command (that can be put into a bash file)
I use vagrant for development. I forget to shut down a few of the VMs. When I go to log out of my host machine, the Ubuntu shutdown process appears to hang.
Might there be a way to script a close of ...
76
votes
4
answers
280k
views
"This system is currently not set up to build kernel modules" when trying to install VirtualBox Guest Additions
I am having a problem trying to install the guest additions for my Ubuntu 18.04 and virtualbox 5.2.12.
I thought I did something wrong so I tried to install the additions from the CLI, unistalled and ...
76
votes
9
answers
115k
views
How can I increase disk size on a Vagrant VM?
I have a VM managed by Vagrant using VirtualBox on a Ubuntu host server. My Vagrant box uses the Puppetlabs Debian 6.0.7 basebox, which uses LVM for its root partition.
By default the disk is 8GB ...
76
votes
6
answers
192k
views
Ubuntu 14.04: very slow UI in Oracle VirtualBox
Short summary: 14.04 is much slower than 12.04 even with more RAM assigned.
I'm using latest VirtualBox 4.3.10 on Mavericks 10.9.2. How can I make it faster?
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 (...
74
votes
21
answers
177k
views
SMBus/ BIOS error while booting Ubuntu in VirtualBox
I am trying to boot Ubuntu 13.04 in VirtualBox, but every time I boot, I get an error that says:
SMBus base address uninitialized - upgrade BIOS or use force_addr=0xaddr
This happens right after I ...
74
votes
2
answers
145k
views
vboxdrv.sh: failed: modprobe vboxdrv failed. Please use 'dmesg' to find out why
I am having problems running VirtualBox on my Ubuntu laptop. My laptop is dual boot, and running (Windows 10 - I think, haven't used it in years), as well as Ubuntu 16.0.4 LTS.
I have secure boot ...