2

I was trying to write a RAMDisk image to my SD card but unfortunately I wrote the image to my hard disk instead. The size of the RAMDisk image is about 7 MB (approximately 16000+ sectors) and it was written to the first sections of my hard disk drive.

After that, my laptop won't boot any more. The first N sectors of my harddrive are corrupted. Looks like the MBR (master boot record) is corrupted.

How can I recover my hard disk? The OS is Windows XP SP3 and the size of the hard disk is 120G. I only need data on D:\ back.

1

3 Answers 3

3

There is a tool called Test-disk that would very likely work for you. It is a linux tool, but is available on several rescue boot disks, including SystemRescueCD; just burn the disc, pop it into the borked computer, boot up, and follow the instructions on screen or visit the Wiki for more info.

http://www.sysresccd.org/Main_Page

3
  • By the way, My CDROM is not working. Can I burn it to a Flash Disk instead? Booting from a USB device is supported.
    – shi kui
    Commented Aug 5, 2011 at 9:42
  • It's possible, but you need to either be familiar with syslinux, or have a flash-iso boot imaging tool
    – Bryan Agee
    Commented Aug 5, 2011 at 9:43
  • If it's helpful, please upvote--and if it works, don't forget to accept the answer. Thanks!
    – Bryan Agee
    Commented Aug 5, 2011 at 9:48
3

Data that has been overwritten is unrecoverable. Get a repair disk, and try to fix it from there.

6
  • Is it possible that patition D is intact?
    – shi kui
    Commented Aug 5, 2011 at 8:13
  • I don't know the order that the partitions were written in. It may be that just your MBR is toast.
    – soandos
    Commented Aug 5, 2011 at 8:14
  • P.S. I have no idea what you were doing writing to the first addresses anyway. If this was memory, you would have hit many errors also.
    – soandos
    Commented Aug 5, 2011 at 8:22
  • D:\ is a logical patition on my Win XP SP3. I think it is allocated to sectors other than those which are overwritten.
    – shi kui
    Commented Aug 5, 2011 at 8:22
  • 1
    I was trying to clone an *.001 image to my sdcard to make it a bootable device using WinHex. But I wrote it to the hard drive~
    – shi kui
    Commented Aug 5, 2011 at 8:27
1

try something like testdisk on linux to recreate the partition table (using the backup records on the disk if needed). That should get the partition mounted. From there you should be able to recover the files that haven't been overwritten.

0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .