Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [virtualbox]

An x86 virtualization software package developed by Oracle (which bought Sun, which bought Innotek).

211
votes
17answers
124k 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 distribution ...
132
votes
6answers
367k views

Trying to SSH to local VM Ubuntu with Putty

I have set up a VM of Ubuntu server, have installed OpenSSH, and am now trying to connect to it using Putty. Within Putty, under "Host name", I put "Ubuntu", given this is what I thought it was called ...
93
votes
8answers
191k 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 ...
72
votes
8answers
137k views

How To Install Virtualbox Guest Additions On CentOS via Command Line only

Reading the Virtualbox user manual, I finally got [here], which explains how to install Virtualbox Guest Additions on a Linux guest via Command Line. But it's not clear enough for me (I just started ...
52
votes
10answers
112k 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 ...
50
votes
10answers
118k views

CentOS no network interface after installation in VirtualBox

I have Ubuntu 12.10 on which I installed virtual box on which I setup Centos 6.4 i386. On Ubuntu I have: 3.5.0-17-generic kernel running. On virtual box I install Centos 6.4 and everything works fine,...
46
votes
4answers
89k 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 ...
42
votes
4answers
105k views

How to install VirtualBox Guest Additions in a Debian virtual machine

I have been struggling to install VirtualBox Guest Additions in a Debian Virtual Machine (Debian 7, Debian 8 and Debian 9).
37
votes
4answers
126k views

How can I enable access to USB devices within VirtualBox guests?

I cannot see any USB devices within my VirtualBox guest VMs from my host. How do I enable access for my guest VMs?               &...
37
votes
3answers
26k views

VirtualBox: Is it a bad idea to assign more virtual CPU cores than number of physical CPU cores

As I have a Hyper-Threading capable CPU, I wonder, is it a bad idea to assign more virtual CPU cores than number of physical CPU cores as the following warning suggests: Transcript: More virtual ...
37
votes
6answers
57k views

Set storage size on creation of VM VirtualBox

Is there a way to set the storage size for the VM on creating it? I will be using Vagrant, but not sure if this is something that needs to be done in VirtualBox or a setting I can include in the ...
30
votes
12answers
46k views

“mount: / is busy” when trying to mount as read-only so that I can run zerofree

I am trying to run zerofree on Ubuntu 11.04 so that I can compact the VirtualBox vdi image using: VBoxManage modifyhd Ubuntu.vdi --compact In order to run zerofree the disk image has be mounted as ...
28
votes
6answers
70k views

Why are my two virtual machines getting the same IP address?

I have two virtual machines both running on a Linux host (Fedora 16). I set both adapters as attached to NAT. When I boot them up they both have their default gateway set to 10.0.2.2. They also ...
28
votes
6answers
25k views

Gedit won't save a file on a VirtualBox share: Text file busy

I have a text file that I can change using other applications (for example openoffice). But when I try to change and save it using gedit, I am getting error from gedit: Could not save the file /...
26
votes
6answers
213k views

How to transfer files from Windows to Ubuntu on Virtualbox?

How should I transfer files from Windows to Ubuntu installed on Virtualbox? When I plugged in a USB, it only pops up in Windows. How can I see it in Ubuntu?
25
votes
7answers
137k views

Increasing Screen Size/Resolution on a VirtualBox Instance of Centos

I have VirtualBox instance of Centos 5. The screen size is quite small (800*600) and I'd like to increase it to 1280*1080. Under the Gnome preferences for "Screen Resolution" I only get the option for ...
25
votes
3answers
9k 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?
24
votes
2answers
37k views

How to convert VMDK to VDI/VHD

It's said that VirtualBox's VBoxManage modifyhd --resize command can only be used on either VDI or VHD files. Sadly, I have a VirtualBox image that is in VMDK format, and I don't know how to convert ...
19
votes
4answers
36k views

Uninstalling default VBoxGuestAdditions on Debian

