Skip to content

Instantly share code, notes, and snippets.

@brunneis
Created March 1, 2018 15:14
Show Gist options
  • Save brunneis/792719629ae2f72fbadcbe41fe429e85 to your computer and use it in GitHub Desktop.
Save brunneis/792719629ae2f72fbadcbe41fe429e85 to your computer and use it in GitHub Desktop.
Create a vmdk linked to a real device (VirtualBox)
#!/bin/bash
VBoxManage internalcommands createrawvmdk -filename sda.vmdk -rawdisk /dev/sda
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment