Mac – Migrate existing Mac installation to VirtualBox

imagesmacvirtual machinevirtualbox

Does anyone know how to make a .vdi .hdd .vmdk or .vhd image of my Mac? I need to make a perfect clone of my hard drive in one of these formats so I can clone my system in a VirtualBox VM (for development purposes).

Best Answer

It's completely legal if the host is also a Mac.

Use a disk cloning software (AFAIK CarbonCopyCloner/Superduper or anything else like that, not my area). It should be able to export to ISO. This command will apparently turn it into a virtualbox hard drive.

VBoxManage convertfromraw /path/to/output/disk-image.iso /path/to/output/disk-image.vdi

Source

Related Question