LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 11-01-2008, 01:25 PM   #16
Disillusionist
Senior Member
 
Registered: Aug 2004
Location: England
Distribution: Ubuntu
Posts: 1,007

Rep: Reputation: 81

If you are going to use dd to create the image.dd file, this must be on a seperate disk or partition and the partition must be big enough to take the entire previous partition.

If you try to create the file on the same partition, you will overwrite the data that you are trying to recover with the image file.
 
Old 11-01-2008, 01:33 PM   #17
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Posts: 11,388
Blog Entries: 2

Rep: Reputation: 825Reputation: 825Reputation: 825Reputation: 825Reputation: 825Reputation: 825Reputation: 825
Ok, I'll try to explain it as best I can. Say we have 2 HDDs, one external one that has been nuked like you have call it /dev/nuked, one internal one that you are using right now and is just fine call it /dev/good.

You are working within /dev/good, when you boot the partitions on this drive are mounted automatically and your system is up and running. Let's assume you have enough space on a partition in /dev/good to hold an image equivalent to the partition you lost on /dev/nuked (250 GB), do you ? If not, then you can't do it. But if you do have enough space you would make the image by running:

Code:
dd if=/dev/nuked of=/home/kayasaman/backup/image.dd
This reads the nuked partition into a file called image.dd in your home folder. You can then run programs on this image to get files off.

If you do not have 250 GB free on /dev/good then simply run the programs on the /dev/nuked itself. For example with foremost you can pipe the output of dd straight to it:

Code:
dd if=/dev/nuked | foremost -t all
One more thing to mention, I recommend you do NOT mount /dev/nuked at all as it may change data on there. If you do have to mount it then only mount it read-only.

Last edited by H_TeXMeX_H; 11-01-2008 at 01:37 PM.
 
Old 11-01-2008, 01:50 PM   #18
Unknown_User
Member
 
Registered: Jan 2003
Location: EU (UK)
Distribution: Ubuntu 10.x, Fedora 9, OpenSuSE 11.3, Mythbuntu (Don't know it? Try - it rocks!)
Posts: 225

Rep: Reputation: 30
I would always recommend using Helix3. It is a forensic toolkit that won't make any changes to your disk (thus making a bad situation worse) when finding files.

It is freeware, is easy to use and can do some really cool stuff including finding files that have long since been deleted.

I have stepped back from the brink of disaster on several occasions!

http://www.e-fense.com/helix/
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Linux Data Recovery on Windows - Is possible through Disk Doctors Linux Recovery Software LXer Syndicated Linux News 0 10-22-2006 12:21 PM
Urgent Help In Recovery khaleel5000 Linux - Software 3 10-30-2005 01:27 AM
Urgent Help In Recovery khaleel5000 Suse/Novell 1 10-29-2005 12:21 PM
urgent!data recovery! mathman0 Linux - Software 1 01-18-2005 02:54 AM
URGENT - data recovery help needed GoremanX Linux - General 5 08-03-2002 04:08 PM


All times are GMT -5. The time now is 03:47 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration