LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-20-2006, 09:40 PM   #1
Dave4462
LQ Newbie
 
Registered: Aug 2006
Posts: 3

Rep: Reputation: 0
Knoppix


More specifically, I have a Win XP system non-coop drive. I am wanting to use Knoppix at the hex level to recover files/data. Knoppix "sees" the data, but I need to recover same to another drive. I need a "rescue" tutorial on knoppix.
 
Old 08-20-2006, 10:05 PM   #2
blackhole54
Senior Member
 
Registered: Mar 2006
Posts: 1,896

Rep: Reputation: 61
I am sure whatever you want to do is easy. Have you searched the web for what you want? As far as books go Knoppix Hacks (O'Reilly) is good.

If you can be more specific about what you want to do, I can probably answer your question. I.e. do you want to copy partitions, copy files, or what? I am not sure what you mean by "at the hex level." (Yes, I know what hex is.) I am also not sure what a "non-coop drive" is.
 
Old 08-21-2006, 12:28 AM   #3
Dave4462
LQ Newbie
 
Registered: Aug 2006
Posts: 3

Original Poster
Rep: Reputation: 0
Knoppix

non-coop drive means it is non-cooperative and has failed. I am attempting to recover data, by file if possible, or cluster/sector if necessary. I've been made to understande Knoppix has this capability, but need help in its functionality. Sounds like Knoppix Hacks (O'Reilly) could be a possibility. Thanks - hope there are other possibilities as well.
 
Old 08-21-2006, 06:50 AM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Knoppix has some Linux tools, but i don't know which are for file/disk recovery....and I'm not sure which tools support NTFS. Try a Google search using "disk recovery with Knoppix" or some such.

Failed hard drive recovery is a narrow speciality which requires detailed knowledge of the file system. This is why there is a thriving industry in this. Unless you have a lot of experience, you might want to consider getting a professional --especially if the data is critical.

If you do decide to tackle this yourself, the very first thing to do is to clone the relevant partitions. Under Knoppix, you can do this with the "dd" command. Proceed with caution--even the cloning can wipe out the drive if not done correctly.
 
Old 08-21-2006, 07:07 AM   #5
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
"data recovery ntfs knoppix" 263,000 hits in a Google search
 
Old 08-21-2006, 11:33 PM   #6
blackhole54
Senior Member
 
Registered: Mar 2006
Posts: 1,896

Rep: Reputation: 61
Quote:
Originally Posted by pixellany
If you do decide to tackle this yourself, the very first thing to do is to clone the relevant partitions. Under Knoppix, you can do this with the "dd" command. Proceed with caution--even the cloning can wipe out the drive if not done correctly.
I would recommend cloning the partition to a file rather than to another partition (unless a cloned partition is really your end objective; I don't think it is). To do this, mount a good partition with more free space left than your defective partition at (for example) /mnt/temp. Then:

Code:
dd if=/dev/hda1 of=/mnt/temp/partiton_backup.img
This assumes your defective partition is on /dev/hda1; adjust as necessary. Also adjust mount point and file name (partition_backup.img) to suit taste. If dd fails, you can check out Hack #59 in Knoppix Hacks or google to learn about dd_rescue and dd_rhelp.

To recover files , mount the defective partition RO (the default in KNOPPIX when you click on the desktop icon), mount the partition to receive the files where you desire. You can now use your standard tools (GUI or CLI) to copy non-corrupted files and/or directories (which should be your first priority). Google for options to try recover corrupted files.

EDIT: If you are doing this because a drive is failing, instead of mounting the actual partition to recover files, you would be better off mounting the backup image (make sure you mount it RO!):

Code:
mount -o ro,loop /mnt/temp/partition_backup.img /mnt/loop1

Last edited by blackhole54; 08-21-2006 at 11:39 PM.
 
  


Reply

Tags
knoppix



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Cheat Knoppix 4 to Improve Performance -- Part 3. Advanced Knoppix Cheating LXer Syndicated Linux News 0 01-17-2006 01:46 PM
LXer: Cheat Knoppix 4 -- Part 2. Knoppix Performance Improvement Cheats LXer Syndicated Linux News 0 01-12-2006 04:46 PM
LXer: Give the Gift of Knoppix Linux and a Book for Less Than $30 - Knoppix for Dummies LXer Syndicated Linux News 0 12-23-2005 10:16 AM
i got knoppix on cd and it rocks when booted! wut can i do to install knoppix on HD? kublador Linux - Distributions 4 12-12-2005 04:08 PM
How does one remove the custom KNOPPIX graphics from a KNOPPIX HD Install? apache363 Linux - Distributions 2 03-29-2004 05:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:30 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration