LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-13-2009, 03:32 PM   #1
raixun
LQ Newbie
 
Registered: Jun 2008
Location: Istanbul
Distribution: slackware
Posts: 22

Rep: Reputation: 15
Data Recover from /dev/db4


hi i has an archlinux partion formatted and named as /dev/hdb4

i formatted with new size as reiserfs and installed slackware on /dev/hdb4 at a few day ago.

i want recover my image files from old archlinux partion
is it possible ?
 
Old 07-13-2009, 04:14 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Yes, just don't aim for onehundred percent recovery. This unfortunately is not an uncommon topic. Try searching LQ for terms like "recovery" or "undelete" and tools like photorec, foremost and Live CDs like HELIX and KNOPPIX.

In short: a filesystem structure consists of superblocks, reserved inodes, inodes and data blocks. "Formatting" means overlaying a partition with a (new) filesystem structure. However formatting does not necessarily mean wiping the paritition area, it just overlays the structure. Therefore a group of blocks (aka a file) may still exist (where not overwritten) but they're no longer hooked into the filesystem structure, they are effectively unlinked and therefore invisible on mount. The problem with recovering files here is that not all blocks a file may occupy are directly linked. That's why OSS header/footer carvers like scalpel, foremost and photorec try their best using file "magic" to recover things.

If unsure make a backup beforehand, make sure you do not mount the filesystem as you boot your Live CD and write out recovered files to a mounted filesystem that is safe to write to.
 
  


Reply



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
Simulate mounting ISO to /dev/cdrom (populate /dev/scd0 with data) bogdan_rec Linux - Software 2 06-30-2009 04:32 AM
recover data after running "dd if=/dev/zero ..." for a few seconds... Heeelp! ste85 Linux - Newbie 19 03-20-2009 09:04 PM
help me to recover data ram_0887 Linux - Newbie 1 02-26-2008 01:57 AM
Can I go from /dev/sda to /dev/rd w/o data loss? RPaulW Linux - Hardware 1 10-10-2005 10:39 AM
Software to acess and recover data on Fat32 data NeoSpawn Linux - Software 2 09-04-2005 11:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:38 PM.

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