New addition to the family!
Jen and I got a puppy! Yup! A chow chow… we’ve named him Ben. (Or Benny or Benjamin, but not Benji!) Isn’t he sooooo cute!
Jen and I got a puppy! Yup! A chow chow… we’ve named him Ben. (Or Benny or Benjamin, but not Benji!) Isn’t he sooooo cute!
We’ve been using procmail for a few months to handle some mail processing for a project. It’s really great, but a bit complicated for some things. I googled for some ways to help block/remove viruses and found that Infinite Ink has a great procmail quick start guide, including really useful “recipes” for snagging viruses.
It seems that no one’s documented using TextPad’s Workspaces and Java. There’s a lot about using TextPad and Java, but we’ve been using the Workspace feature of TextPad for several years at work and I figured I’d document it (complete with screen shots!) so we don’t have ask each other after a re-install…
Note: Install TextPad after you install the JDK so you don’t have to manually enter the default Java “Tools” commands in TextPad.
Compile Java:
Command: javac.exe
Parameters: -g:none -deprecation -classpath $WspDir $File -d $WspDir
Initial Folder: $FileDir
Run Java Application:
Command: java.exe
Parameters: -classpath $WspDir $Basename
Initial Folder: $FileDir
Run Java Applet: (We don’t really use this too much.)
Command: appletviewer.exe
Parameters: $Basename
Initial Folder: $FileDir
In my previous post I mentioned that Jen’s moving in! We’re taking our time, but things are moving along nicely… just got the “big” stuff left. I’ll post more about that later.
I’ve got another move to post about… we’ve got office space! Yup, the company has a small, but cozy, physical presence now. We’re in the Hamiton County Business Center in Norwood, Ohio. The place is an incubator for Cincinnati based businesses. The people here are so nice! And I’m happy to get the servers out of my house!
Some quick pics:
Yeah, I’m posting a little late, but it’s was a great one! I gave Jen a sapphire ring that was really beautiful and asked Jen to move in with me! She said yes! She took me to the Newport Aquarium (I’d never been) and to dinner at Brio’s. It was great. She also gave me the “Queer Eye for the Straight Guy” book and New Order’s 316 and 511.
Isn’t life great?
Ok… Sorry for the delay in posting anything. “ultra” – my main box, has had some issues during the last few weeks. Yeah, sure, I could have posted from any machine, but I was either working on ultra or living…
So here’s what happened… On the 9th, around 3:15pm or so, ultra’s screen started flashing – not the monitor, mind you, it was the machine doing it. Freaked me out so I rebooted. Upon reboot same thing happened! Reboot again… this time XP prompted my to choose how to boot. I chose “Last know working configuration” – in retrospect, probably not the best thing to do. After that, more stuff got screwed up. I shutdown the box, dazed and confused.
Also, I should note, that while I preach “backup your data often”, I don’t practice it. Now you can see why I was even more concerned! I had two drives installed – a 120GB and a 40GB, both Western Digital. The 40GB was the original system drive with 3 partitions – long story but I used to have 98, XP and Linux on it. And both drives had code I needed.
To prevent any possible data loss, I went out and picked up a new 160GB hard drive at Best Buy – only $90 after rebates which isn’t bad. (I have to say this WD 160GB drive is the quietest drive I’ve ever heard, not that it’s meant to be, but it’s really nice.) The 160 gigger added its own problems to the mix. At first my old ASUS A7A266 board didn’t see the whole drive. A quick BIOS update fixed that.
Ok, now to reinstall XP Pro to see if my data is ok! Then I found out the XP Pro only supports up to 137GB drives – you need XP with SP1 included to install to 160GB! So I had to partition the drive – not really what I wanted to do, but oh well… So I start installing… I now start getting errors copying files during the install. I test reading the disc on one of the Linux servers and do not have any problems. Start again. Errors. So I pull out a trial XP disc to copy from – errors. Shit.
During this process, I was also researching possible issues, etc. thanks to Jen’s Win98 laptop being around. (Thanks, sweetie!) I found a great memory tester, memtest86 – download it now. In a few seconds, it found one of my Crucial 256MB DDR sticks was bad. I was pretty surprised by this since Crucial is such a good name in memory. So I removed the bad stick – down to 256MB at this point. Later that evening I went ahead and purchased a 512MB stick from Crucial for $80 or so – not bad and I knew 256MB would not cut it running XP. (I need to see if I can return the bad stick – Crucial has some sort of lifetime guarantee when your order from them.)
While scavenging around for other XP discs, I came across a 120 day “eval” of XP Pro with SP1! I figured I might as well use that for now and use the whole 160GB and figure a way around the eval later – anyway my main point was to try to get my data back! So I started the install, repartitioned to one NTFS partition of 160GB – formatted is about 150GB. Things went much smoother this time, but took a while – no install errors. So far so good…
Now that I had XP SP1 up and running, I wanted to see if my two other drives were ok. Since I had the new hard drive, a CDR drive and DVD drive on the IDE bus, I only had one IDE device open and I thought I should do them one at a time anyway. First the 120 gigger – no problems at all! Everything was there. Sweet! Power down. Put in 40 gigger. On boot, XP found problems and ran chkdsk on it – many of the old XP system files were trashed. When XP finished booting, I was very happy to see all my real data there! Outlook .pst files – check. Code projects – check. Settings, downloads, My Documents – check. Whew! Since I wanted to test the drive more and reformat, I copied the data to keep to the 160 gigger. Nice. Took a while, but I was happy to have my data back!
After I had the 40 gigger taken care of, it was back to the 120. I figured I might as well have 280GB at my disposal! My heart dropped, though, when I booted up this time… XP said it needed to run chkdsk on the drive. Why? – I thought, but let it do it anyway – big mistake! I have no idea what XP was thinking… but there it went, error… error… fixing this… fixing that. chkdsk is heartless. After chkdsk finished, it gave some error about not enough space for backup files or something… Damn thing’s not smart enough to see I have tons of space on C:! Once chkdsk finished and I logged in to XP, the 120GB “E:” drive was not accessible. Reboot. Still not accessible – “Would you like to format this drive now?” “No, I really wouldn’t, but I would like my data back!” Kill me now. Not much of the 120GB was important. Yeah, I did have a lot of backups from our old company on it, but nobody asked for those files in a year. And the movies and downloads – no big deal. But I had been using it for my VB projects – one of which was pretty critical. Dig my grave now.
I love the Internet. I love downloads and free trials. I love Google. (Ok, I have some issues with Google, but I’ll post that later.) I did a little Googling and found some great data recovery tools. Most of the tools have free “read only” downloads that will tell you if you can get your data back – it’s really great. I stumbled upon Runtime Software and their GetDataBack for NTFS product. This thing is great! I downloaded it and let it run on the 120 gigger. Took a while, but it found all the files! Not wanting to risk losing anything else, I quickly purchased the thing online – only $80 – a steal for this type of tool! Got a serial number and without even needing to restart the app, I was able to recover the data from the 120 gigger and save it to the 160GB drive. I recovered the crucial data – my VB code and some other stuff. Next time I rebooted, XP found the drive properly, did another chkdsk, but this time my data was back and ok. Not exactly sure what happened, but this was cool. I realize that maybe I didn’t need to purchase GetDataBack since the next chkdsk fixed the problem, but for me it was worth it to have the data. I installed Nero and made a quick backup of the code.
At this point I wanted to test the system pretty good. I ran a full memtest86 for 2 passes on the full 768MB RAM I now had running. I installed the ASUS Probe utility – I never use to use these things, but now I like keeping tabs on the system, CPU temp, etc. It’s actually pretty cool. I also found the Belarc Advisor to be pretty useful. It’s a nice way to keep tabs on your system, included software installed. I also downloaded 7Byte’s Hot CPU Tester, but haven’t really played around with it. Also, for Western Digital drives, their support page has some cool utils for testing drives.
So now I was ready to get settled in and get XP fully up and running the way I like – still running on the eval so I haven’t patched or updated the system. I won’t go into the details, but you can upgrade XP SP1 eval to XP SP1 corporate without any problems. Now, apply all the Windows updates and patches. Install Office 2003. Apply Office 2003 updates and patches. Connect up USB devices, install drivers. Install all other apps…
A while later I’m up and running. Got my dual monitor setup working. Style XP setup. Etc., etc… But I notice that my machine is still running slow. I thought maybe with 256MB, XP would struggle a bit, but with 768MB I thought it would fly. After a little checking the settings and control panel, I noticed the new drive running in PIO Mode. I hadn’t heard PIO Mode in a long time – everything’s DMA now right? After a long bit of Googling, it seems that my A7A266 just can’t do DMA with the WD 160GB drive – even with the new BIOS. Shit!
Next day, head out to Best Buy to pick up a SIIG UltraATA 133 PCI IDE card. A good deal at $35, I think. The reviews are pretty good – just comments about the documentation sucking – which it does. So I pop in the card – leaving the drive on the motherboard IDE so I can install the drivers – and boot up. XP detects it, installs the drivers from floppy – works like a charm. Power down, connect drive to primary IDE, device 1, boot up, set BIOS to boot from SCSI device and XP boots up great – and very fast. (Actually at first I forgot to set the BIOS to boot from SCSI device, not thinking. For newbies: most add on controller cards look like SCSI devices to Windows.)
Sweet! I power down again and put the 120GB drive on the secondary IDE port. Wonderful! Very fast! Loving it! So now I have dedicated the new controller to the two large drives, giving them their own IDE channel. 40GB drive is on motherboard primary IDE, as master; CDR is slave. DVD drive has secondary IDE to itself.
Kevin lets me borrow his firewire DVD burner to make a backup of my stuff. So now it’s all on DVD+Rs too. (I added a firewire card a while ago to capture from camcorders – very cool! I love DV.) I also zip and move most stuff from E: (the 120 gigger) to G: (the 40 gigger), so I have 120GB empty to play with, along with 80GB or so still on C:
Life is beautiful… until Friday…
My USB scanner, a Canon N656U, installed itself and was working fine with Photoshop, etc., but it also has some utilties you can install to “better use” to product – “ScanGear Toolbox”. I haven’t used it much, but I wanted to play with some other scanner settings, so I installed it. The version on the CD I have is the same as on the Canon website, so I install from CD. It’s got a couple other apps: a photo database and slide show, along with OmniPage Pro 9. I’ve installed the other apps before, but not OmniPage, so I thought I’d give it a try… big mistake…. I don’t know what happened but after the install it tells me it needs to restart. Ok, no biggie… but then it locks! Never shutdown! I wait 5 or 10 minutes just to be sure then hit the reset button…
NTLDR is missing
Press any key to restart
That’s what I’m prompted with! Shit! My heart stops. My spirit floats out of my body and I guess I die for a second… Ok, I really didn’t die and it’s not that bad, but I thought I just setup everything for nothing. (Had to embellish to keep you interested!) Several reboots and power cycles, but the same results. Back to Google…
I now know more about the x86 boot process than I wanted, especially for XP. MBRs, partition tables, boot sectors… I’ve had enough! Anyway… I boot into the XP recovery console – it’s cool that XP has this, but it’s rather limited. I do all the stuff that a ton of sites say, including Microsoft… fixboot, fixmbr, etc… Nothing works – even after stripping the machine down to just the 160GB drive. The strange thing is that if I put the drive back on the motherboard IDE controller, it boots fine! Also, somehow I manage to screw up the 120 gigger – i think just the partition table since GetDataBack saw all the files still, but didn’t care too much since I didn’t need the stuff left on it. I try creating a boot disk, but still no avail. I boot back into XP via the motherboard IDE on occasion just to make sure the drive it still ok and to continue Googling. I also came across “PartInNT.exe” and “PTEDIT32.EXE” which I think were/are part of Partition Magic or something from PowerQuest – you can get them via FTP. I play around a bit and then just delete the partition on the 120 gigger and reformat it.
Eventually I stumble on to DIY DataRecovery’s DiskPatch. It’s got a great PDF full of data and information. I didn’t buy the full version, but tried out the demo, which supposedly doesn’t write anything to the drive. (It’s only $40, so I might go ahead and get it – clones drives too. Check out MBRtool too – it’s free!) But something is different now… not sure, but I put all the drives back in and connect the boot drive to the SIIG controller – now when I boot I just get a blank screen with the cursor flashing in the corner. From the PDF for DiskPatch: “If the boot code in the MBR is damaged or missing, the system may just hang after it finished the BIOS power on self tests. If you have a polite BIOS it may warn you that something is wrong in the MBR. In other cases, you may just end up with a blinking cursor in the upper left corner of the screen.” But everything looks ok there and it boots fine on the motherboard IDE! Just for the hell of it, I try the boot floppy with NTLDR on it… Wow! Now it works! Boots up fine into XP! I’m a happy camper again!
I test this and that, making sure all the drives work, etc. Reboot to make sure it works again. I try the XP recovery console one more time… fixboot… still cursor just flashes… but I can boot from the floppy to get XP running, so I reassemble the case and move ultra back to my work desk from the work bench. Reboot… still works! Connect up all the USB devices, etc…. Still works…
So that’s where I’m at now. XP is booting from floppy, loading from new PCI IDE card and running great. As I get time, I’ll play around with DiskPatch and post more if I get this booting 100% properly from the hard drive. I’ve lost a lot of time, both work and play on this, so I wanted to document it properly and maybe this post will help someone else.
Quick reference to resources used:
- RAM memory tester: memtest86
- NTFS file recovery, GetDataBack from Runtime Software, also available for FAT32
- Black Screen with XP at Microsoft (recovery console, boot disk info, etc.)
- Belarc Advisor – machine info, software installed, etc.
- DIY DataRcovery – DiskPatch and MBRtool
- Some partition tools at PowerQuest’s FTP server – “PartInNT.exe” and “PTEDIT32.EXE”
- 7Byte’s Hot CPU Tester
- Western Digital support page