Skip to content

Instantly share code, notes, and snippets.

@drexlma
Last active November 25, 2019 13:45
Show Gist options
  • Save drexlma/9dc6a2501f33df11b31d789641f7fc41 to your computer and use it in GitHub Desktop.
Save drexlma/9dc6a2501f33df11b31d789641f7fc41 to your computer and use it in GitHub Desktop.
sudo dd if=/dev/sdb of=./sdb.raw
VBoxManage convertdd sdb.raw sdb.vdi --format VDI
$ VBoxManage clonehd sdb.vdi sdb.raw --format RAW
sudo dd if=./sdb.raw of=/dev/sdb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment