LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux > 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
 
Thread Tools
Old 11-01-2008, 02:25 PM   #16
Disillusionist
Member
 
Registered: Aug 2004
Location: England
Distribution: Ubuntu
Posts: 825
Thanked: 48

[Log in to get rid of this advertisement]
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.
Disillusionist is offline     Reply With Quote
Old 11-01-2008, 02:33 PM   #17
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 6,739
Blog Entries: 2
Thanked: 214
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 02:37 PM..
H_TeXMeX_H is offline     Reply With Quote
Old 11-01-2008, 02:50 PM   #18
Unknown_User
Member
 
Registered: Jan 2003
Location: EU (UK)
Distribution: Ubuntu 9.04, Fedora 9, OpenSuSE 11.3, Mythbuntu (Don't know it? Try - it rocks!)
Posts: 222
Thanked: 0
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/
Unknown_User is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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


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 01: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 01:21 PM
urgent!data recovery! mathman0 Linux - Software 1 01-18-2005 03:54 AM
URGENT - data recovery help needed GoremanX Linux - General 5 08-03-2002 05:08 PM


All times are GMT -5. The time now is 07:55 PM.

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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration