Questions tagged [virtualbox]

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

From VirtualBox's web site:

VirtualBox is a powerful x86 and AMD64/Intel64 virtualization product for enterprise as well as home use. Not only is VirtualBox an extremely feature rich, high performance product for enterprise customers, it is also the only professional solution that is freely available as Open Source Software under the terms of the GNU General Public License (GPL) version 2.

1726 questions
217
votes
17 answers

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 is hosted in VirtualBox with Windows as host, and…
Alexandr Kurilin
  • 2,481
  • 2
  • 16
  • 13
182
votes
6 answers

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 when I set up the VM. However, I just get the…
wickywills
  • 2,093
  • 3
  • 14
  • 18
140
votes
10 answers

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 owner is set to root. How can I change the ownership…
user654019
  • 2,277
  • 4
  • 21
  • 20
80
votes
8 answers

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 learning some commands). Can someone put down the…
its_me
  • 13,709
  • 23
  • 54
  • 52
66
votes
4 answers

Why does "drm:vmw_host_log [vmwgfx]] *ERROR* Failed to send host log message" show up and what can I do to fix it?

This error shows up everytime I install Kali Linux, whenever I try to boot it. Then, it dissapears and the screen blacks out. The error is the following:+[drm:vmw_host_log [vmwgfx]] *ERROR* Failed to send host log message. Here's also an screenshot…
62
votes
6 answers

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 define the host-only as the adapter 1, I can access…
brandizzi
  • 2,814
  • 3
  • 21
  • 29
61
votes
12 answers

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, however when I boot into VM machine, there is…
user2195384
  • 711
  • 1
  • 5
  • 3
54
votes
12 answers

"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 read-only. I'm following these instructions which…
Wavy Crab
  • 643
  • 1
  • 5
  • 7
54
votes
4 answers

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).
ximbal
  • 1,952
  • 2
  • 16
  • 19
54
votes
11 answers

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 standard Linux box with a SysV-Init system, the…
jstarek
  • 1,672
  • 2
  • 16
  • 32
53
votes
3 answers

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

VirtualBox: As I have Hyper-Threading capable CPU, I wonder: Is it a bad idea to assign more virtual CPU cores than a number of physical CPU cores as the following warning suggests (simply using all 8 virtual cores of 4 physical core CPU for…
Vlastimil Burián
  • 27,586
  • 56
  • 179
  • 309
47
votes
11 answers

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 both have the same IP address (10.0.2.15). They are…
rubixibuc
  • 1,687
  • 3
  • 19
  • 27
45
votes
8 answers

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 Vagrantfile (I checked docs but there doesn't seem to…
a7omiton
  • 561
  • 1
  • 4
  • 6
44
votes
6 answers

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 /media/sf_Ubuntu/BuildNotes.txt. Unexpected error:…
user654019
  • 2,277
  • 4
  • 21
  • 20
43
votes
9 answers

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/rawdiskonusb.vmdk -rawdisk /dev/disk2 -partitions…
adapt-dev
  • 1,329
  • 2
  • 13
  • 18
1
2 3
99 100