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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
any one line/command in the sh script will be a completed command to convert vdi to raw/img, Right?