hal.dll Is Missing

I’ve had this issue almost as many times as I’ve had the NTLDR issue. So I decided to be a great guy and explain how I fix(ed) it.

Here’s the error: Windows could not start because the following file is missing or corrupt: \system32\hal.dll. Please re-install a copy of the above file.

1.) Boot off your Windows XP Disk
2.) If you require a HD driver (if you use SATA for example) make sure you have a floppy of the SATA drivers handy – you will need it.
3.) After the setup finishes loading, press R for repair.
4.) A recovery console will appear, select the installation of Windows you want to repair (usually C:\Windows)
5.) Type in your administrator password. In most cases this is actually blank.
6.) Type BootCfg /Rebuild (this will take a while, select the option ALL).
7.) You will have to select a few options here if you have more than one Windows bootable drive. ALL usually works just fine.
8.) Enter Load Identifier shows up. Type in something you’ll remember (I usually type TESTing)
9.) Enter Operating System Load Options shows up. Type /fastdetect

10.) Type exit. You should be done.

Installing NANO instead of PICO

This is a Linux type issue, so if you use Windows you need not read. I love having simple text editors. Who likes knowing how to exit out of VI or how to get the menus to work on emacs? And who has even heard of, let alone used, ee?

I grew up on PICO. Pico comes with most basic installations of Linux because it’s packaged with PINE (the email client). Pico gets the job done whenever I’ve needed it. I like using EE more, but it’s also harder to find on every system (FreeBSD is great). Enough buzz words? OK, on to the meat of the article.

Since no one likes to install extra software (you need to install PINE in order to get PICO on a system), I found a program called NANO. Here’s the simple steps to get it to install:

Oh, be warned that it requires at least a simple C+ compiler (oops).

Open up a terminal session.
type “wget http://www.nano-editor.org/dist/v1.2/nano-1.2.5.tar.gz” without the quotes
cd to the directory you downloaded the tar.gz to.
type “gtar xvvzf nano-1.2.5.tar.gz” without the quotes.
cd into the nano-1.2.5 directory.
type “./configure” without the quotes – this will tell you if there are any problems before compiling the program.
type “make install” without the quotes – this will actually install the required files into sbin and usr directories.
after the installation is finished, you can type “nano” or “nano {filename}” and run this very simple text editor.

Windows XP Hidden Files Boot.ini

Working in an IT environment, I find myself needing to make a lot of visual basic (.vbs) and batch files (.bat). Windows XP, in it’s infinite wisdom, defaults to hide the file name extensions that I need to change. Here’s a simple diagram on how to view these file extensions.

main window

Here you’ll see that I tried to make a batch file (.bat), but it’s still just a text file. Windows naming is then “batchfile.bat.txt”. In order for this file to run as a batch file, it needs to be “batchfile.bat”.

folder options

In any Windows explorer window, click on “Tools” and select “Folder Options…”

Then you’ll see this window:

folder options window

If you uncheck “Hide extensions for known file types” you will be able to see .doc, .bat, .txt, .html, .rtf and the like.

If you select “Show hidden files and folders” you’ll be able to see most of the hidden Windows folders and files throughout the system.

If you uncheck “Hide protected operating system files (Recommended)” you will be able to see the boot.ini file and edit it as well.

NTLDR is missing

NTLDR is missing Press any key to restart.

Quite possibly since the first time Windows 2000 came out, this error has shown it’s ugly face many times. Finding information using google, I came across a fair number of sites that offered advice. Trying out some of them (even using windows crafty boot disks) I find that the easiest answer is found by using the Microsoft Windows disk itself.

Instead of making various ISO’s, burning CD’s, creating floppies etc, just throw in the Windows CD. In this case I’m going to be using a Dell OEM copy of Windows XP Pro SP2. It shouldn’t matter what copy you use, it’ll fix just the same.

Step 1: Boot off the CD. If you don’t know how to boot off the CD, you can search google for the answer.
Step 2: After everything is loaded, the installer should recognize that you have a Windows OS already installed. If it doesn’t, then check the cable connections to your HD. If those are fine, get a new HD – yours is fried.
Step 3: Choose Repair. This will bring up a black screen with some white text.
Step 4: Select your Windows installation – usually there is only one, it’ll tell you C:\Windows or D:\Windows etc, with a number next to it. Select the number and hit enter.
Step 5: Type FIXBOOT then enter
Step 6: Type Y, hit enter
Step 7: Type CD \, hit enter
Step 8: Type COPY D:\I386\NTLDR C:\, hit enter
Step 9: Type COPY D:\I386\NTDETECT.COM C:\, hit enter
Step 10: Type ATTRIB -H -S -R NTLDR, hit enter
Step 11: Type ATTRIB -H -S -R NTDETECT.COM, hit enter
Step 12: Reboot.

This should fix it right up. NTLDR errors are usually caused by a corrupted BOOT.INI file, and these steps will help recreate a working boot file.

Running more than one copy of Gaim

