VirtualBox

From Dev Wiki
Revision as of 17:50, 11 February 2020 by Brodriguez (talk | contribs) (Update ubuntu section)
Jump to navigation Jump to search

VirtualBox is a free means to create and manage VirtualMachines.
It's compatible with Windows, Linux, and Mac systems.

Installing VirtualBox

Windows

Follow the steps on the VirtualBox Downloads page.

Ubuntu

Run the command:

  • sudo apt install virtualbox virtualbox-ext-pack

Using VirtualBox

  • Download the iso for your desired operating system.
  • Setup a new VM and run through the standard OS setup process.
  • Remember to proper memory, processors, and vram, otherwise it may run poorly/incorrectly.
    • For example, VMs running Ubuntu18 may black screen if only allocated the default 16 MB vram.
  • Once installed, launch the VM and:
    • Install the Guest Editions CD through the menu with Devices > Insert Guest Editions CD Image...
    • Run normal system updates on your VM.
  • Finally, restart the VM to be ready for normal use.

Ubuntu Quirks

To make use of Guest Editions in ubuntu a few additional steps might be needed.

  • Install additional apt dependencies on the VM:
    • sudo apt install build-essential dkms
  • Add the logged in user to the VirtualBox group:
    • sudo usermod -a -G vboxsf userName