VirtualBox¶
Convert img to iso:¶
hdiutil convert -format UDRW -o ~/VirtualBox\ VMs/win7Activated.img ~/VirtualBox\ VMs/Win7\ x86\ x64\ SP1\ AIO\ Activated.iso
Resize a virtual hard disk¶
-
First navigate to the VirtualBox folder:
cd /Applications/Virtualbox.app/Contents/Resources/VirtualBoxVM.app/Contents/MacOS
-
Then, locate the correct VDI (esp. if using snapshots).
You need to resize/clone your last differencing image. You can list them by:
vboxmanage list hdds
-
Then resize to new size in megabytes:
VBoxManage modifyhd --resize 51200 '/Users/ska/VirtualBox VMs/Win10_Pro_x64/Snapshots/{17be6916-99ce-4e60-aa4f-5af8eba62f10}.vdi'