Since I’m a computer geek I usually have multiple AIM names on at the same time. Some I don’t even use anymore, they just sit online and twiddle their thumbs in the air while singing Incubus songs. But anyway, I’ve been using AdiumX (Macintosh) and Gaim since, well, a long time now. Adium since pre-alpha days, and Gaim before it was even ported to Windows.

Well, after finally getting rid of Windows 2000 Pro SP4 and installing a fresh copy of Windows XP Pro SP2 right over top, I found myself wondering how come I couldn’t open more than one copy of gaim.

Gaim Instance Error

I don’t like being limited, especially when it comes to computers and especially especially when I was not limited before. It’s like they don’t want me to use their product to it’s full potential. Obviously I had to find a way to fix this situation.

Follow these easy steps. This works with Windows XP Pro, Windows XP Home, and Windows 2000 Pro.

1.) Click “Start” and right click My Computer (Or if you’re My Computer icon is on the desktop you can do it there – OR you can hit Windows Key + Pause Break)
2.) Click on the “Advanced” tab

3.) Click on the “Environment Variables” button

4.) Under “User Variables for ” click on the “New” button.

5.) In the first box type “GAIM_MULTI_INST” and in the second box type “C:\Program Files\Gaim\gaim.exe”

6.) Hit “OK” a couple of times and you’re done. Now try opening another GAIM client.

Gaim Instance 2
Obviously if you installed Gaim into a different directory you must point to the gaim.exe where you installed it. Easy huh?

If you have a neat trick and want to share, just e-mail me the information. Thanks!

EDIT 08042008
This one really hasn’t been an issue as of the GAIM to Pidgin name change. You can have as many buddies signed in under a single application as you want now.

Purchasing a new computer

Purchasing a new computer can be a daunting task: do I need 512 megamothers of RAM? How big of a hard drive do I need? What’s the difference between gigahertz and LCD size?

Hopefully that we all know the difference between GHz and LCDs. But the sheer number of choices can overwhelm most normal computer users and, in some cases, even savvy ones. And while there is no set rules for picking out a computer, I’ll try to go over some of the more usual configurations.

Coming from a background that worked intensely with new configurations, as well as building my own systems, I feel confident that I can find a system that’s right for you. Most of this article assumes that you have at least a little bit of knowledge with computers and hardware configurations. If you have no knowledge (or you’re lazy), just scroll to the bottom for a recap of all the computer informations. This article also assumes that you are going with a x86 computer (IBM compatible) that runs Microsoft Windows.

Processor Speeds and Other Requirements

Computing power usually doubles in speed every 18 months. Yes, that’s right – every 18 months your computer is very much out of date. Luckily, for most users, the processor speed means actually very little. In all reality, a computer with 1GHz of speed can run all of your web browsing, e-mail typing, and music playing needs. All at the same time.

What about all this “Pentium” and “AMD” processor mumbo jumbo. It all is really mumbo jumbo. Sure, AMD has released 64-bit processors (which can handle roughly double the data points that a standard 32-bit processor can handle), but there is very little software out there written to take advantage of this new chip. In the future it may be more worthwhile to choose a 64bit processor, but remember about the 18 month rule. Getting back to the point: AMD and Intel fight with one another to create newer better chips. If you are going to build your own computer I’d suggest going with AMD, as AMD is known to be the best bang for the buck (ie cheaper). It’s much harder to find a system built by a major manufacturer that uses AMD chips, especially in server applications.

So what chip and what speed do I need? Well, that depends on what you need a computer for. 90% of the clients and customers that I’ve serviced only use their computer to 1.) surf the internet, 2.) e-mail people, 3.) use Word and Excel, 4.) rip and listen to music. If you fall into this category then you only need the slowest new computer you can buy – 1GHz or higher, 384MB ram, 20GB hard disk, ANY optical CD-ROM. Just make sure that the computer has a Monitor port, audio jacks, and an ethernet port (or modem if you’re stuck on dialup).

Well, CompyDood, I game – so what do I need? I always suggest that gamers build their own systems. Building your own high-end system will save you a ton of money and you’ll end up getting something you want without things you don’t want. Building a low end system will actually cost you more money than if you just buy a low-end Dell or Compaq system. Gamers should have at least: 2GHz, 128MB Video Card, 1GB RAM, 80GB hard disk, ANY optical CD-ROM, digital sound card, 350+ watt power supply, decent cooling case. My main rig? It’s 2.86GHz, 1.5GB RAM, 128MB Video, 560GB hard disk (don’t ask), 8x4x8 DVD+-R, onboard digital sound, 350 watt power supply, good cooling case.

All About RAM

Before I continue, RAM is memory. Memory is RAM. Memory IS NOT hard disk space. If I ask you how much memory your computer has and you respond with “20 gigabytes”, I know you’re lying. And not very computer literate. Illiterate even.

