Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

share|improve this question
1  
What 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. –  user3463 Jan 4 '11 at 4:56
1  
thank you for telling me what i already know. I would still like to know how to make the image. –  mtmurdock Jan 4 '11 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 '11 at 20:31
add comment

2 Answers

Check out this thread on StackOverflow.

It's only supported for OS X Server, and on an OS X host.

share|improve this answer
    
This 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. –  mtmurdock Jan 4 '11 at 21:59
2  
I'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. –  user3463 Jan 4 '11 at 22:57
add comment

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

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.