Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Use ddrescue to try and create image did I do something wrong?


  • Please log in to reply
16 replies to this topic

#1 insaniak

insaniak

  • Members
  • 198 posts
  • OFFLINE
  •  
  • Local time:05:30 PM

Posted 22 March 2016 - 01:00 PM

This is the command I used under the drive I want the image to be stored.

Ddrescue -d -r3 /dev/sda test.img test.logfile

I ran this analyzed the log file using log viewer and the error size is 256gb the exact same size as my SSD how can it not be able to detect any good sectors? I'm thinking I may have done something wrong


Edited by hamluis, 22 March 2016 - 01:34 PM.
Moved from Internal Hardware to Backups/Imaging - Hamluis.


BC AdBot (Login to Remove)

 


#2 JohnC_21

JohnC_21

  • Members
  • 22,658 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:05:30 PM

Posted 22 March 2016 - 01:18 PM

Is your SSD sda? You need to create the image to an external drive. See this guide on using ddrescue to create an image to an external drive. The image will be 256GB as you are doing a sector by sector read. 

 

Once you have the image you can file carve it with PhotoRec, part of Testdisk.

 

https://www.technibble.com/guide-using-ddrescue-recover-data/


Edited by JohnC_21, 22 March 2016 - 03:20 PM.


#3 insaniak

insaniak
  • Topic Starter

  • Members
  • 198 posts
  • OFFLINE
  •  
  • Local time:05:30 PM

Posted 22 March 2016 - 01:29 PM

That is the guide I used

#4 JohnC_21

JohnC_21

  • Members
  • 22,658 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:05:30 PM

Posted 22 March 2016 - 01:34 PM

What are you trying to achieve? Do you want to recover files from the image?



#5 insaniak

insaniak
  • Topic Starter

  • Members
  • 198 posts
  • OFFLINE
  •  
  • Local time:05:30 PM

Posted 22 March 2016 - 01:36 PM

Well yes but when I try to mount he image it created it says it's too small of a file it didn't create a full image or somthing
The logfile and .img are in my external drive it took 10 hours to finish

#6 JohnC_21

JohnC_21

  • Members
  • 22,658 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:05:30 PM

Posted 22 March 2016 - 01:42 PM

Have you tried running a disk diagnostic using Disk Health on the Parted Magic Desktop?  Do the short and long generic tests. If they pass then create a folder on your external drive as shown in the guide, open terminal in that folder and type

 

testdisk

 

Do a Quick Scan. Does it list your partitions? Highlight the partitions listed and press the "p" key. Does it list your files? 

 

Edit: Is this SSD a data drive or a Windows drive?


Edited by JohnC_21, 22 March 2016 - 03:20 PM.


#7 insaniak

insaniak
  • Topic Starter

  • Members
  • 198 posts
  • OFFLINE
  •  
  • Local time:05:30 PM

Posted 22 March 2016 - 01:48 PM

The thing is I can't the drive it can't retrieve smart data

#8 JohnC_21

JohnC_21

  • Members
  • 22,658 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:05:30 PM

Posted 22 March 2016 - 01:54 PM

I would think something is wrong with the drive if GSmartControl cannot retrieve the Smart Data. Have you tried scanning the drive with it attached via USB to another available computer using the Windows version of Testdisk? You may also have better luck recovering data using a program like Easeus Data Recovery although it is paid.

 

You can use PhotoRec but be sure you select what file extension you want to recover in options as it will recover everything as default.



#9 insaniak

insaniak
  • Topic Starter

  • Members
  • 198 posts
  • OFFLINE
  •  
  • Local time:05:30 PM

Posted 22 March 2016 - 01:56 PM

He drive is only detected in Linux and it freezes when I try to boot into Windows from another os

#10 JohnC_21

JohnC_21

  • Members
  • 22,658 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:05:30 PM

Posted 22 March 2016 - 02:02 PM

Using Parted Magic, can you mount the drive as shown here? Did this SSD have Windows 8 installed on it? If you used a Microsoft Live Account to log in, it's possible the contents of the drive are encrypted.


Edited by JohnC_21, 22 March 2016 - 03:20 PM.


#11 insaniak

insaniak
  • Topic Starter

  • Members
  • 198 posts
  • OFFLINE
  •  
  • Local time:05:30 PM

Posted 22 March 2016 - 02:07 PM

I cannot mount the drive and it was on Windows 7
I can only see the SSD

#12 JohnC_21

JohnC_21

  • Members
  • 22,658 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:05:30 PM

Posted 22 March 2016 - 02:09 PM

I think the drive has failed if it will not mount and GsmartControl cannot access the Smart Data. You can try doing ddrescue again but that will put more strain on the drive. If the data on the drive is important to you then you may want to look at using a professional data recovery service but they are not cheap. One of the better ones is DriveSavers.

 

http://www.drivesaversdatarecovery.com/



#13 RolandJS

RolandJS

  • Members
  • 4,482 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Austin TX metro area
  • Local time:04:30 PM

Posted 22 March 2016 - 02:17 PM

Best to not attempt booting the hard-drive, booting and desktop OPs cause a number of writes.


"Take care of thy backups and thy restores shall take care of thee."  -- Ben Franklin revisited.

http://collegecafe.fr.yuku.com/forums/45/Computer-Technologies/

Backup, backup, backup! -- Lady Fitzgerald (w7forums)

Clone or Image often! Backup... -- RockE (WSL)

"I heard Spock finally got colander!"  "I believe the word is Kolinahr."  "Oh."


#14 insaniak

insaniak
  • Topic Starter

  • Members
  • 198 posts
  • OFFLINE
  •  
  • Local time:05:30 PM

Posted 22 March 2016 - 03:03 PM

So even if the drive has failed is here a way myself I. Can recover the data without going through recovery service?

#15 JohnC_21

JohnC_21

  • Members
  • 22,658 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:05:30 PM

Posted 22 March 2016 - 03:25 PM

The only thing I can recommend is using PhotoRec on the Parted Magic disk. Open a terminal in a folder on the recovery drive and type photorec. Make sure you list which file extensions you want to recover under the folder options. 

 

Here is a step by step. The recovery drive should have enough recovery space for the SSD data. Data recovery is in real time so you can see how the recovery is progressing.

 

If you can't recover any usable files with PhotoRec then a professional data recovery service would be you only other option.

 

Just to clarify, you attached the SSD to another computer via USB or internally and you could not scan the disk using Testdisk for Windows?






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users