I was once told, by a sales person at a certain blue logo’d store, that the more RAM I have installed on my system the faster things will run. By that logic, I’d be able to compete with IBM’s Big Blue supercomputer as long as I had enough RAM. As operating systems advance, the internet becomes more multimedia dependant, and people start to edit pictures and movies, we use up more and more RAM. To put it in perspective, Windows 95 needed 33MHz and 8MB RAM to run. Windows XP needs 233MHz and 64MB RAM just to run.

Now I’m not saying that you should only need 64MB RAM to run Windows XP. That’s the minmum to get it to install and actually boot up. In my mind, 256MB should be the minimum. With 256MB, you can have a few Internet Explorer windows open, the main operating system (Windows itself), and maybe Word, Excel, and Outlook. Sometimes the system may seem a little sluggish, but that’s because it is starved of RAM.

Since the Hard Disk is actually the slowest part of the computer, the less times the computer needs to access Virtual Memory (Swap file/paging file) the better. So, in my eye the minimum to run Windows and a few windows applications is 256MB. You want better performance? Upgrade to 512MB. You will notice a difference. Upgrading from 512 to 1GB you will not notice much (if any) real difference in speed. Upgrading further you’ll notice even less. A system with 4GB of RAM will run about the same as one with 2GB. Normal users will need between 256 and 512MB of RAM, while gamers will need between 512MB and 2GB.

Laptop or Desktop

I know some people that swear by their laptop. They even game on it. Laptops are not meant to be gamed on. I’m sorry to bring that to your attention. Laptops, like all computers, are tools. Tools should not be played with. That being said, it really just boils down to if you need portability or upgradability. If you will do video editing and need 500+ GB of hard disk storage, a laptop will not cut it for you. If you game all the time and need an amazing SLI graphics card, then a laptop will not work for your needs. But if you travel all the time and require remote access VPN support and wireless internet, then a desktop probably wouldn’t be your best bet.

Remember that laptops are stolen much more often then desktops. Laptops also break more often. Laptops cost more per feature. They also offer limited upgradability.

But CompyDood, what about a “desktop replacement laptop”? Desktop replacement laptops are just that – a desktop replacement. They offer high-end speed, but at a price. They weigh multiple pounds more than their counterparts, cost much more, and last small percentages of the time on battery power. Most you can ever have in a laptop is a 120GB hard disk, 2GB RAM, a 256MB mobile graphics card, and a DVD-Burner. Desktop limitations? Well, my perticular motherboard only supports 4GB RAM, and a single 512MB graphics card. A newer motherboard can support 16GB RAM, dual 512MB SLI graphics cards, and multiple upgradable 64-bit processors.

Extended Warranties/Preinstalled Software

Extended warranties for big screen TV’s, cars, and other large appliance-like purchases is OK. An extended warranty for something that cost you less than $1000 and will be worth less than $200 by the time it breaks is NOT a good idea. Unless you can get the warranty for in-house repair and it’s almost free (or even free), then I’d say don’t go for it. Now, if you’re one of those people that doesn’t know computers at all and ends up calling technical support 3 times a week, get the warranty. You’ll save yourself money in the end. Otherwise, don’t bite.

Preinstalled software is one of my biggest pet peeves. Sony and Toshiba have agreements with almost every single software manufacturer out there, and they make it quite well known when you turn on their machines. A fresh copy of Windows XP (not on a laptop) should have 17 active processes running. A Sony or Toshiba system starts it’s life with over 40 running processes. That slows your computer when it’s booting up, while it’s running, and when you need to shut it down. First thing I’d do is uninstall any software you won’t/don’t use. Don’t know what software you can uninstall? If you find yourself using it, then it’s probably a good idea to keep it. That’s really about the gist of it.

Conclusion – Scroll here if you’re being lazy

Normal user: Web surfer, e-mail writer, music listener to – Minimum 1GHz, 256MB RAM, 20GB HD, onboard video, Windows XP Home (or Windows 2000 Pro SP4)

Power user: Web surfer, e-mail writer, music listener to, photograph editor, CD burner, occasional gamer – Minimum 1.8GHz, 512MB RAM, 80GB HD, AGP or PCI-x graphics card/onboard video, Windows XP Home/Pro (Win2000 Pro SP4)

Extreme user: Web surfer, programmer, e-mail writer, music composer, photograph and movie editor, DVD authoring/CD burning, occasional gamer, copier of large files, downloader of everything, graphic designer – Minimum 2.4GHz, 1GB RAM, 120GB HD, AGP or PCI-x graphics card, Windows XP Pro (Win2000 Pro SP4)

Gamer: Web surfer, e-mail writer, music listener to, photograph editor, CD burner, hardcore gamer, downloader of everything, copier of large files – Minimum 3GHz, 1.5GB RAM, 120GB HD, PCI-x dual SLI graphics cards, Windows XP Pro
These are very rough estimates. All GHz ratings are for Intel based chips running in 32-bit mode. AMD chips are named according to their competition (3200+ is roughly a 3.2GHz Pentium). 64-bit and centrino based chips are not included, but if you’re feeling mathematical you can just multiply my MINIMUMS by 70% to find what you need.

Ramblings Of An IT Person