Secrets about hard drive recovery and wiping

Recovery. I found this link while messing around: 200 ways to revive a dead hard drive. I’ve used some of these methods myself in the past. I imagine I’ll get to use more of them in the future.

Wiping. I needed a program yesterday to securely wipe out a hard drive. I was just going to low-level format it, but Western Digital’s drive suite, whatever it’s called, refused to do anything to the drive because it was returning an error code of 0207. The drive still worked, but according to my Web search, an 0207 means imminent failure. Hey, that’s why I needed to low-level the drive–we got a replacement for it and had to send this one back, but the drive was in an executive’s computer and probably had sensitive data on it.

Incidentally, if you’re getting an 0207 and you’re here because you want to know what to do about it, back up your data immediately and get it replaced under warranty. No, it’s not practical to fix it. If it’s out of warranty, I’m sorry. Sadly, it happens.

But I digress. How do you wipe the drive to ensure no one’s reading your sensitive data? I found some DOS freeware to do it at my usual sources, but one of them wouldn’t run under Win9x’s DOS, and the drive is too big to be recognized under 6.22. Another one wouldn’t handle drives bigger than 2 gig. Another one seemed to work, but seemed awfully fast.

Disk wiping isn’t a terribly complicated thing, so maybe I should just write a program myself to do it. It’s been forever since I programmed, and I do kind of enjoy doing that… once a year. Or every couple of years.

03/23/2001

I’m looking for inspiration and having a terrible time finding any. That’s what happens when you only do one or two things all week. I’ve beaten Squid to death. There seems to be no incantation I can recite to make Office 4.2.1 run under Mac OS 9. And that pretty much sums up my week.

AMD released 1.3 and 1.33 GHz Athlons this week. They’re priced at around $320 and $350. For software development they’d be great. For video editing they’d be great. For emulating Amigas at wicked speed they’d be great. But what else would you do with that kind of processing power?

For me, the best thing about this chip is it means fewer people will want 800 MHz CPUs, so I’ll be able to get an 800 cheaper. That’s still insanely fast.

Reactions on the hardware sites are mostly predictable. The biggest surprise I saw was Tom Pabst over at Tom’s Hardware, once the most outspoken critic of the P4, is now calling it “certainly no bad product whatsoever.” Last year he made it sound like the spawn of Satan. But he still likes the 1.33 GHz Athlon better.

One nice thing about the hardware sites: when they overclock, you get a nice preview of what future CPU speeds will give you. The Athlon at 1.466 GHz severely outperforms the 1.5 GHz P4, not that most people will be able to tell a difference.

Apple releases OS X tomorrow. It will get mixed reviews. Finally there’s an Apple OS that has a prayer of being stable. Software compatibility is likely to be lousy. There are capabilities that are missing, such as DVD support–and wasn’t Apple the one who’s been saying DVD is so important all along that they made it next to impossible to buy a Mac without a DVD drive?

Chances are I’ll end up running it on a machine at work, and I’m sure I’ll like it better than OS 9. Whether I’ll like it better than Windows NT or Linux, I have no idea.

Historically, it’s always been better to wait for Apple’s dot-one releases. System 7 was an atrocity, while 7.1 was actually a decent OS for its day. OS 8 was promising but buggy, while 8.1 is probably the best version of the old-style Mac OS ever released. I never found anything to like about OS 9. I don’t have a whole lot of experience with 9.1 yet–we’ve still got a lot of machines running 8.6 at work because there wasn’t ever any reason to move them, and once I managed to get 9 working decently the last thing I wanted to do was go back in and change things.

I suspect OS X won’t come into its own until the dot-one release, or possibly even dot-five. This is a much, much bigger change than System 7 or OS 8 were.

Playing with Squid

Mandrake Squid. To turn a Mandrake server install into a Squid server, here’s all you have to do. Issue the command squid -NCd1 to build the cache directory structure. Then, issue the command mv /etc/rc.d/rc3.d/K25squid /etc/rc.d/rc3.d/S25squid so that Squid runs at startup (assuming your server’s set to run in text mode, as servers should be–why waste all that memory and CPU cycles keeping a GUI running when those resources can be dedicated to server tasks?). If it you boot and run GUI mode automatically, (maybe you want to run Squid on your workstation), add the command mv /etc/rc.d/rc5.d/K25squid /etc/rc.d/rc5.d/S25squid to the mix.

Now to start Squid, you can do one of two things. You can reboot, which is the Windows way of doing things, or you can just start the daemon, which is the Unix way of doing things. I like the Unix way. Run Squid’s startup script manually by issuing the command /etc/rc.d/rc3.d/S25squid restart. (There are other ways to do it too of course but I like this way.)

Single-floppy Squid. And just in case you haven’t seen everything yet, you can get a single-floppy FreeBSD-based Squid server. Head over to www.ryuchi.org/~ilovefd/1fdsquid/1fdsquidus.shtml for the goods. It uses the system’s hard drive for storage. You want a semi-powerful CPU (a Pentium-133 is sufficient for a small workgroup) and a fair bit of memory (I’m thinking 64 megs is the minimum). That’s less power than you need for a Windows workstation these days, but considering you can do a light-duty Unix-based fileserver with a 33 MHz 486, it’s a comparatively powerful machine.

03/21/2001

I accomplished two things yesterday. The first was to set up an experimental Squid Web cache at work. Then I left to go edit video. How nice of me. I hope it held up all day, but I suspect it didn’t have any problems. Linux is awfully reliable.

Mandrake makes it really nice. Basically you do a server install, then once it’s up and going, issue three commands and you’ve got a Web cache. I guess I ought to document what those three commands are, huh? I think they’re written down at work.

The system requirements are steep; you need lots of memory and lots of disk space

And now that I’ve had one, I want another one in my other office. There’s a 133 MHz Power Mac sitting over there with a big disk and a ton of RAM. It’s not useful for running Mac apps because it’s too slow. I think I’ll grab a PowerPC distribution of Linux, install it, grab Squid and compile it, and set it up for over there. Squid needs memory and a good disk subsystem much more than it needs CPU power, and this Mac has both. And I understand Linux loves RISC, so I suspect this’ll make a nice Squid server.

I also spent 7 hours learning how to edit video. This after a half-day at work. I’m emerging from the zone–I’m very difficult to work with because I’ll zone in, forget about my surroundings, and totally lose track of time and other things like food, drink, and rest. It’s almost totally like my body shuts down and it’s just my mind and my hands. Now I’m back, and it’s catching up with me, and sooner than I expected. It must mean I’m getting old.

At any rate… What I learned is that editing video with modern equipment is very easy. Stringing video clips together is as easy as stringing words together. After about four hours’ instruction, I was good enough to put together video that looks outstanding to the untrained eye. Making it look good to the trained eye will take another seven hours’ training and years of experience. I can get the training pretty easily.

Raw skills can be taught, and I guess I had some of them already. I already knew the Mac and I knew page layout, and video layout uses a lot of the same concepts (not to mention keystrokes). Some things have to be developed, and some things you’re pretty much born with. It’s too soon to know how much I lack is developmental and how much is innate.

I think it says something that I don’t even know what equipment we were using–I just ignored everything but the key commands used for stringing together video. I think that’s part of the secret. Pay no attention to the things you don’t need now. You can always learn them when you need them. Master the things you need now. Better to be A-plus at what you need to know now than C-plus at everything, including things you’ll never use and the things you need now. So what if you don’t know much? At least you know something.

And I know this: I want to do this on a PC.

Experiments running old Mac software on a new Mac

Mailbag:

Compressed ramdisk; partitioned HDD; ram limitations

Mac adventures. Nothing fun. Take my advice: Don’t bother trying to get MS Office 4.2.1b running under MacOS 9. Not that most people would try to run software that’s two versions back on a new system, but… I guess these guys didn’t have money left in their budget to upgrade their old software after paying too much for an iMac.

Now, on a PC, the answer’s simple. Multiboot an older copy of Windows. (But Office 4.21 runs just fine under newer Windows, but humor me.) I can run DOS 1.0 on a Pentium IV if I want to for some insane reason, to get the ultimate in backward compatibility. If there’s some CP/M-86 app I want to run for some odd reason, I can run CP/M-86 on a P4 too–it’ new machines is software that tries to access the IBM PC’s ROM Basic. Very few programs did. The compatibility problem you’re most likely to run into is due to programs not handling very high CPU speeds well, but that’s curable with slowdown.

Older Mac software is very hit and miss with newer versions of the OS, and you can’t do backlevel OSs on new Macs. Whatever the current OS was at the time of a model’s introduction is generally the oldest OS you can run. There’s no booting into System 7.5.5 on your G4 for optimum compatibility with a legacy app you need that hasn’t been updated.

I almost resorted to trying to run it in the vMac Mac Plus emulator , but I found the hard disk files too cumbersome to deal with–getting files into them is really a chore, and besides, vMac didn’t seem too interested in mounting a hard disk image–only floppies. It’s a real shame the excellent Basilisk Mac II emulator hasn’t been ported to the PowerMac.  I’ve used it to run 68040- software on Windows PCs in a pinch numerous times, and fast PCs emulate the 040 much faster than the real thing. A Mac Basilisk port would be a very workable solution for running finicky older software on newer machines.

Later, I spent a couple of hours trying to get an Epson Stylus 850 printer working on another iMac with a USB-to-parallel adapter. Usually it works flawlessly. This one doesn’t want to play. I got rid of the “port is in use” error I had been getting by uninstalling and reinstalling the driver (my last resort, after trashing the printer preferences, AppleTalk preferences, and everything else I could think of in the Preferences folder, then zapping the PRAM by holding down Cmd-Option-P-R at boot time and letting it chime seven times), but then Chooser asked whether the printer was connected to the printer or modem port. Answer: neither. It’s an iMac. It’s connected to USB. I humored it by trying both phantom ports, but neither setting worked. Then I downloaded a patch from Epson’s Web site and installed it. The port-in-use errors came back. Lovely. I gave up for the day. Macs are supposed to be easier? Hardly. Maybe they’re a little easier to use (I doubt it) but they sure are a lot harder to fix.

Along the way I found this useful list of extensions and control panels though . So something good came of all this.

Mailbag:

Compressed ramdisk; partitioned HDD; ram limitations

03/19/2001

