Overclock.net › Forums › Components › Hard Drives & Storage › Guide: How to recover data/drive from Deleted Volume
New Posts  All Forums:Forum Nav:

Guide: How to recover data/drive from Deleted Volume

post #1 of 3
Thread Starter 
First time trying to give back so go easy on me

I had an issue this weekend and i wanted to share my new found knowledge.
This guide is for how to recreate a partition table. There are several reasons why this might be needed. You could accidentally clicke delete volume and confirm :/ like i did in the guide. You could use diskpart and "clean" the wrong disk. Or in my actually case you could have corruption.
I stumbled upon a tool called TestDisk that is opensource and worked for me.
Homepage
Download


The image below is just showing the data on the drive. Nothing to special. Just note there is data there.


This is a view of the Computer Management. Notice the pretty GPT NTFS volume.


In this guide we are just using the "Delete Volume" option from Disk Management.


Just confirmation. Notice it says it will delete all data, and as far as windows is concerned yes it will. As far as we are concerned no it will not.


Our space is now unallocated. Without 3rd party tools, Windows is not getting any data back.


Very first screen of TestDisk. Not to exciting just select "Create" here.


Here we are selecting the physical disk that we want to work on. sda is the one we are working on. sdb is my little 60gig bootable OS drive. Select what drive you are trying to recover the partition table.


In this example i know i am using a GPT disk, I haven't tried any others but i know the GPT works.


At this point we want to Analyse the disk.


Select "Quick Search" for the program to start looking at the drive


It will scan for a bit.


Look at this. It sees my partition. Even though Windows says unallocated.
I have a few options here. The two I will be showing are the "p" to recover files and "enter" to rewrite a valid partition table.


On the previous screen I hit the "p" key to list files. This is the screen that comes up.
Notice the Data.txt file. At this point if you want to recover files you can select multiple files and it does a recursive search into folders.


At this point i actually want to fix the partition so i went back to the previous screen and just selected enter. Slide over to "Write"


Confirm.


It says you have to reboot, and you might for some partitions but in my case we do not.



Flip back to Computer Management and go to Disk Management and refresh.
And look what we have. Our partition back.

Edited by JustusIV - 8/15/11 at 7:43am
Game rig I7
(13 items)
 
  
CPUMotherboardGraphicsRAM
Core i7 920 D0 OC:4.0ghz GIGABYTE GA-EX58-UD5 Crossfire SAPPHIRE Radeon HD 5870 2GB G.SKILL Trident 6GB 3 x 2 DDR3 2000 F3-16000CL9T 
Hard DriveOSMonitorPower
OCZ Agility 2 2AGTE90G 2.5 90GB SATA II MLC Win 7 Ultimate 64bit 1xDell 2407WFP-HC 2xDell 2408WFP EYEFINITY CORSAIR CMPSU-1000HX 1000W ATX12V 2.2/EPS12V 2.1 
Case
Antec 902 
  hide details  
Reply
Game rig I7
(13 items)
 
  
CPUMotherboardGraphicsRAM
Core i7 920 D0 OC:4.0ghz GIGABYTE GA-EX58-UD5 Crossfire SAPPHIRE Radeon HD 5870 2GB G.SKILL Trident 6GB 3 x 2 DDR3 2000 F3-16000CL9T 
Hard DriveOSMonitorPower
OCZ Agility 2 2AGTE90G 2.5 90GB SATA II MLC Win 7 Ultimate 64bit 1xDell 2407WFP-HC 2xDell 2408WFP EYEFINITY CORSAIR CMPSU-1000HX 1000W ATX12V 2.2/EPS12V 2.1 
Case
Antec 902 
  hide details  
Reply
post #2 of 3
They gotta start making some better Boot Disc with a good GUI for data recovery, seriously...

I think Spotmau is the only one I seen that was halfway decent, and it cannot do some things.

Till this day comes, I'll be paitently waiting & using these old command prompt programs..
The Rock
(15 items)
 
  
Reply
The Rock
(15 items)
 
  
Reply
post #3 of 3
Handy guide for anyone unfamiliar with the program.

Quote:
Originally Posted by _GTech View Post
They gotta start making some better Boot Disc with a good GUI for data recovery, seriously...
SystemRescueCD has Testdisk on it - along with dozens of other useful tools.

I suggest you get familiar with it. It's not that hard to use. It's actually a breeze once you get to the desktop.
     
CPUMotherboardGraphicsRAM
FX-8350 @ 4.6ghz 1.425v Sabertooth 990FX Zotac GTX 1070 Amp! 32GB (4x8GB) Kingston Fury 1866mhz CL10 1T 1.5v 
Hard DriveHard DriveHard DriveHard Drive
Hitachi 2TB - HDS723020BLA64 Crucial M500 960GB - CT960M500SSD1 WD 4TB Black - WD4001FAEX WD 4TB Black - WD4001FAEX 
Hard DriveHard DriveHard DriveHard Drive
Seagate 2TB - ST2000DM001 WD 640GB Black - WD6401AALS Seagate 6TB - ST6000DM001 Micron M500 - MTFDDAK480MAV 
Optical DriveOptical DriveOptical DriveOptical Drive
Pioneer DVR-115DBK Samsung SH-S243D/BEBE LG GH22NS90 Lite-On EBAU108 External DVD 
CoolingCoolingCoolingOS
Noctua NH-D15 Fractal Design 140mm Fan - FD-FAN-140 Fractal Design 120mm Fan - FD-FAN-120 Windows 7 
OSMonitorMonitorKeyboard
Ubuntu 14.04 LTS Samsung 2343BWX 23" (2048x1152) BenQ GW2765HT 27" IPS LCD Monitor (2560x1440) Genius Keyboard KB-G235 PA 
PowerCaseMouseMouse Pad
Seasonic Platinum 1000w PSU - SS-1000XP Fractal Design Define R5 Steelseries Rival 6500 dcpi Mousepad + Desk 
AudioAudioOtherOther
Onboard Realtek® ALC 892 Cyber Acoustics CA-2992 2.0 Speakers Razer Krait 1600 DPI nGear G-C1601 Card Reader 
OtherOther
Pisen Card Reader Gigabyte M7 Thor 
CPUMotherboardGraphicsRAM
VIA Eden C7 1200mhz Jetway J7F4K1G2ES-LF VIA Onboard 512MB PC2-4200 
Hard DriveOptical DriveCoolingOS
A-Data FlashDrive None Fanless Linux 
MonitorKeyboardPowerCase
Headless None 65w Power Brick Antec ISK300-65 
MouseAudio
None Onboard VIA 
CPUMotherboardGraphicsRAM
Barton XP-M 2400+ FJQ4C Asus A7N8X-E Deluxe 256MB BFG 7800GS OC 2x512MB Samsung PC3200 
Hard DriveOSMonitorKeyboard
Raptor 74GB/Seagate 120GB Windows 2000 Pro 60hz 17" CRT Brandless PS2 Keyboard 
PowerMouse
Antec Neo HE 550w Logitech G5 
  hide details  
Reply
     
CPUMotherboardGraphicsRAM
FX-8350 @ 4.6ghz 1.425v Sabertooth 990FX Zotac GTX 1070 Amp! 32GB (4x8GB) Kingston Fury 1866mhz CL10 1T 1.5v 
Hard DriveHard DriveHard DriveHard Drive
Hitachi 2TB - HDS723020BLA64 Crucial M500 960GB - CT960M500SSD1 WD 4TB Black - WD4001FAEX WD 4TB Black - WD4001FAEX 
Hard DriveHard DriveHard DriveHard Drive
Seagate 2TB - ST2000DM001 WD 640GB Black - WD6401AALS Seagate 6TB - ST6000DM001 Micron M500 - MTFDDAK480MAV 
Optical DriveOptical DriveOptical DriveOptical Drive
Pioneer DVR-115DBK Samsung SH-S243D/BEBE LG GH22NS90 Lite-On EBAU108 External DVD 
CoolingCoolingCoolingOS
Noctua NH-D15 Fractal Design 140mm Fan - FD-FAN-140 Fractal Design 120mm Fan - FD-FAN-120 Windows 7 
OSMonitorMonitorKeyboard
Ubuntu 14.04 LTS Samsung 2343BWX 23" (2048x1152) BenQ GW2765HT 27" IPS LCD Monitor (2560x1440) Genius Keyboard KB-G235 PA 
PowerCaseMouseMouse Pad
Seasonic Platinum 1000w PSU - SS-1000XP Fractal Design Define R5 Steelseries Rival 6500 dcpi Mousepad + Desk 
AudioAudioOtherOther
Onboard Realtek® ALC 892 Cyber Acoustics CA-2992 2.0 Speakers Razer Krait 1600 DPI nGear G-C1601 Card Reader 
OtherOther
Pisen Card Reader Gigabyte M7 Thor 
CPUMotherboardGraphicsRAM
VIA Eden C7 1200mhz Jetway J7F4K1G2ES-LF VIA Onboard 512MB PC2-4200 
Hard DriveOptical DriveCoolingOS
A-Data FlashDrive None Fanless Linux 
MonitorKeyboardPowerCase
Headless None 65w Power Brick Antec ISK300-65 
MouseAudio
None Onboard VIA 
CPUMotherboardGraphicsRAM
Barton XP-M 2400+ FJQ4C Asus A7N8X-E Deluxe 256MB BFG 7800GS OC 2x512MB Samsung PC3200 
Hard DriveOSMonitorKeyboard
Raptor 74GB/Seagate 120GB Windows 2000 Pro 60hz 17" CRT Brandless PS2 Keyboard 
PowerMouse
Antec Neo HE 550w Logitech G5 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Hard Drives & Storage
Overclock.net › Forums › Components › Hard Drives & Storage › Guide: How to recover data/drive from Deleted Volume