Repair Corrupt or Damaged Hard Drive Partitions and Recover Deleted Files

Repair Corrupt or Damaged Hard Drive Partitions

I have Windows 7 operating system installed on my machine, several days ago when I started my computer, suddenly my system did not boot. After that issue the only message I was getting after booting up in BIOS (basic input/output system), that windows cannot be found, insert the BOOT DVD.
In order to resolve the issue I have inserted the Windows 7 DVD and start rebooting using the same. Here are the steps I followed to reboot my system.

Step 1: Firstly, I have removed all the non-essential external devices to initiate the rebooting process.

Step 2: Booted system in ‘Safe Mode’ (do it if you can) and checked if the issue still persists. Basically, Safe mode is used to troubleshoot the issues with applications and drivers, which might not start correctly or might prevent Windows from starting correctly. In my case there was no option for booting in SAFE mode, it did not progress beyond BIOS (basic input/output system).

Step 3: Now, I performed Startup repair process.

This process can repair the OS and save the re-installation time by analyzing and repairing problems, which prevent Windows from starting.

In case, your windows showing booting issues, then ‘Starutp Repair’ will not run automatically. In such case, you’ll need to run ‘Startup Repair’ with the help of the Windows installation disc, by going to the options menu on your computer’s hard disk. After the successful repairing process, it told me that my partition table does not have a valid system partition, and it has repaired the partition table. The Error codes were:

  • “The Partition Table does not have a valid system partition”
  • “Repair Action: partition table repair”
  • “Result: completed successfully error code= 0x0”

After successful processing, Window repair utility has fixed my problem and I was able to boot into Windows. However, the very next day when I again started my computer, the same problem occurred. I followed the same process and the system told me the same details like before and finally I was able to boot into windows one again. I was frustrated and afraid to turn off the computer until I resolve this issue, and started looking for a reliable solution:

Solution 1:

During research, I got to know that there could be multiple causes of such issue, for example, bootmgr file corruption. The solution is dependent upon your exact issue, if you are also facing the same problem follow the below mentioned help. Start boot from the DVD, choose the repair option in the bottom left corner:

1. Run ‘Startup Repair’ several times.

2. In case it does not resolve the problem, select the Repair Option and this time choose Command Prompt, and enter the following 4 commands (Here all the instances are mentioned in capital letters, only for clarity):

  • BOOTREC /FIXMBR and press Enter
  • BOOTREC /FIXBOOT and press Enter.
  • BOOTREC /SCANOS and press Enter.
  • BOOTREC /REBUILDBCD and press Enter.

3. In case you are still getting the issues, or receiving ‘No operating system found’ or ‘Element not found’ error messages. Again go to the Command Prompt and make the partition active by entering the following commands:

  • DISKPART and press Enter.
  • LIST DISK and press Enter.
  • SELECT DISK N and press Enter (N represents the disk you want).
  • LIST PARTITION and press Enter.
  • SELECT PARTITION N and press Enter (N represents the partition you want).
  • ACTIVE and press Enter.
  • EXIT and press Enter.

4. Now go back to step 1 above and run it again, perhaps run 2 as well.

Solution: 2

This could be a hard drive issue as well. In case you are able to boot your desktop, back up your complete data. After successful backup, try to perform a chkdsk, which is used to check the hard drive errors in Windows. Basically, if your hard disk drive has some errors, your computer start getting slower or programs “hang” while accessing certain files. You can simply troubleshoot this issue by using the Disk Check tool in Windows 7 or any latest version of Windows. It identifies the issues and automatically corrects file system errors and then you can continue to load and write data from the hard disk. To initiate this process boot in WinRE using the Windows 7 installation disc to launch a command prompt, then run CHKDSK /F command.
Steps to boot in WinRE:

a) Run the Windows 7 DVD and reboot the computer.
b) You will prompted to press a key to boot from the DVD, either press Enter or the space bar.
c) select ‘Next’ and ‘Repair your computer’.
d) Highlight ‘Windows 7’ and choose ‘Next’.
e) The dialog box will open, titled ‘Command Prompt’.
f) Type: CHKDSK /F.

Chkdsk Limitation:

While performing chkdsk on the hard drive, in case any bad sectors are found on the hard drive, chkdsk will skip bad sectors. During the repair process, chkdsk will not repair your system or the hard drive errors if there are enough bad sectors. So you cannot get your system working again and need to opt for advanced partition recovery software. See steps on How to recover deleted files for more details.

Alternative solution:

All the above mentioned troubleshooting ways are manual. Although, they are effective for sure, but cannot recover your data in case of loss during the whole process. If you have really important and sensitive data stored on your hard drive, which you cannot afford to lose, it is always better to use a third party partition recovery software to recover the lost partitions. These tools are more reliable than the manual methods and offer very easy interface, so that you do not have to follow multiple difficult steps to recover your important files.