Skip to content

Instantly share code, notes, and snippets.

@pantelis
Created February 4, 2018 01:29
Show Gist options
  • Save pantelis/f8987db8967d738f64c4bf7136ac6a84 to your computer and use it in GitHub Desktop.
Save pantelis/f8987db8967d738f64c4bf7136ac6a84 to your computer and use it in GitHub Desktop.
VBoxGuestAdditions on MAC

Enabling Clipboard: VirtualBox Manager -> Settings -> General -> Advanced -> Shared Clipboard /Drag’n’Drop: bidirectional

Installing Guests Additions:

Enabling optical drive: VirtualBox Manager -> Settings -> Storage -> Controller Sata -> Adds optical Drive -> Leave Empty

Copy Guest Additions to the available folder on Mac: Finder -> Applications -> VirtualBox right click, Show Package Content -> Contents -> MacOS: copy VBoxGuestAdditions.iso somewhere to the folder

Open disk on virtual machine: Run VM -> top menu, Devices -> Optical Drives -> Choose disk image -> choose the file you’ve just copied

Mount Guest Additions and install: open terminal ->

mkdir temp sudo mount /dev/cdrom temp cd temp chmod u+x VBoxLinuxAdditions.run sudo ./VBoxLinuxAdditions.run reboot

@MemoryReload
Copy link

MemoryReload commented Sep 19, 2019

sudo apt update -y && apt upgrade
sudo apt install dkms linux-headers-$(uname -r) build-essential
You must do this before execute ./VBoxLinuxAdditions.run, since the kernel may need update and kernel source should be installed when the scripts compile the vbox modules.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment