Bill's Computer Circus
Don't get caught with your system down.
NOTICE: This web site may not render correctly in older browers like Internet Explorer 5.2 for the Mac. May the gods help you if you are using Internet Explorer on any machine! Otherwise, if this site does not look right on your browser, please let me know what browser you are using (and what version and on what computer). Thanks!
"Visual Basic makes the easy things easier. Delphi makes the hard things easy."
-- unknown
Sunday, January 15, 2006
 
Never, Never, Never Repeat Yourself
When it rains, it pours. But that's good, in a way, because when a bunch of problems crop up at one time, they can all be taken care of at one time, so smooth sailing can be anticipated (though never expected) for a while.

My wife's computer registered some disk errors the other day while I was looking at it. She has an older machine, running Windows 2000, and we were thinking (still are) about upgrading it to Windows XP. She was complaining about it running slowly (hmm - possibly a trend here?), and so I took a look at it, which was when I discovered the bad sector errors in the system log. Among a few other things I'm not even going to address just yet.

We finally exchanged the used 120GB drive that Fry's sold to us for a new drive that should have been in the box from the beginning, and I installed that into my main computer and backed up all my data. It is comforting to know that I now have a copy of all my stuff!

But now I have the system drive from my wife's computer in my main computer and it is being scanned as I write this (gotta do something to kill the time). So far, I have seen only one bad sector, so this is a very good sign. But I am going to run HDD Regenerator on it to fix any bad sectors I find (hopefully) and then perform an image backup of the drive, which will probably run most of the night while I am sleeping. Then, tomorrow, I plan on attempting an upgrade to Windows XP with a disk I found that came with another computer (I am not very hopeful that it will work, since it was for a Dell computer). If it doesn't work, then we'll just have to obtain a new copy of WinXP and try again later.

Regardless, we're going to pick up another new drive to replace her ailing system drive. One bad sector is one bad sector too many - the drive is more than five years old, and runs often for days on end, so it is due for replacement. But one way or another, we're going to get WinXP on her machine. Then, if it is still not running to her satisfaction, we're going to upgrade the hardware. But that remains to be seen. We're re-thinking our whole computer situation, anyway, as she is wanting to get back into music, and we need a machine set up somewhere where we can do audio and video stuff. We have this nice, killer dual G5 Mac machine that is sitting in my workshop, so we're trying to figure out how we can carve out a space in the apartment to set it up for central use. I also want to get my main computer out of my workshop and into the apartment (somewhere), since I am tired of walking back and forth between the workshop and the apartment. The problem is the television. I can't work at the computer in the same room with a television. UGH!

That was the whole reason I moved out to the workshop to begin with.

Anyway, two more bad sectors just showed up on the disk scan. It's a little more than 50% done now. I hope this won't take much longer, as I want to get to bed at a reasonable hour tonight. I have to start getting to bed earlier, since I may be starting my new job this week. I also have a theatre audition tomorrow night, so I want to be well rested.

Once this scan is complete, I will run HDD Regenerator to fix the bad sectors, then start the backup and go to bed. I can't wait to get all this mess straightened out! It has been a monkey on my back for a long time, and it's a good thing I'm in the middle of doing something about it, now, since things are beginning to fail. Better to catch them now and nip them in the bud than to wait any longer and find myself crying myself to sleep.

Backups, backups, backups!

How do computer illiterate people deal with this stuff? I have been fiddling with computers since I was in high school (before the days of the PC). Took my first computer class in the summer of 1978! The more I learn about computers, the more they appear to run on smoke and magic. Everyone knows that if you let the magic smoke out of them, they stop working. But, with as much as I know about them, I still have problems with them. Actually, I may have more problems with them than most people, because I'm always tinkering with them. But I have at least been able to recover from many of the most serious problems I have encountered. But I can't imagine what the average person has to go through when things go wrong. But then maybe it's not so bad, because they can just hand their headache over to someone else to deal with it, and get their data back in exchange for a few bucks.

I wish I could pay myself for all the computer work I have done for myself! Hmm, maybe I should start a personal data recovery operation on the side...

OK, well I just keep typing because the disk scan is still scanning. It's about 3/4 of the way done now. Maybe 4/5ths. And I am really tired tonight for some reason. Maybe it was the pizza. Well, I am out of words, so I'll wrap this up here. No sense in boring you any further.

posted by Bill  # 10:38 PM
Monday, January 09, 2006
 
Those Evil Bits

It has been a while since I had a really good story to tell. I've also been lax about including pictures with my prose. Today, I think I'll make up for that a little.
New 120GB drive on left, used 20GB drive on right
It all started out rather innocently. I got a new Western Digital 120GB drive over the weekend (it's the black one in the photo on the left), and as I mentioned in a previous blog entry, the drive turned out to be used (if even only a little - at least it was manufactured in July of 2005) and was not only formatted, but also had an operating system installed on it - either Windows 2000 or Windows XP. I'm not sure - I didn't try to boot it. But the thing that bothered me most is that it could have been used by someone who had viruses on the drive that could have been transferred to my system as I installed it. Fortunately, that didn't happen...but it seems like everything else did.

Yesterday, I got the idea that I would get the backup thing together once and for all. And it all started with the computer that I believe was the original inspiration to start this blog. Oh, boy, here we go! This computer had been complaining for some time about a bad sector on a drive (my main data drive), but I could never track down what was causing it, and never took the time to scan the drive for media errors. To make a very long story very short, I had a long-term brain fart. After all hell broke loose today, I recalled that when I put this system together, I was very concerned about it having inadequate cooling, and I remember using it only for short periods of time, always with the thought in the back of my mind that I was going to install another fan inside sometime soon. Well, at some point along the way, that thought in the back of my mind faded away completely, and I began leaving the computer turned on for long periods of time. In fact, it has been on constantly now for months. It was even a nice warm place for our new kitten to sleep on when it got cold.

Needless to say, the drive was complaining about failing media. It was being cooked. Also, when I originally put this system together, I had a guy over helping me with the system, and he partitioned the drives very oddly. There were two 120GB hard drives inside, and one was partitioned with one primary partition (which became the C: volume), and one extended partition that was broken into four logical drives (E:, F:, G: and H:). I think C:, E: and F: were only like 10GB partitions, and H: was somewhere around 50GB. But I noticed - at least I thought I did - that the H: drive disappeared some time ago. I wasn't sure, however, thinking that maybe I was seeing things. I really never used that partition, so I didn't think much of it - obviously, if I couldn't remember for sure if it even existed. Well, I discovered last night that the H: partition not only existed, but was cooking, too. In fact, it was pretty well hard boiled and only showed up in the data recovery tools.

Rather than go into all the intricate details, I'll try to half-summarize the events that unfolded. I pulled out all my data recovery tools and went to work on the drives. I installed a new 250GB hard drive that I also got over the weekend and partitioned it into two roughly equal volumes, N: and R:. These were to become the data repositories for our network backups. So, now I had C:, E:, F:, G:, a hidden H: (though it showed up in the data recovery tools) on one 120GB drive, a D: volume that was a single 120GB partition on another drive, and now N: and R:, about 116GB apiece.
One Maxtor 120GB drive, over easyMy data drive, drive D:, was the original cooking drive, so I decided to back it up, first. I used my recovery tools to copy the contents of D: to R:. I then removed the D: drive, physically (seen in the photo) and renamed R: to D: to take its place. That was all well and good, and in the process, I discovered quite a few bad sectors on the original D:, and I also discovered that the system complained about it so much because the Google Desktop search was frequently stumbling over the bad sectors. Fortunately, it was only the Google Desktop files that were affected - all my other data survived. I then used another cool piece of software, HDD Regenerator, to actually recover (repair) the bad sectors on the original drive. Not sure how it does that, but it works!

So, I decided to use the old D: drive - which was now like new again - to replace the other ailing drive that contained C:, E:, F:, G: and H:. To do this, I needed to make image copies of all the existing volumes so I could restore them onto the replacement drive. I saved image copies to the new N: volume. I then re-installed the old drive and reformatted it and partitioned it into three partitions - roughly 54.5GB, 30GB and 30GB (there's really only about 114.5GB on the drive) - adding I:, J: and K: to the mix. I restored the image copy of the C: volume to I:, which was to become the new C: volume. This worked great, and was a test for some data recovery software I had not used in this manner, before.

But, when I got to the E: and F: drives, the image restore did not work properly. The partition information was somehow wrong. I determined it was because when my system was originally built, the guy who helped me set up the software did not really know much about what he was doing in regard to partitioning, and thus had created an extended partition that contained the E:, F:, G: and H: logical drives. Well, restoring an image copy of a logical drive to a primary partition just doesn't work, since there is no partition information to carry over from the logical drive. So, I had to resort to using my other data recovery tool (R-STUDIO) to simply "restore" the files directly from E: and F: to their respective new partitions, J: and K:. All the files that were on the G: and H: volumes, I simply "restored" (copied) to the new D: volume, since it was just data. C:, E: and F: all had applications intalled on them. Go figure!

So then it was time to remove the old, ailing, failing drive and see if the new drive would take the place of C: and actually boot.
The connector that went 'snap!'
Well, I ran into a cabling problem - in the process of switching the IDE cable around so much, the retainer clip broke off from one of the connectors and the cable no longer made connection. So, I had to dig up another cable and plug it in. I had success! Even the drive letters arranged themselves such that what was originally I:, J: and K: became C:, E: and F:. And, not only did it boot, but it was fast! Probably because it was no longer tripping over bad sectors, plus I now had the proper 80-wire cable installed to allow the drives to make full use of their data transfer capabilities. The computer was screamin'!

The guts of the beast in disarray
But things were still in disarray. Drives were hanging here and there in temporary arrangements. I had also installed two additional fans into the case, and the wires were hanging out here and there. I had not put everything in its final place or sealed up the case, yet. I should have done that next, but I took a rather long detour, first. I thought I would put the old C: drive back in and blow away the partitions (except for the cooked H: partition) and use HDD Regenerator to try to recover the drive media. It literally went to work on that drive for the rest of the day. Hour after hour, it fixed sector after sector. It was about 3/4 of the way through the partition when I finally decided the drive had had enough. It was too far gone for me to feel any warm fuzzies about re-using it for anything. I was hoping I could use it in my other computer so I could take back the other 120GB drive that Fry's sold me used and save some money instead of exchanging it for a new drive. But now it looked like I was going to have to exchange it afterall.

I pulled the sick drive (now door stop) out of the machine, thinking I was all set. This HDD Regenerator software runs from DOS, so I had not been in Windows the whole time I was running it. But the last time I booted Windows was on the replacement drive - and it was fast and smooth - so I thought I was all set. And maybe I was. However, something happened while I was securing everything into their final places. It was either Zoe, my cat, who decided it was time to pick on me just as I was installing the hard drive, or it was one of the many times that the power switch was turned off or on or the power cord pulled during this process, but the drive controller somehow got hit with a static discharge or power spike of some kind, because now it was dead! Suddenly, I had no system! My replacement system drive wouldn't so much as spin up, and the original drive was nothing but a door stop after having blown away all the partitions, etc. So, I just about shit a brick right then and there. Oh, I was MAD! Either the hard drive, or the computer, or possibly both, almost went over the balcony for real this time. Almost!

Fortunately, I decided to step out to the shop for a bit to cool off and chat with my wife in IM. She was getting close to leaving work about this time, and I told her that the resident evil had reared its ugly head again and that our marvelous beast had just given up the ghost. She said exactly what I predicted she would say, "why does this keep happening to you?" I don't know why - it just does. Perhaps I'm too careless or unfocused, or perhaps it was because I performed this operation on the floor of the "office" area rather than on my bench in the workshop. Whatever the reason, it was dead, and I had killed it, somehow.

I had few options. Only one, really, that I could think of, and it was a long shot. The drive that was working and the drive that was dead were both the same drives (Maxtor DiamondMax 9 120GB), except one had a 4MB buffer and one had an 8MB buffer. Of course it was the one with the 8MB buffer that had just died. But I had a wild idea - Drive undergoing surgery, its controller removed what if I swapped the controller boards on the drives, themselves? Would that work? Well, I had to give it a try. After all, I had nothing left to lose. I figured the drives were close enough to identical that it might actually work.

I carefully removed the boards from both drives and swapped them. I put my new system drive (now with the 4MB buffer controller board) back into the computer and turned it on. I soon realized the jumper was missing for setting it as a master on the IDE channel (the jumper plug was on the controller board that I swapped out). So, I put that in, and fired up the computer and...nothing. Well, it saw the drive, but it wouldn't boot from it, giving me some cryptic message to that effect.
I was disappointed and befuddled. Then I took a closer look and noticed I had not plugged the IDE cable into the drive completely! I pushed the connector the rest of the way into the socket, turned on the computer, and bingo! It booted! My system was back! Some of the drive letters had rearraged themselves (between the CD-RW, DVD-RW and hard drives), so I had to spend a few minutes and a couple reboots to straighten out the alphabet, and then everything was finally as it was supposed to be!
Everything connected, ready to close up
I then made sure all the cables were inside and out of harms way (what a nest in there!) and that the fans were all hooked up and running, and I sealed the beast back up and put it back in its slot.

My wife came home and I, of course, had to tell her the complete story of my new adventure into hardware land, and we ate, and now I am finishing up writing this account of the ordeal in my blog. The system is now up and running, with C: (54.5GB), D:(116.45GB), E:(30GB), F:(30GB) and N:(116.4GB) as the final configuration (with the CD and DVD ROM drives at V: and W:). I now have room to install software on the C: drive, and a couple sizable volumes for storing backup data. The next step is to get my wife's computer set up with the backup software on the network. Then I have to take this 120GB drive back to Fry's to exchange it for a new one so I can plug it into my main computer and get it backed up (I am setting up a mirror configuration there). And I also need to figure out what I want to backup over the network and get the backup software installed on my computer as well. Actually, I need another drive (something larger than 15GB) to replace my system (C:) drive on that computer so I can install more software. It is maxed out, and I need to install a few things. I also want to create boot disks for each computer, with a recovery plan, in the event of a crash, so we are always covered if we need to re-create a system drive. My wife also wants a new computer to replace the old, slow Windows 2000 beast she is using now.

Forgive me if I am just not looking forward to all the fun that lies ahead.



[1/10/2006] Update: The saga did not end here. Upon further examination before going to bed last night, I noticed the computer was getting quite warm, which was surprising, considering I added two fans to the case. But the power supply was excessively hot. I took a closer look and noticed the fan in the power supply was not turning. So, I extracted the power supply and opened it up (violating the warranty that has surely expired by now) and examined the fan. It was basically bone dry and seized. I oiled it up and worked the oil in until the fan turned freely, reassembled the power supply, and now it is working again.

On a more positive note, I discovered that the drive I am now using as the system drive (the one that I had to swap controller boards to get a working one) is actually the one with the 8MB buffer. Woo hoo! I thought it was the board with the 8MB buffer that died.


posted by Bill  # 7:43 PM
Sunday, January 08, 2006
 
Backup Prevention
So, I finally got around to setting up my systems with some backups. My wife picked up a couple new drives from Fry's for me that were on sale, one of which was a Western Digital 120GB drive. It wasn't until I went to install it that I noticed the drive had been re-packaged into the box it was in. It was shrink-wrapped and was taped up where the packaging had been previously opened. The drive inside had no anti-static bag around it, and the IDE cable was hanging out of a plastic bag that had been torn open. When I installed the drive into my computer, I noticed it was formatted and had an operating system installed on it!

Fry's sold me a used drive!

So, now I have to package it all back up and take it back to Fry's and make them exchange it for a new one. What a foible! I can't wait to see how much trouble we have getting the rebate check for the thing in the next few months.

Anyway, I now have the other drive hooked up (a 250GB drive) just so I can experiment with some data recovery software and procedures. I am creating an image copy of my system drive to see if I can just pull out the original system drive and plug in the backup drive and reboot successfully. Once I determine that that works, then I can go to Fry's and get the drive exchanged, then resume my efforts to get this backup stuff together. And I can also put the 250GB drive into the other computer that we are going to use as our central backup server. I have some backup software that I am going to install on all the computers on the LAN that will automatically back up our files over the network at night while we're sleeping. 250GB ought to last us a little while (I'm not going to put my video stuff on there).

If it's not one thing, it's another!

posted by Bill  # 5:36 PM