Another useful hidden utility. If you’ve never used Sysmon.exe, remember it. With Windows 98 and newer, you can use it to track CPU usage, memory usage, and disk throughput (usunted information, I always searched the Web. When I wanted useful information, I hit DejaNews. Sure, there was a lot of junk out there, but 50% of it was good stuff, and most of that never made it onto the Web. I never did find any useful information on the Asus SP97V motherboard on the Web, because the hardware sites weren’t into it. I found out what I wanted to know about it from DejaNews. When I wanted to know how to get Windows NT Workstation machines to authenticate against an OS/2 domain, I found out how on DejaNews. When I needed information about XTs and ATs for some insane reason, I hit DejaNews.

I spent a little time in the comp.sys.ibm.pc.hardware hierarchy for old time’s sake yesterday. I’m sure I’ll get a ton of spam now because I probably didn’t spam-filter all of my e-mail addresses, but that’s OK. It was pretty fun. I’ll have to do it again someday soon. It’s the closest thing I can find to an old-style BBS that still exists and has a sizable community. The scary thing is, some of the old WWIVnet message boards had a bigger community than comp.sys.ibm.pc.hardware seems to have. The questions I answered were hardly difficult ones, and some of them had been sitting for a couple of days, which never would have happened on WWIVnet. And I know WWIVnet wasn’t even the biggest of the BBS networks, it just happened to have a lock on the St. Louis market in the late 1980s and early 1990s. I wonder where all those wizards went?

I ought to install a text-based newsreader on my Linux box to give myself a more authentic atmosphere though. This stuff just doesn’t look right when it’s running in a GUI. Not to me at least–back when I was dialing up BBSs, nobody ever ran Windows. At the very least, it should be running in a terminal window. Hmm. Maybe next time…

Even if the community is smaller, Usenet does have one big advantage over the old-school BBS though: No busy signals.

03/18/2001

About DDR… I should have stated the difference between the two types yesterday. PC1600 DDR runs on a 100 MHz double-pumped bus. PC2100 DDR runs on a 133 MHz double-pumped bus. Obviously PC2100 is much more desirable, providing about 33% as much bandwidth. Crucial is selling PC1600–a fact I didn’t notice–at the price of PC133 SDRAM. That’s less than 50 cents a meg. They aren’t currently selling PC2100 directly, which is what you probably want. PC2100 is currently selling for about a dollar a meg from other sources.

The short term bang-for-the-buck option is to go with a KT133A-based board, a 133 MHz FSB Athlon, and PC133 SDRAM. You’ll get 85-90% of the performance for $100-$150 less. Long-term, however, a DDR solution will make more sense from a performance standpoint and an economy-of-upgrading standpoint. Take a look at what EDO memory costs today and you’ll see what I mean. It’s more expensive than Rambus memory–while Rambus sells for about $2 a meg, antiquated EDO memory sells for about $3 a meg. The price of FPM memory, an even older technology, is over $3 a meg.

So… If you’re swapping out a motherboard and can afford PC2100 DDR, it makes sense to go ahead and get a board that uses it.

What’s this PCxx stuff mean anyway? It’s fairly easy to understand SDRAM monikers–PC100 means the memory bus runs at 100 MHz, PC133 means the memory bus runs at 133 MHz. But manufacturers have gotten ridiculous with the naming schemes of new memory. Along comes Rambus with PC600, PC700, and PC800 memory. But the slowest Rambus memory isn’t 4.5x faster than PC133–far from it. And then comes DDR, not to be outdone, calling itself PC1600 and PC2100.

Here’s what it means. PC600 Rambus is running at a memory bus speed of 300 MHz. PC700 Rambus is using a 356 MHz bus speed. And PC800 Rambus is using a 400 MHz bus speed. CPUs still run at their old bus speeds of 100 or 133 MHz when using Rambus.

Now, PC1600 DDR runs on a 100 MHz bus, while PC2100 DDR runs on a 133 MHz bus. Their names refer to the amount of memory bandwidth available.

So, PCxx isn’t a direct comparison of speed at all. Comparing SDRAM, Rambus, and DDR by their names is like comparing apples, oranges and bananas.

And now for something totally different…

The height of hypocrisy. The RIAA is saying  that paying royalties to songwriters for their work is too difficult–a similar argument to the one Napster used in its defense. The RIAA can’t have it both ways. (Never mind everyone else has to pay to use the songs, and rightfully so.) Hopefully the government will agree. Otherwise the only thing the past year has proven is that the RIAA can bully around anyone who’s smaller than they are.

The story goes like this. Now that the RIAA has turned Napster (who had little ground to stand on) and MP3.com (who had all the ground in the world to stand on) into shells of their former selves, they’re poised to launch their own online service(s). But the RIAA, who represents the record labels, has tried to cut the NMPA, who represents the songwriters, out of the deal.

I’ve heard people advocate pirating music, then tracking down an address for an artist and paying the artist directly. That’s more honorable than paying the RIAA. An honorable and legal approach is to just buy music from artists who also own their record label–when you constantly bend the rules in your favor, it’s hard to keep friends, as the powers that be at the RIAA seem to have not learned on the grade-school playground.

03/17/2001

PC133 prices. I wrote last week that memory prices were about to jump, after reading a piece in The Register. Then I read something in The Register yesterday, after the prices of 128-megabit chips fell, quoting an NEC exec as saying NEC doesn’t expect memory prices to rebound until next year.

So… Nobody knows what memory prices are going to do. It’s truly like buying gasoline right now, isn’t it?

But the point will soon be moot for a lot of people anyway. Tom’s Hardware reviewed three AMD 760-based boards this week . A look at Pricewatch confirms these boards aren’t widely available yet (I found two listings on the Biostar board, two listings on the Gigabyte, none on the Asus, and a listing on an AOpen board), and Pricewatch hasn’t set aside an AMD 760 category yet, but by searching Pricewatch for AMD 760 you can find boards. The Biostar is currently the least expensive by far, but having used Biostar boards on occasion, I definitely prefer Asus, AOpen and Gigabyte.

Prices on an AMD 760-based board range from $129 to $189 before shipping, and these are bottom-feeder vendors so you know they’ll charge you $20 to ship it if they can find any excuse to do so.

If Intel’s your game, it’s easier to find a P3 DDR board based on the VIA Apollo Pro266 chipset. Pricing is very similar to the AMD 760 solutions, and availability is wider. As for performance, the only review I’ve seen of the Gigabyte GA-6RX was disappointing, but seeing as AnandTech doesn’t care about anything but overclocking CPUs and Gigabyte couldn’t care less about overclockers, that’s not too much of a surprise. But common sense must prevail here: If I just spent $450 on new DDR-capable kit, why would I immediately set out to overclock it and potentially burn it up?

Part of the problem might well be the Apollo Pro266 chipset. Tom’s Hardware has said the best-performing DDR chipset is the AMD 760, period. And of course Intel’s not about to give AMD a license to produce P3 chipsets, and AMD wouldn’t produce a P3 chipset even if Intel begged them to do so.

DDR memory. As for DDR memory, Crucial is still selling PC1600 DDR for the same price as CAS2 PC133 SDRAM. That’s considerably higher than you’ll pay for bottom-feeder PC133, but seeing as no one should be buying that stuff anyway, that’s a good price.

The outlook for upgrades. You may easily pay $180 or more for an AMD 760-based board right now. A 1 GHz Athlon with a 266 MHz FSB will run about $220, and 128 MB of PC1600 DDR will run $55. So you can be in a DDR-based system for right around $450 before shipping, which is considerably less than I paid to get into a Pentium-75 with EDO memory back when a Pentium with EDO was the thing to have. There’s no point in doing it if you’ve got a recent system because the performance increase isn’t spectacular, but if you’re upgrading an aging PC or building a new system outright, DDR is definitely worth a look. If you’re already looking to spend a fair bit to replace a motherboard, CPU, video card, and hard drive, the extra $100 you’ll spend to get into DDR looks like it’s worth it.

03/16/2001

Mailbag:

Questions; CS UK; Music

Why didn’t I answer any mail last night? Because I was getting cultured. My friend Jeanne was planning a trip to a natural foods market called Wild Oats and asked if I wanted to come along. Another friend had recommended I go there to get some soy powder when she found out I’d temporarily become a vegetarian. So hey, why not? I’ll try anything once, right? Well, not quite anything, but what harm can it do?

An irony hit me, of course. The natural market called Wild Oats… A juice place in Columbia called The Main Squeeze… Why is it so many health-related places use double-entendre names? I mean, strip clubs aren’t that provocatively named. Oh well.

So I got there and I noticed an awful lot of signs that said you had to pay before you started eating. Isn’t that common courtesy? Sheesh. The first thing I set out to get was an eggplant. I know I can get eggplant at the regular grocery store, but hey, I was there, so why not? Besides, maybe organically grown eggplant is better for you. I just have a suspicion that eggplant would make a killer pizza topping. So I got myself a nice one-and-a-half-pound eggplant while Jeanne talked about this guy who used to wander around town holding an eggplant like a baby. Hey, I might be eccentric, but I’m not that eccentric.

Then I spied alfalfa sprouts, which I suspect would make a great soyburger topping. Probably even better on beef, but hey, I won’t be eating that for a while yet. Unfortunately they only sold those in huge packages that’d probably last me a month, but I doubt they’d keep that long. Then I spied seeds. “Make your own sprouts!” it proclaimed. A 4-oz. package of seeds is supposed to make several pounds of sprouts. Hmm, $2.99 for that, versus $1.99 for a pound of alfalfa I’ll end up throwing out because most of it goes bad, and I can make whatever quantities I want… Easy decision.

We walked down the vitamin/mineral/herbal aisle. I picked up some manganese because it’s hard to find. And I found soy powder in some manly-sized containers. My friend Brenna had said to put a scoop in the blender along with some fruit. Cool. I had my powder, now all I needed was some fruit and a blender… Then I realized a manly man doesn’t need a blender. Why blend with a blender when you can blend with a Dremel?

We walked down the snack aisle, where I spied Soy nuts. Barbecue flavor. “These’ll be good for my image,” I said, grabbing a bag. I’ll keep the empty bag at work when I’m done with it. Cubicle decoration.

We walked up and down the store. In the pet food section I spied something curious: vegetarian dog food. I picked up a can. “Yes, some people force it on their dogs too.”

“Forcing vegetarianism on your dog is just wrong,” I said. “It’s not natural.” I half-regretted it afterward, seeing as there were probably a lot of vegetarians around, but I didn’t get any dirty looks.

I noticed Wild Oats was very heavy on people with dreadlocks and tattoos. I noticed I got a few looks, mostly from girls. I suspect it’s because I was dressed conservatively. Not that there’s anything at all wrong with looks from girls, mind you.

“I bet I was the only Republican in there,” I said as we left the store. Jeanne laughed. “I should have applied for minority status.”

And after we walked out to the car in the rain and drove off, I realized I hadn’t inspected the lot too closely. “Was that an SUV liberal place?” I asked.

“Yes it was,” Jeanne said.

I said there weren’t many things more hypocritical than a big, oversized SUV with environmentalist bumper stickers on it. She agreed.

Mailbag:

Questions; CS UK; Music

03/15/2001

Fun problem today. A system decided it couldn’t find HAL.DLL at boot time. The result: a dead PC. “Replace the file,” it says. Yeah, that’s easy to do when the system won’t boot! Chicken and egg, anyone?

There is a read/write NTFS driver for DOS  floating around out there, but all of the non-Microsoft NTFS drivers that try to write NTFS have risks involved. I’ll use these tools for data recovery, but I’m nervous about trying to use them for disaster recovery. The chances of creating a bigger disaster are just too great–NTFS isn’t a simple filesystem and it’s poorly documented.

So, the safe solution is to grab the appropriate install CD (NT4, Win2000), and boot from it as if you’re going to reinstall. It’ll ask whether you want to install or repair an existing installation. Choose repair. It’ll offer to do a whole bunch of things. De-select everything but checking the system and boot files. Let it do its thing (it’ll take a few minutes), then pull the CD and reboot. You’ll be back in business–almost. Reinstall the current service pack to avoid the mismatched files problem.

This solution works when HAL.DLL, the NT kernel, or any number of other system files decide to take early retirement on you. At least the fix usually only takes a few minutes.

If you’re an aspiring IT professional, or if you’re looking to get a new job, or you’re up for review, remember this. It seems to be a frequent interview question, and for some reason people are really impressed when you know this.

And no, HAL.DLL didn’t pop up and ask, What are you doing, Dave? at any point during the repair.

Fun discussion today. I was talking about Internet dating, for some reason. And a colleague(?) whose opinion I really value said a few things that got me thinking. “You’re a lot braver than I am,” she said. Ahem. I’m not sure that’s the word I’d choose, not in light of The Register‘s story  My Internet Love is a Corpse-Hoarding Granny . Not that this is a level of journalism anyone should aspire to, but it was good for a few laughs in the office.

Hmm. I know my sister spent more time in chatrooms online than I ever have. Hey, Di, I know you met some real creeps online. You ever meet anyone that bad?

Anyway. My coworker talked about the risk of disappointment when you finally see the person–definitely a valid concern–and wondered about the initial chemistry. I think you can get some of that, but the problem is your imagination can tend to take over and it’s easy to make the person into something else. I read an interview with Aimee Mann some time ago. The interviewer asked what a particular song was about, and she said the best part of a relationship for most people is the beginning, because you can make the other person in your own mind into a creature that doesn’t exist. That’s even more true on the ‘Net.

But that imagination can set you up for disappointment. That person could end up being even better than you imagined. Or they could be totally different, your mind can translate “different” as “worse,” and then it’s crash and burn time.

I know it works for a lot of people so I’m not gonna knock it. I thought the potential downside she raised was interesting and something I’d never really thought much about.

And that’s good. I had a brief discussion with Dan  yesterday, and I guess I raise some things a lot of people never really thought much about. I’m glad someone’s keeping me on my toes.