I wanted to copy an existing laptop to a VirtualPC instance. It's old and had a number of issues (RAM, Win2000, CPU speed, 20gig HD, USB 1.0, to name a few), but I still need to use some of the development tools on the laptop. Instead of going thru the hassle of trying to find all of the license keys for the software on this laptop (not sure if we even could), I thought the easiest route would be to make a VPC instance and use that on my Dell desktop that has plenty of RAM and CPU.
We use VPC for archiving build configurations at TIP extensively and it works like a charm. When you have a build environment that you need to save in case you need to patch old source code, instead trying to make the old source work in the new enviroment (new IDE version, updated 3rd party controls, etc), just create a VPC image with that build configuration. Then if you need to patch any code, its a breeze - start the VPC instance and your off working with a known environment.
I've never tried to clone a whole hard drive before. The research I did lead me to believe that Ghost was the way to go. However I quickly ran into some problems going down that route - first off you can't be using the drive when you ghost it. I wasn't able to create a boot disk as the laptop doesn't have a floppy drive, and I ran into issues trying to create a bootable USB or CD with Barts Bootable CD with Networking enabled. After several hours and much frustration, I came across a newsgroup post that lead me down the correct path, once again I was making it harder than it needed to be. Here's the easy and cheap (ie. Free) steps I used. I'm not going to detail the steps as the 2 converters really were quite simple to use.
- Attach my external 500gig USB drive to the old laptop so I had a place to put the image.
- Convert the existing drive to virtual with VMWare Converter (free version worked fine).
- Convert the VMWare image to VPC with VMToolkit converter (free).
- Copy the image to my desktop system, and use VPC to crete a new virtual machine using the new VHD drive.
- Boot up the image and fix the PNP warnings for new hardware that came up. I know some people run into problems with blue screens of death and have to use their Windows Install disks to repair the image, but I didn't have that problem. It booted just fine, and after a couple driver changes & reboots I was off and running.
The only real hassle with the process is that the laptop only supported USB 1.0, so copying 20gig took a LOOONG time. I started the process before I went to bed and it was finished when I got up. I did run into one problem while running VMWare Converter, it gave me a warning that the Registry wasn't large enough and I had to restart the process. It allowed 45mb, so I bumped it to 120mb just to be sure there was enough space so I didn't have to restart a 2nd time.
The next step is to clean up the new VPC and remove the unused programs, then compress the VHD down from its 20gig size.