Recover DATA From Corrupt Windows XP/Vista/7 Installations Using Linux

Introduction: Recover DATA From Corrupt Windows XP/Vista/7 Installations Using Linux

This instructable is meant to be a step by step guide on How to recover data from a corrupt windows installation. It is assumed that you have tried Windows Repair but still were not able to boot to winodws and you were going to go for a re-install. This procedure should work for almost all Windows Installations. Please not that the degree to which you can recover data will depend on the reason why windows installation got corrupt.

For e.g. You should be able to recover all data in case of
1) Windows acting up due to virus infestation
2) Accidentally deleting critical windows installation files there by rendering windows un bootable
3) Accidentally modifiying boot.ini to render windows un bootable.
4) BSOD due to missing boot.ini, improper or wrong driver installtion

This procedure will have varying degree of success in case of
1) Hard disk developing bad sectors and there by rendering windows installtion unbootable
2) There is a mechanical/electronic failure on the hard disk

The things that are required:
1) A computer with a working CD/DVD drive windows you can't boot into
2) A Linux Live CD (I am going to use a Ubuntu Live CD)
3) a Portable harddisk with atleast the free space that will be required for the data being recovered
4) Basic knowledge about BIOS and features

Please note that it is very important to perform this procedure before trying to write anything on the windows installation partition (Reparing windows in OK). If you have already tried to format the re-install, chances of data recovery may be very small. Also any linux installation (Puppy, knoppix, ubuntu, fedora) can be used as long as they support booting from live Cd. alternatively you can also a Live USB. Procedure for making a Live usb can be found at:
1. for ubuntu:
2. For knoppix:

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: Setting First Boot Device As CD/DVD/USB Drive

Assuming that you have all the resources at hand, let us get started.
Please note that the motherboard options for entering into BIOS setup may be different for different manufacturers and Laptops.

1. Start your computer. During POST, note the button that needs to be pressed for BIOS setup utility. In my case, it is the "DELETE" key. Press the delete key to enter BIOS setup

Step 2: Setting Up First Boot Device As CDROM/USB

2. In the bios setup sceen. Navigate to "Advanced BIOS features" using direction keys and press enter. You should now see the advance bios features screena and the boot priority of Devices. navigate to "First boot device" and press enter. Select CDROM. Press Enter.
 3. Press Escape to escape from advance bios features options and go to BIOS setup initial screen. Now Navigate to "Save & Exit Setup" Press Enter, When asked to save changes to BIOS, press Y for Yes and Enter. The computer will restart. Insert the Linux LIVE CD in the drive.

Step 3: Booting From Linux Live CD

Okay, so you have inserted the Live CD and rebooted your computer. The computer should now boot from the Live CD. If it does not, then repeat the procedure mentioned in steps 1 and 2 and make sure that the First boot device is "CDROM".
If the computer boots from the DVD, you should see the Language selection screen. My preferred language is english, so highlight the option and press Enter.
In the next screen, Select "Try ubuntu without making any change to your computer" and press enter. The selection if already not selected will have to be done by direction keys on keyboard
Ubuntu will then go about booting from the DVD.

Step 4: Recover Data After Ubuntu Has Booted

Once ubuntu has booted, you will see the ubuntu desktop. You should see "places" on the top most bar. In the drop down menu, select "My computer". My computer will now open. On the left hand side you should see the available drivers. If the partitions are intact, select the partition that has the data.
 Right click > Copy the data from that partition and Right click > paste it on to another partition or preferably a USB portable harddisk. use portable hard disk if you suspect that your hard disk is failing. Let me remind you that it might be your last chance to retrieve data before the hard disk dies.

Once the data transfer is complete, navigate back to the desktop and select shutdown.

You can now go about formating and installing new data, being sure that the data has been backed up.

However i cannot stress enough the importance of having a back up. always create a back up regularly.

Be the First to Share


    • Magnets Challenge

      Magnets Challenge
    • Raspberry Pi Contest 2020

      Raspberry Pi Contest 2020
    • Wearables Contest

      Wearables Contest

    6 Discussions


    3 years ago

    thanks bro you are great. too great


    4 years ago on Step 1

    thanks , i was trying to do it with windows and i couldn't , while i had everything ready with linux , i just needed you to point me in that direction ;)


    6 years ago on Introduction

    Try another data recovery solution like Kernel for windows data recovery software to repair corrupt and damaged like booting errors, log error etc and recover complete data files from windows hard drive. Trial version also available with 100% safe care of your hard disk data.


    easeus to do back up and commodo back up are one of the few windows based utilities that i prefer and are totally free for home use. Besides now motherboard manufacturers and HDD manufacturers are providing back up software for free. For eg. Express recovery 2 with gigabyte motherboards and acronis drive back up with WD drives


    8 years ago on Introduction

    back ups are definitely the way to go, but for those of us without them, this is a good information to have!


    Reply 8 years ago on Introduction

    Agreed, backups are so much better. You also don't need expensive backup software, driveimage xml and bartpe or vistape will work