Skip to content

Instantly share code, notes, and snippets.

@vlkrw
Created January 8, 2016 19:36
Show Gist options
  • Save vlkrw/67bebc9440b573e695f0 to your computer and use it in GitHub Desktop.
Save vlkrw/67bebc9440b573e695f0 to your computer and use it in GitHub Desktop.
Creates a .vmdk for accessing a disk directly in Virtualbox. Replace the # with the disks number. For Windows use: \\.\PhysicalDrive#
VBoxManage internalcommands createrawvmdk -filename "</path/to/file>.vmdk" -rawdisk /dev/sda#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment