LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 12-31-2003, 04:42 PM   #1
CatSC
Member
 
Registered: Oct 2003
Location: New Zealand, Wellington
Distribution: Red Hat 9, Gentoo 1.4, Vector 4.0
Posts: 74

Rep: Reputation: 15
Recovering data


Hello everyone!
I decided to reinstall RH9 in the other part of my HD,
while doing that I mounted /dev/hda8(my old partition)
into some temp directory, then I deleted that temp dir,
I was wondering why it took so long to delete almost empty dir
I had some data on hda8 which I didn't copy it to my new partition
Is there any way I can recover that data?
(I didn't touch hda8 after that)
Thanks
 
Old 12-31-2003, 05:01 PM   #2
TheOneAndOnlySM
Member
 
Registered: Jul 2003
Location: Dallas, TX
Distribution: Ubuntu 10.04 LTS
Posts: 987

Rep: Reputation: 30
hopefully i understood the problem

so you mounted your old partition into a temp directory and then deleted it?

deleting something from an ext2,ext3 partition uses the rm command; very powerful and i don't think data is recoverable after using that command
 
Old 12-31-2003, 05:12 PM   #3
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
Actually, you can recover deleted files as long as you do not write new data to that partition.

Deleting files and/or directories does not actually delete the data. Deletion commands only remove the entry from the file table. The data will still be on the hard drive until another write is performed and data is written to the sectors of the HDD where the old data is stored.

Take a look at these HowTOs.
http://www.tldp.org/HOWTO/Ext2fs-Undeletion.html
http://www.tldp.org/HOWTO/Ext2fs-Und...uct/index.html

Or you can try a Undelete utility.

Recover
http://recover.sourceforge.net/linux/

Undelete utility
http://sourceforge.net/projects/undelete/
 
Old 12-31-2003, 11:25 PM   #4
CatSC
Member
 
Registered: Oct 2003
Location: New Zealand, Wellington
Distribution: Red Hat 9, Gentoo 1.4, Vector 4.0
Posts: 74

Original Poster
Rep: Reputation: 15
Thanks!
All this HOWTO's and soft are for ext2, I've been using
ext3 on that partition... Do you think they will work anyway?
 
  


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
recovering data pirozzi Linux - General 5 11-30-2004 02:08 AM
recovering data... marsques Linux - General 18 09-01-2004 02:36 PM
Recovering Lost Data lawrencegoodman Linux - General 1 04-04-2004 12:57 PM
recovering formatted data walterw Linux - Newbie 4 11-09-2003 06:17 PM
Recovering data from formatted FS? froguy Linux - General 4 10-02-2003 08:30 PM


All times are GMT -5. The time now is 03:13 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 Google+: linuxquestions
Open Source Consulting | Domain Registration