When I ran sh /media/cdrom/VBoxLinuxAdditions.run I got the following warning message: You appear to have a version of the VBoxGuestAdditions software on your system which was installed from a ...
19
votes
5answers
12k 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 ...
17
votes
1answer
4k views

Completely isolate a VirtualBox machine

I would like to use VirtualBox to install some piece of software that should not have access to my host computer (and vice-versa). However, I also envision the possibility of attempting more "...
17
votes
2answers
17k views

How to setup GParted video mode in Oracle Virtualbox?

I'm trying to boot GParted live 0.14.1-6 within Oracle Virtualbox 4.2.6 r82870 (Extension Pack installed). The host OS is Windows 7, the physical graphic card is an AMD Radeon HD 6900. The physical ...
16
votes
3answers
27k views

Running sh script: «Permission denied» despite the executable bit and root rights

I installed Debian in VirtualBox (for various experiments which usually broke my system) and tried to launch the VirtualBox guest addon script. I logged in as root and tried to launch autorun.sh, but ...
16
votes
4answers
12k 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. ...
15
votes
3answers
5k views

How to force release of a keyboard modifiers

Sometimes, when I use synergy between my machines when one is using full-screen VirtualBox guest I get stuck with some weird key modifiers turned on. If they exist on my keyboard (like Shift_L) I can ...
15
votes
2answers
43k views

Installation Step Failed (installing the system) - Kali Linux [closed]

I am trying to install Kali Linux on a Virtual Machine using Virtual Box on an OS X host. The only issue is I get this error: Here are logs of my errors: hardware-summary partman syslog I had my ...
15
votes
5answers
23k 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.
15
votes
3answers
73k views

How to connect to a guest VM from the host system?

I have a VM webserver setup and I have installed and started Apache. The VM has a bridged network interface and can be pinged from the host using 192.168.0.2. However, if I type that same IP address ...
15
votes
5answers
53k views

Enabling IOMMU in the kernel for graphics card pass-through

Short question: How can I turn on the intel_iommu setting in the Linux kernel? I run a Debian host, using the grub2 bootloader. Documentation I've seen says to edit /boot/grub/menu.lst, which seems ...
14
votes
4answers
45k views

How to install VirtualBox Extension Pack to VirtualBox latest version on Linux?

How to install VirtualBox Extension Pack to VirtualBox latest version on Linux? I would also like to be able to verify extension pack has been successfully installed and and uninstall it, if I wish.
14
votes
4answers
27k views

How can I copy text from xterm (Awesome, Debian, VirtualBox)?

