Posts
301
Comments
28
Trackbacks
210
Disc/Partition Cloning

I've been holding off on getting a new laptop, but finally went for it - a Dell Inspiron 510m, excellent screen, big disk and lots of memory. And very nice it is to. Since the disk is big I'm going for 3 boot partitions: a stable one running .net 1.1, a .net 2.0 beta 1 partition, and a general test partition (for any other beta stuff that comes along), plus a large partition for data. I've isntalled the stable one and decided to clone it for the others to save some time. I've not used cloning software before, but decided to try Acronis TrueImage; it has a nice Copy Disc option. So it whirs away, I boot into the new partition, generate a new sid and everything looks fine.

However, I go to install VS.NET 2.0 and the default install directory is C:, which is my stable partition. I look at the environment variables and some of them point to C: still, as does almost everything with a full path that's stored in the registry. Hmm, not exactly what I had planned. This disc cloning is great if you don't want the new parition to have a different drive letter. So my options are:

  1. Rename the drives, so that the partition booted into is always C. It's not the way my old laptop was and might confuse me (which isn't that hard to be honest).
  2. Scratch the newly cloned paritions and just repave them as normal.
  3. Edit every path in the registry, which seems pretty desperate since there's no search and replace (for probably sensible reasons).

Views people? What have others done?

[update] Of course, option 1 isn't available as it's the system partition, and thus can't be renamed. Sigh.

posted on Wednesday, July 14, 2004 2:10 PM Print
Comments
Gravatar
# re: Disc/Partition Cloning
Ben Lowery
7/20/2004 3:02 AM
  
VMWare is great for this kind of thing. Just make sure you have a good chunk of memory and a fast disk to play with. Otherwise, it's great. No need to reboot to play around with the latest bits.

I hear VirtualPC (which is on MSDN) works nicely as well.

Not strictly on cloning, but I like it as another option. :)
Gravatar
# re: Disc/Partition Cloning
Jon Galloway
7/21/2004 9:30 PM
  
I agree that a virtual installation (I use Microsoft Virtual PC) is a great way to do this.

There are registry find / replace tools out there - http://www.funduc.com/registry_toolkit.htm, for instance. You can also script this - more here: http://techrepublic.com.com/5100-6228-5027628.html.
Comments have been closed on this topic.