I love free software. I use free software at home and at work. I was delighted to be able to save hours of work today with two bits of free software. Read on to find out how.
We had several new machines delivered today for a department at work. Rather nice machines, all with Windows XP (we have no plans to roll out Vista just yet). As they were all identical, it seemed a pity that we had to set each one up individually, but the last time we tried to ghost a machine, it failed dismally, so my tech-squad were reluctant to try again.
I convinced them that it should work, so best foot forward, I downloaded a copy of Clonezilla and installed it on a USB memory stick. 30 minutes later, we’d managed to put an image of one of the new machines on to a Windows server. The acid test was whether or not it would restore and work, and sure enough, five minutes later, we still had a working machine. One of my guys then installed all the other stuff needed on the machine (Acrobat reader, Office, VNC, SMS etc) and we re-cloned it. It took roughly two hours to set up the base software on the machine, so if all went to plan, we’d save hours of time.
The first three machines restored without a hitch. The problem started with the fourth when it decided that the SATA hard disc wasn’t SDA, it was going to be SDB instead. (Clonezilla uses a Linux [Debian] base to save and restore partitions hence the naming convention). No idea why it came up with this, but it effectively stopped us restoring to those machines. Ever optimistic, I unplugged the SATA DVD on the machines that were giving us the problem and the restore worked fine. Once restored, we plugged the DVD drive back in, booted Windows and everything was fine. We had just set up seven machines in an afternoon - something which, if not multi-tasking, would have taken a couple of days. I don’t know if the naming was specific to the machines we were setting up (Dell Optiplex 755’s), but if anyone has any ideas, please leave a comment.
The second result for me today was bringing an idea Ihas last night whilst cycling home. Producing nicely formatted output, especially PDFs is an issue for us. We use Java for our in-house desktop applications, and make a lot of use of Bruno Lowagie’s excellent iText library. Creating forms from scratch is laborious and time consuming, not to mention it needs a lot of boring code. The idea that I had was to use Acrobat forms to create placeholders for the variable text, creating PDF templates for documents. Someone may read this and say “of course, that’s obvious, I’m surprised you weren’t already doing that”, and do you know, 55 lines of proof-of-concept code later, that’s exactly what I was saying to myself as well. I was so annoyed that I hadn’t spotted that little gem months ago. It would have saved so much buggering about. Needless to say, I don’t think we’ll be creating any PDFs from scratch any more. It’s going to make a huge difference for our document production at work and could easily save a fortune.