HP Compaq nx6125 or Agency Series laptops boot Windows XP wacky, due to weird drive geometry.
I had a customer’s machine, an HP Compaq nx6125, also known as an HP Agency Series HSTNN-C12C. The hard drive was failing, so naturally, it needed to be imaged to a new drive and replaced.
I yanked the drive, used Ghost on another PC to image the drive to an image file, then drop the image on a good one. Then, I installed the good one in the laptop. It would not boot. All I got was a blinking cursor.
Naturally, I thought that there was some sort of weird boot sector issue, so I booted to the Windows XP CD and used both FIXBOOT and FIXMBR, to try to correct this. No joy.
I then tried some tools to extract the boot sector from the failing, but booting, hard drive and then write them to the working drive. No success. Next, I tried googling the issue to see if anyone else had this problem. The answer is YES, but noone found a proper solution, or at least they didn’t report their findings.
For giggles, and to isolate some weird kind of “this machine requires it’s original install discs to do something weird to the boot sector” issue, I tried a clean install of Windows XP on the good drive. The machine booted into Windows. AH HA!
My guess was that the laptop has some sort of weird hard drive geometry configuration, so I checked the BIOS. It wasn’t any help. It’s one of those “this is an OEM machine and you are a stupid user so we disable access to any and all useful techie settings because we don’t want you to break it you idiot,” types of BIOS. So, I pulled a solution out of my a**. If a clean install of Windows creates a proper boot sequence, and the files I want are on the old drive, lets just do a clean install, and then overwrite the new drive’s files with the customer’s data.
I began a Windows installation on the new drive, and just after the second part of setup came up, you know, the GUI part, I shut the machine off. Then, I yanked the drive, and attached it and the old drive to another machine. I then used Microsoft’s ROBOCOPY tool with the /MIR, /W:0 and /R:0 switches to forcefully overwrite ALL the files on the new drive with those from the old drive. This gives me the customer’s data, OS, programs and everything, but this time with a working boot sector.
Put the new drive back in the laptop, and voila, it boots up to the customer’s installation. Everything is hunky-dory.
I love being a technician.