Skip to content


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

  1. First navigate to the VirtualBox folder:
    cd /Applications/

  2. 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

  3. 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'