Skip to content

Instantly share code, notes, and snippets.

@vackosar
Last active August 29, 2015 14:24
Show Gist options
  • Save vackosar/585a84d15f85398f7cad to your computer and use it in GitHub Desktop.
Save vackosar/585a84d15f85398f7cad to your computer and use it in GitHub Desktop.

Resolve Issues Installing LUbuntu Into VirtualBox.

Encoutered couple of issues.

  • Turn swap off before starting installation to install with full disk encryption.
  sudo swapoff --all

  • Download essentials before installing VirtualBox Additions.
  sudo apt-get update
  sudo apt-get install build-essential linux-headers-"$(uname -r)"
  # sudo apt-get install virtualbox-guest-*

  • Run VirtualBox Additions installation.
  sudo "/media/$USERNAME/VBOXADDITIONS_$VERSION/autorun.sh"

  • Grant $user access to shared folders adding him to group vboxsf.
  sudo usermod -aG vboxsf $user

  • Restart.
  sudo reboot

  • Workaround clipboard sharing problem.
  killall VBoxClient
  VBoxClient-all

  • Untested permanent solution to clipboard sharing problem.
  sudo apt-get install virtualbox-guest-dkms

This article is compiled using several forums: askubuntu, stackexchange and others.

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