xiephoire wrote:
when the antivirus software tried to quarantine/remove the infected files, the system crashed and produced a blue screen of death.
What was the error? It might be telling you about unreadable sectors in your primary partition.
xiephoire wrote:
The disk wouldn't boot afterwards. I booted from a linux live cd and was able to mount the HP recovery partition, but not the primary partition.
Same question as above - what exact error message did you get, when you tried to mount the primary partition? That info may be helpful.
xiephoire wrote:
However, I could see both the partitions from the partition table (using fdisk -l). Everything there looked legitimate.
Unfortunately that just tells you that the partition table is readable - it tells you nothing about the ability to read enough of the primary partition's filesystem to mount it.
xiephoire wrote:
Further, I tried using testdisk. It could also see the partitions just fine and everything said it was ok until I tried to actually look into the files. It then told me that my file system could be damaged.
Which just means it was a dirty shutdown of that filesystem, and so the filesystem may have internal inconsistencies. There are things you could attempt to do via the Windows XP recover console, but they are irreversible, and without knowing what errors you originally saw, I wouldn't take the risk of doing anything without making a clone first (see below).
xiephoire wrote:
It's probably not a hardware problem because I'm able to mount the recovery partition just fine.
Impossible to say that - mounting the recovery partition does not mean that the primary partition is readable.
xiephoire wrote:
It's likely not the MBR since the partition table seems to be intact.
Agreed. As I said, a "damaged" filesystem usually means one where the "dirty" bit is set.
I suggest that to avoid making an irreversible changes to that primary partition, you should clone that disk (or at least the primary partition and MBR) to another disk first.
That cloning serves 2 purposes for you: (a) it proves that the whole of the primary partition is readable (if not, you'll get errors during cloning), and (b) you can then run logical recovery procedures (anything from just running chkdsk, up to running expensive paid-for software and anything in between those extremes)
on that clone, without losing the ability to go back to the original disk to restart the process again, if it is still readable. Alternatively, by keeping one clone as a "master" and doing any logical recovery onto yet another disk, you avoid needing to recreate the first clone, in case you want to repeat doing different logical recovery techniques, but at the expense of at least one more disk.
If any parts of the original disk are not readable, then that tells you what some or all of the original problem was. It would also help if you answered my questions above about error messages. Unreadable sectors in Windows system files often result in BSOD, so that might be unrelated to the virus.