When it hits the fan: Restoring Windows XP via ASR


My main HD appeared to be failing, so I got a replacement drive and attempted to firstly clone, then ASR Restore my Windows XP installation to it. I am a veteran of umpteen OS installations, but this is the first time I've ever actually needed to do a full restore. It wasn't pretty, and here is my story. But first, for the impatient, the summary:

  • The Clone Disc feature of the Seagate DiscWizard program was worthless: it neglected to write a single byte to the replacement disc
  • Making an ASR Backup of XP is the easy bit
  • Restoring an ASR Backup requires drivers that you may not actually have, and without the restore, you may not have the drivers, and <infinite loop>...
  • ASR Backup does not back up your internet cookies, or your actual boot sector (but that might be a good thing)
  • Dell Diagnostic CDs are not useful for text mode drivers (that I can tell anyway)
  • If running XP, make sure you have a floppy drive and some floppies, in case it All Goes Horribly Wrong
  • PATA has some advantages over SATA when OS reinstalls are concerned
  • If you do regular backups (and you should), try a Restore at least once to make sure you can do it, before you need to do it

And now for the nitty gritty details:

The Maxtor ST380013AS 80G drive in my Dell Precision 370 appeared to be working fine, but when I ran the wonderful SpeedFan program on it, I was told "warning: Raw read error rate is below average limits" and "Hardware ECC Recovered is below the average limits". I hadn't appeared to have lost any data, but the drive wasn't particularly happy. The Seagate SeaTools diagnostics (Seagate bought Maxtor) told me that both Drive Self Tests failed too, so Dell Support sent me a replacement drive (WD 800JD). I connected the replacement drive, then ran the Seagate DiscWizard tool on it which has a Clone Disc option. I ran that, the machine rebooted, then did something for a bit then proclaimed it was done. Seemed a bit too quick though (2 minutes to clone 40G of data?) but I rebooted. Turns out I couldn't detect a single byte that had been written to that new disc, it looked as blank as it had been before. I retried a few times, with the same result, before I decided that DiscWizard was broken on my configuration and I needed another solution.

I run occasional backups using NT Backup so I fired up the Help and read about ASR Backups: they are like regular backups, but also backup the partition table and other key stuff, as well as all of your files in a regular backup. The extra stuff is written to a floppy (very 20th century!) and fortunately my 370 had one (unlike the 370 I have at work). I ran the backup and it did its thing onto an external USB drive I use for such things, plus the floppy.

An ASR Restore (Automated System Recovery) is actually XP Setup run in a special mode. I moved the SATA connector off the old drive onto the new drive and proceeded to attempt to restore my ASR backup. First time through it said that I didn't have enough disc space: weird, the replacement drive was 80G, the same as the original. Turns out I still had a card-reader attached (with no cards) and XP Setup detected all those "drives" as having zero bytes free, so I tried again without the card-reader and Setup said "hey, idiot, you don't have a hard disc" (or words to that effect). After more head-scratching I realized that XP SP2 Setup does not include a driver that understands the SATA port on this Dell. I dug out the Dell Diagnostics CD and tried again, but Setup requires the "F6 driver" to be on a floppy. Grrr. I reconnected the original drive, booted it, then attempted to get the SATA drivers off that CD. For some inexplicable reason the drivers aren't just sitting in a directory, but each one is in its own zip file. I dutifully unzipped the Intel Motherboard drivers which appeared to be in charge of the SATA ports, copied them to another floppy, switched the drives back, and tried again. This time I pressed F6 during Setup and inserted the floppy, only to be told that txtsetup.oem (or something similar, I didn't write the exact name down) was not found, so the drivers could not be installed.

At this point I wasn't particularly happy, with Dell or Microsoft. Now I could have swapped the drives back and trawled over the internet to try and find the solution, but instead I came up with a different plan: the BIOS for this Dell offers four options for how the SATA ports work. I don't pretend to understand them (they feature the acronyms AHCI and RAID, among others), but one option is called "SATA/PATA" so I selected that (based on the fact I actually knew what they both were). My theory, which shockingly turned out to be fact, is that this mode makes the SATA ports look like a standard PATA port, so XP Setup will work. When changing this setting, the BIOS warns that your machine may no longer boot or the OS may need reinstalling if you make this change. As I didn't have a bootable OS at this point, I had nothing to lose.

With the SATA ports in PATA mode, XP Setup could find the new drive and the ASR Restore proceeded well: its like running XP Setup, except you don't need to answer any questions (not even the pid), you just have to point it at the backup you made earlier. After an hour or so the restore was done, and it rebooted. I was so happy! Well, for about a minute. On reboot I saw the Windows logo, and a smile appeared on my face, then about five seconds later I saw a blue-screen, which wiped that smile off just as quick. In case I had imagined it, or a solar flare had hit my machine, I rebooted and tried again: nope, same blue-screen. At this point I was inspired, and went back into the BIOS and put the SATA option back to its default (ie real-SATA mode). I rebooted, and prayed (to no specific deity) and my familiar XP install came back, just as it had been before! Phew. The trick to make my SATA ports look like PATA had been good enough for Setup to use, but once I had restored the entire OS, which included all the OEM drivers configured for real-SATA, then just like the BIOS had warned me, the OS would not boot.

I checked out the restored OS and everything was there, except for a bunch of IE settings. I could care less about my cache or my history, but my cookies were also not restored, which was a bit more painful: there were a few sites whose user/pwd settings took me a while to remember. In addition my old XP drive had a Vista boot loader on it, left over from several failed Vista installs. The ASR Backup evidently just backed up the XP portions of the boot files, so after the ADR Restore I got the XP boot loader back: I consider the loss of the annoying Vista boot loader a bonus, as I couldn't change the default as Vista never managed to boot. (My Vista Setup story is another bitter & twisted affair which I will save for another day).

My recommendation for those that do backups on XP (and that's every smart user, right?) is that do a Test Restore one day. Grab a spare drive from a friend or pick up a crazy deal at Frys/Newegg, and try a from-scatch restore. If you have problems, or need drivers or other magic, figure it out now, when you can still get to the internet, and when your deadline isn't due or your spouse is screaming for the baby pictures. Sod's Law says that if you actually do a Test Restore, you probably won't ever have the need to do a Real Restore. You can thank me later...

Comments (9)

  1. MSDN Archive says:

    That’s why I’m glad I run Windows Home Server at home.  Restoring a PC with WHS is so much easier than what you’ve described here.  

    It’s so easy, that I’ve shifted hard drives around between different PCs as my needs change, restoring from WHS to the new drive each time.

  2. Andrew Norman says:

    Thanks – I’m attempting to do a clean install of XP on a Dell with a SATA disk, and this was very useful.

  3. Short story: installing Vista for me was a catalog of problems, some mine and some not. It started out

  4. Short story: installing Vista for me was a catalog of problems, some mine and some not. It started out

  5. I am pleased to announce that I am typing this on a freshly installed Vista64 installation, on the same

  6. Tim Timrawi says:

    Well my problem is a tad different than yours. I got it it can be simple to think of the logic behidn a restore of an ASR, but when I reach the point to specify where the backup file is. It is on an external USB drive which is attached to a networked system on the same network. I was unable to get to it simply because windows could not detect the driver for the Dell network card and when I tried to attach the USB Mass-Storage to the system it did not detect the USB storage.

    So now I’m stuck between either having to copy the file to a PATA drive and attach it to the system, or something of that nature. This is all well and good until you reach the point thinking if this happens to one of my HP or DELL servers does that mean I have to take it out of the rack plug in a PATA drive to initiate the RESTORE?!

    Perhaps what pisses me off the most these days is that until now Microsoft haven’t had a good library of common Intel and Broadcomm drivers in the primary installation. At least a driver generic for all systems!?

  7. Andy-Pennell says:

    Tim: that is a bummer. My ASR backup was on a USB drive and worked fine when prompted during the restore. (I think the drive letter was wrong, but apart from that it was ok). Another reason to do a Test Restore at least once I guess.

  8. Walt says:

    In my system, I have a PCI RAID card, with my main drives attached.  Normally, these are my C: drive.  I also have an IDE attached drive which I use to store my backup.  XP assigns this drive the letter W:.

    When I attempt to do an ASR restore, it wrongly assigns my backup drive as C:, and of course attempts to erase/format my backup drive!

    How do I get ASR restore, to correctly assign the drives on my RAID card as C: and erase/reformat those, and eventually restore/rebuild my XP installation back onto them?

    At this point, I don’t really care if ASR assigns my backup drive as D: or W: or anything else, as long as it is not C: !!!

  9. kzsolt says:

    I have no sucess with ASR and SATA. If I try restore SATA based ASR the result always "not enough diskspace". It does not matter I use compatible (sata->ide) or enhaced mapping the ASR failed. It looks like the the IDE+IDE+SATA configuration booting from SATA is too complex for MS.  

Skip to main content