I ran the minimal Debian installation inside a VirtualBox instance, installed X11 and Awesome window manager manually (without any custom configuration yet) and installed VirtualBox additions as well (...
14
votes
6answers
45k views

VERR_ACCESS_DENIED when trying to add a raw disk to virtual box

I created a virtualbox raw disk pointing to a functioning, booting USB drive with a small linux distro on it. sudo ./VBoxManage internalcommands createrawvmdk -filename ~/VirtualBox\ VMs/MyTinyLinux/...
14
votes
1answer
10k 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.
13
votes
3answers
13k views

Is it possible to insert a physical CD into a VirtualBox machine?

I have CDs for Age of Empire III and I would like to play it in a Windows 10 VM. Is this possible? I know how to insert virtual CDs (i.e., ISO files) into a VirtualBox VM (via the "Storage" settings), ...
13
votes
2answers
20k views

“No screens found” while starting Xorg with startx after installing Nvidia drivers in Virtualbox

I installed Arch i686 on a VirtualBox VM (I have an nvidia GT610). I ran the following command as root: pacman -S nvidia After installation and rebooting, I ran pacman -S xorg-server xorg-xinit ...
13
votes
1answer
6k views

Virtual box machine, Created in windows run on linux?

Can a virtual box machine that was created in Virtual Box for windows run on Virtual box for linux? And if so do I just need to transfer the hdd files?
12
votes
4answers
54k views

How to run a fresh version of AIX in a Virtual Machine with a Linux host?

I need to learn about AIX, and I only have a laptop with Fedora 14/VirtualBox on it. Is there any chance that I could run an AIX guest in my VirtualBox? My laptop has an Intel(R) Core(TM)2 Duo CPU ...
12
votes
3answers
24k views

Guest additions 'unable to locate program' Kali Linux 2.0

Problem: When trying to install guest additions in Kali linux the following error occurs. Oops! There was a problem running this software. Unable to locate program This occurred after a fresh ...
12
votes
2answers
8k views

Use VirtualBox provider by default on Fedora 21

Right now, any time I use vagrant, it tries to use libvirt as the provider. I want to use VirtualBox by default. vagrant-libvirt is not installed. It's bothersome because some commands don't work, ...
12
votes
1answer
17k views

Debian console size in VirtualBox

I installed Debian 7.2.0 as a guest operating system on VirtualBox 4.2.18 (host OS is Windows 7). I installed Debian without any graphical user interface. When I start up Debian, the console size is ...
11
votes
2answers
49k views

Out-of-the-box CentOS in VirtualBox (NAT): Network is unreachable [duplicate]

My host is a freshly installed Ubuntu 2013.04, wireless network access worked out-of-the-box so I don't have any strange network configuration. In VirtualBox 4.2.10, with default (NAT) settings, I ...
11
votes
3answers
41k views

How to reach a Vbox guest from host when using NAT networking

Using Fedora or Ubuntu for the host with firewalls turned off on each side (vbox guest&host), what do I have to do to reach the guest machine using a NAT interface just like it would be with a ...
11
votes
1answer
2k views

Is a VM with 10 GB hardrive, 8 CPU's, and 4GB of RAM plausible?

I received an assignment to install Fedora 24-1.2 in VirtualBox with these specifications, and I'm running into issues that make me question how realistic this is. For one, I'm not even able to ...
11
votes
4answers
44k views

How to solve “building the main Guest Additions module Failed”

I tried to install the VirtualBox Guest Additions module in a VM guest running CentOS but I get this error message when everything else was okay: building the main Guest Additions module Failed ...
11
votes
2answers
86k views

How to properly set up 2 network interfaces in CentOS (running in VirtualBox)?

I have a VirtualBox machine running CentOS 6.5. I've created 2 network adapters for it in VirtualBox's networking settings for the machine. The first is NAT which I want the guest to use to connect to ...
10
votes
2answers
20k views

How to make ext4 filesystem sparse?

I am using Linux as guest OS in VirtualBox. I deleted huge number of files from its filesystem. Now i want to shrink the filesystem image file (vdi). The shrinking works by compressing filesystem ...
10
votes
1answer
7k views

GParted LiveCD fails to start

I have a VM setup in VirtualBox (LinuxMint 17.1). But I'm trying to boot to GParted so I can resize a partition. I'm using gparted-live-0.22.0-2-amd64.iso and it boots correctly. I've tried every ...
10
votes
1answer
42k views

How to install virtualbox guest addition in a guest machine with the latest Archlinux?

I want to install the virtualbox guest addition in a guest Archlinux machine. The vbox version is 4.2.10 r84104, and the Arch install media is the latest release 2013.04.01 with systemd as the ...
10
votes
6answers
14k views

Linux Mint 15 unable to install on VM VirtualBox

Appears that something maybe up with my VM set-up as it wouldn't install Fedora either. Problem will be I load up the VM and hit F12 to boot from the CD/DVD which is pointed to the mounted ISO file ...
10
votes
2answers
15k views

Where is vagrant's log file?

I am trying to debug a vagrant- or VirtualBox related problem (see taiga-vagrant fails to provide a working taiga environment #21). The command VAGRANT_LOG=debug vagrant up --debug prints out plenty ...