LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 01-10-2011, 08:15 PM   #1
wdhpr
Member
 
Registered: May 2009
Location: North Coast
Distribution: Ubuntu 10.10
Posts: 32

Rep: Reputation: 1
How to recover a deleted file using the ext3 file system


I am finding answers to this question a bit lacking while using the forums search function. At least I'm not getting the answers I was expecting. Perhaps I just haven't been asking the right question. So I figured I would directly ask the good people at this forum

I used the ext3 format when I formatted my partition prior to installing Ubuntu10.10. I had accidentally deleted a file and began the process to get it back. It wasn't critical but helpful to recover the file.
To make a long story short I ran into to some unexpected road blocks. I tried to use PhotoRec to get the job done but with no success.

I'm just looking down the road in the event I might have to recover something important.
If it would be better going back to the Fat32 file system I would rather do it sooner than later.
Just as a side note I am dual booting between linux and windows.

Thanks in advance
Wdhpr
 
Old 01-10-2011, 08:48 PM   #2
silvyus_06
Member
 
Registered: Oct 2010
Distribution: Ubuntu 10.04 , Linux Mint Debian Edition , Microsoft Windows 7
Posts: 390

Rep: Reputation: 50
you don't want to switch to FAT32.

it is very limited , max file size 4GB , does not have required file permissions for linux.
 
Old 01-10-2011, 08:56 PM   #3
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,257
Blog Entries: 28

Rep: Reputation: 6119Reputation: 6119Reputation: 6119Reputation: 6119Reputation: 6119Reputation: 6119Reputation: 6119Reputation: 6119Reputation: 6119Reputation: 6119Reputation: 6119
Here's one thing I found:

http://www.ehow.com/how_2064953_reco...les-linux.html
 
Old 01-10-2011, 09:18 PM   #4
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313

Rep: Reputation: 212Reputation: 212Reputation: 212
Depending on how important recovering this file is to you, there's also SFDumper which is also included on the Caine forensic live cd.
 
1 members found this post helpful.
Old 01-10-2011, 11:22 PM   #5
wdhpr
Member
 
Registered: May 2009
Location: North Coast
Distribution: Ubuntu 10.10
Posts: 32

Original Poster
Rep: Reputation: 1
Hi
And thanks for the help so far. I beginning to see there are some inherent difficulties associated with the EXT3 and 4 file systems. There also good things to be said as well. I may only delete something once in a great while. But if I do. It looks as though it will be a difficult process to retrieve it. SFDumper off a live cd like Caine's seems to be the more practical solution so far. From what I'm reading its important to unmount the partition your trying to recover the file from and like Windows you want to write the recovered file to another disk or partition.

I do maintain a backup image of my system but I was hoping to find an faster and easier way to recover a file.

Wdhpr
 
Old 01-11-2011, 09:48 PM   #6
wdhpr
Member
 
Registered: May 2009
Location: North Coast
Distribution: Ubuntu 10.10
Posts: 32

Original Poster
Rep: Reputation: 1
I'm still looking for a solution

I'm still looking for a solution

Does this mean there is no easy solution for recovering a deleted file other than using a live cd?

If there is not one I will accept it. Its just surprises me thats all.

Thanks for the help

Wdhpr
 
Old 01-11-2011, 10:04 PM   #7
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313

Rep: Reputation: 212Reputation: 212Reputation: 212
It has never been an easy task recovering deleted files from a GNU/Linux filesystem. If this was done by design I don't know. I do know that it has encouraged me to be extra careful about what I am deleting. It also gives me an added layer of comfort to know that, if my equipment should get stolen or acquired by some other means, whoever it is has to put some real effort in recovering deleted sensitive info. I see this as a good thing.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Recover data from ext3 file system kirukan Linux - Newbie 1 06-20-2009 02:09 AM
Need help to recover Deleted file - (file was saved in doc) Pravab Ubuntu 2 08-17-2008 10:57 AM
LXer: HOWTO recover deleted files on an ext3 file system LXer Syndicated Linux News 0 03-14-2008 01:11 PM
How to recover a deleted file from ext3 filesystem ? Honor Linux - Software 1 12-21-2005 12:36 PM
Help needed to recover data from ext3 file system where mkfs was issued accidentally kapilsampath Linux - General 4 04-26-2005 07:52 AM

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

All times are GMT -5. The time now is 12:59 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