John Sequeira

Amped::Technology
John Sequeira's weblog: enterprise application development, typed weakly.

Tuesday, July 22, 2003


We can rebuild him; Better. Stronger. Faster.

Since I bought my new workstation, I've kept the old one around to avoid having to reinstall all the software on it (mostly from a now-defunct MSDN subscription). Having two machines vying with my air conditioning for dominance over office heat and noise level was annoying, plus the old workstation had started occasionally blue screening on boot, so I resolved to try to image the old machine into a Virtual Machine on the new one.

I had read that using dd and netcat with something like Knoppix was pretty much all you needed, but I opted for the hand-holding wrapper called g4u. This dead simple program comes on a floppy image. Boot your machine with it, and you can upload a drive image to an ftp server, or download one on top of an existing disk.

After installing the cygwin FTP server on my new workstation (my e-smith ftp server didn't have the hard-drive space), I used g4u to upload the images of my two old SCSI hard drives, then read them into the VM (by mounting a virtual floppy of g4u). It didn't work. My old machine was running an SMP kernel unsupported by VMWare Workstation. The workaround was to use my W2K install disk to reinstall the operating system in the VM. This had the side benefit of changing the device drivers from my old machine to the virtual one, and avoided the step of having Windows boot up and freak out about all the new hardware. After this step, it all worked.

All my old software from my dual 400 (about 3 years worth) now runs virtually on my dual 2GHz faster than it did before. I've started stripping out the data files from the VM so that I can store them non-virtually, and when I'm done I'll shrink the virtual disks and have occupied no more than a small part of my shiny new 120G hard drive with my old cruft.

And, most importantly, my A/C can go back to cooling the office, and only has the noise level of a water cooled PC to contend with.

Disk Cloning Linkfest

g4u
http://www.feyrer.de/g4u/

Dolly
http://www.cs.inf.ethz.ch/CoPs/patagonia/

cloneit
http://www.ferzkopp.net/Software/CloneIt/CloneIt.html

partimage
http://www.partimage.org/

Cloning on ASK Slashdot

http://ask.slashdot.org/article.pl?sid=03/06/26/1912256&tid=

http://slashdot.org/article.pl?sid=00/06/27/1934226

Cloning how-to using dd, netcat
http://www.rajeevnet.com/hacks_hints/os_clone/os_cloning.html
9:57:18 AM      comment []  trackback []



Remote Access: Head to Head to Head

I just spent two full days deploying the a CRM/KM solution and hot spare mirrors this weekend. One server was NT and had PCAnywhere for remote access, another was W2K and used Terminal Services, a third was the development server that used UltraVNC. Terminal Services, although not necessarily worth the price, was the best performer hands down. It had the fastest screen refreshes, never froze, drag and drop file transfer, the right highlighting behavior, and some automagic local drive and printer mapping.

I guess the moral of the story was that having the source code really helps. ;-)

Installshield: Stop the Insanity!

To drive this home, one of the pieces of software that comprised the solution was a web-based CRM application with an Installshield installer. Needless to say, it had no source. Everytime it died or some dependency of it failed to install, I would have to restart the @#$% Installshield wizard, and type about 15 different paths, database connection strings, ports, etc to find out that something else didn't work. Why couldn't they just use a batch file? Or supply me with enough information to write my own? *Or* at least give me the option of loading the default values of the Installshield wizard from a config file? I'd settle for that. I'd settle for anything that allowed me to route around the repeatability-stifling GUI paradigm that pervades Windows. Yuck.
9:34:04 AM      comment []  trackback []


© Copyright 2005 John Sequeira.
 
July 2003
Sun Mon Tue Wed Thu Fri Sat
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    
Jun   Aug

Click to see the XML version of this web page.
Click here to send an email to the editor of this weblog.
Yahoo: johnseq2
MSN: john_seq@hotmail.com
AIM: amped02139
Skype: johnjulian