yaro137 said:
Don't know how but at least I've got my friend's PC fixed.
It's either removing the RAM and BIOS battery or the AV although
I can't remember Avast finding any viruses. Will leave my hard drive
for now till I get yet another Linux live CD as the one I tried now
wouldn't
boot.
yaro
Now that the correct capacity is reported, you should try TestDisk.
What TestDisk does, is scan the entire disk surface, looking for
structures which resemble partitions. Based on that, it proposes
a new partition table. TestDisk is available for various OSes,
and I even have copies on several Linux distros.
http://www.cgsecurity.org/wiki/TestDisk
You should not accept the new partition table, until you've recorded
the details of the current table. Just in case you need to restore
that table later.
Symantec has a couple utilities from Partition Magic, which are
available for download. They will display partition info while
in Windows. You'd want PQEDIT32, so you can get parameters from
the table, and see whether the current partition table is intact
and makes sense or not. PQEDIT32 shows a table of numbers, and
even if the file systems themselves are damaged, it will still
show you the partition information.
ftp://ftp.symantec.com/public/english_us_canada/tools/pq/utilities/PTEDIT32.zip
In the display, there is a Partition Type field. If you double click
the Partition Type field, a list of partition types will pop up.
By reading that list, you can decode what kind of partition
corresponds to the number show.
It could be the partition table which is damaged. It could be
one or both of the individual file systems, in the partitions,
which are damaged and unreadable. Since TestDisk is going to
"correct" the partition table, if at that point you ran
CHKDSK and the partition table is not correct, then CHKDSK
could make a mess. Which is why, if trying to do an "in-place
repair" with tools like that, you want your "dd" backup copy
to undo it all.
CHKDSK or the like, is only going to be prepared for things
like FAT32 and NTFS. If there are other partition types present,
you'd need an OS and environment appropriate for them, to recover
them. (I.e. Linux for EXT2 and EXT3).
If you had three partitions, and deleted one of the partitions,
TestDisk can find the remnants of that, and can potentially add
it to the proposed new partition table. That is why you, the
operator, have to decide whether what TestDisk is doing, makes
sense or not.
If you're in TestDisk, and you want to quit the program, and there
is no "Quit" option at that menu level, you can still press
<ctrl>-<C> to stop the program.
Paul