Last active
February 18, 2024 12:08
-
-
Save hightemp/11196851 to your computer and use it in GitHub Desktop.
Convert .vdi to .img
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vboxmanage clonehd image.vdi image.img --format RAW | |
qemu-img convert -f vdi -O raw image.vdi image.img | |
vbox-img convert --srcfilename image.vdi --stdout --srcformat VDI --dstformat RAW image.img |
any one line/command in the sh script will be a completed command to convert vdi to raw/img, Right?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When dealing with large virtual hard drives, the
qemu-img
command has a helpful-p
flag to show progress. source