We have a laptop with Snow Leopard Server installed and up to date. We use this for proof of concept testing (ADC release). We would like to VM this test server. Is it possible?
Thanks,
Don
It's pretty simple to copy a physical Mac machine into a virtual disk. You'll need to have a second machine with Fusion installed, together with MacFUSE support for mounting virtual disks, and enough disk space for a copy of the server system. Make sure you have a proper license to run the copy of the server in the VM if you intend to run it at the same time as the physical machine.
Here are the steps:
#. Run Fusion on another machine, and go to File -> New...
#. Choose "Create a custom virtual machine" for the installation media.
#. Choose Mac OS X Server 10.6 64-bit as the OS type.
#. At the "Finish" screen, click "Customize Settings" so that the VM gets created, but not started immediately.
#. If your Snow Leopard Server needs more than 40 GB of disk space, adjust the disk size appropriately.
#. Go to Finder, and open the VM (or the VMDK file inside) using VMDKMounter (requires MacFUSE). This will mount the virtual disk as a disk image - you should see a new Macintosh HD disk.
#. If you increased the disk size from the default 40 GB, you'll have to go to Disk Utility and re-create a partition for the full virtual disk size. Note: you have to delete the existing partition instead of simply enlarging it because the GUID Partition Table has been previously set up for a smaller disk size, and Disk Utility gives an error if you try to resize past the original disk size.
#. Boot the server Mac into Target Disk Mode, and connect it using Firewire. If the laptop doesn't have firewire, you'll have to take the disk out of the laptop and connect it some other way.
#. Use a disk copying utility such as Carbon Copy Cloner to clone the laptop's hard drive to the mounted virtual disk. As long as the utility only copies the used disk space and not the free space, the virtual disk will only be as big as the used space.
#. After the copy is done, unmount the virtual disk.
This will give you a VM with a virtual disk that contains an exact copy of your laptop. It should be possible to run it as a VM without any further changes. Of course you may want to adjust some other settings such as CPU, memory, etc.
<br/>
It's also possible to use the physical machine's disk directly instead of copying it into a virtual disk, but it's a bit more complicated, and not as safe since any changes would affect the original machine, while the copied disk is separate. If you are still interested in doing it, you can look at my post here: Re: Adding physical disks (ignore the part about rawdiskCreator).