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).
-
1What you are trying to do is not permitted by the OS X license agreement. You cannot run OS X on unsupported (read non-Apple) hardware, including in a virtual environment.– user3463Jan 4, 2011 at 4:56
-
2thank you for telling me what i already know. I would still like to know how to make the image.– mtmurdockJan 4, 2011 at 5:01
-
4@Randolph The legality and reach of licensing provisions differs from country to country. While mtmurdock is in the US, other users might legally be able to use this knowledge.– Daniel Beck ♦Jan 4, 2011 at 20:31
Add a comment
|
2 Answers
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
Check out this thread on StackOverflow.
It's only supported for OS X Server, and on an OS X host.
-
1This isnt what i was asking. The thread you linked to is about created a new installation of OSX in a VM. I want to know how to make an image of my EXISTING system. Jan 4, 2011 at 21:59
-
2I'm failing to see the problem. Mac OS X supports restoring from a backup on Time Machine, right? And when you install Mac OS X, it asks you whether it's a clean install or a Time Machine restore. So, I figured you could put the two together and make a plan.– user3463Jan 4, 2011 at 22:57