Skip to content

Instantly share code, notes, and snippets.

@paveltimofeev
Last active March 18, 2016 20:26
Show Gist options
  • Save paveltimofeev/29d18e6cda97e8aa09c2 to your computer and use it in GitHub Desktop.
Save paveltimofeev/29d18e6cda97e8aa09c2 to your computer and use it in GitHub Desktop.
VirtualBox command
REM will start the specified virtual machine in the background.
REM To shut it down, request the shut down from the guest.
C:\Program Files\Oracle\VirtualBox\VBoxManage startvm $VM --type headless
REM enable symlinks on shared folders
C:\Program Files\Oracle\VirtualBox\VBoxManage setextradata YOUR_VM_NAME VBoxInternal2/SharedFoldersEnableSymlinksCreate/YOUR_SHAR_EFOLDER_NAME 1
# Install Video at Ubuntu (Fix SCREEN Resolution)
sudo apt-get install virtualbox-guest-utils virtualbox-guest-x11 virtualbox-guest-dkms
# Mount Shared Folder between guset and host
sudo mount -t vboxsf VMGit ~/VMGit/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment