Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
NEED to recover a deleted folder on reiserfs, PLEASE HELP!!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
hjlane3
Guru
Guru


Joined: 22 Feb 2003
Posts: 377
Location: Wilmington, DE USA

PostPosted: Sun Feb 01, 2004 1:46 pm    Post subject: NEED to recover a deleted folder on reiserfs, PLEASE HELP!! Reply with quote

I need some serious help. I had my reiserfs partition crap out on me earlier, so i booted off the livecd and ran fsck.reiserfs so i could recover my data. Everything worked fine. I found out where my home dir was on the restored partition, went there, and went to back it up into another parition. But I fucked up horribly. Instead of mv -rf home /mnt/bkup/ , I did rm -rf home /mnt/bkup !!!!
:x :x :x :o :o :o :x :x :x :!: :!: :!: :!:
I NEED to recover my home partition or I"m totally fucked. For the love of pete, can anyone please help me?!?! I absoultely, possitively need to get the data back! the first thing I did when i realized i fucked up was unmount the partition, and remout as read-only.
PLEASE HELP ME!!!!!! and please refrain from pointing out my obvious stupidy , I know i screweed up big time.
Thanks

-HJ
_________________
I wish hell would freeze over already. :-(
EDIT: w00t, it has!
Back to top
View user's profile Send private message
ectospasm
l33t
l33t


Joined: 19 Feb 2003
Posts: 711
Location: Mobile, AL, USA

PostPosted: Sun Feb 01, 2004 2:19 pm    Post subject: Reply with quote

I have no idea if this is feasible for your situatin, but a quick google gave me this:

Linux Undelete

Unfortunately the page is scant on information, so I don't know if will work for reiserfs or not. But it is something to look into.
_________________
Join the adopt an unanswered post initiative today
Join the EFF!
Join the Drug Policy Alliance!
Back to top
View user's profile Send private message
hjlane3
Guru
Guru


Joined: 22 Feb 2003
Posts: 377
Location: Wilmington, DE USA

PostPosted: Sun Feb 01, 2004 2:24 pm    Post subject: Reply with quote

Seeing as the last release of that software, linux undelete, was in 1999, i doubt I should even bother with it. But thanks for the help!
Anyone else?? :x
-HJ
_________________
I wish hell would freeze over already. :-(
EDIT: w00t, it has!
Back to top
View user's profile Send private message
AlterEgo
Veteran
Veteran


Joined: 25 Apr 2002
Posts: 1619

PostPosted: Sun Feb 01, 2004 2:27 pm    Post subject: Reply with quote

This has saved my ass once (reiser):

dd if=/dev/hda1 of=/tmp/backup.dsk
losetup /dev/loop5 /tmp/backup.dsk

reiserfsck --rebuild-tree --scan-whole-partition /dev/loop5
mount /dev/loop5 /mnt/tmp
Restore files :)

https://forums.gentoo.org/viewtopic.php?t=69793
Back to top
View user's profile Send private message
hjlane3
Guru
Guru


Joined: 22 Feb 2003
Posts: 377
Location: Wilmington, DE USA

PostPosted: Sun Feb 01, 2004 2:40 pm    Post subject: Reply with quote

AlterEgo wrote:
This has saved my ass once (reiser):

dd if=/dev/hda1 of=/tmp/backup.dsk
losetup /dev/loop5 /tmp/backup.dsk

reiserfsck --rebuild-tree --scan-whole-partition /dev/loop5
mount /dev/loop5 /mnt/tmp
Restore files :)

https://forums.gentoo.org/viewtopic.php?t=69793

Ok, doing it now. Luckly i have an external 30GB hd i can dd to. I hope to god this works..
THANK YOU!

-HJ
_________________
I wish hell would freeze over already. :-(
EDIT: w00t, it has!
Back to top
View user's profile Send private message
hjlane3
Guru
Guru


Joined: 22 Feb 2003
Posts: 377
Location: Wilmington, DE USA

PostPosted: Sun Feb 01, 2004 5:13 pm    Post subject: Reply with quote

YYYYYEEEEESSSSS!!!!!!!!!1
IT WORKED!!! THANK YOU THANK YOU THANK YOU!!!
:) :) :) :)
_________________
I wish hell would freeze over already. :-(
EDIT: w00t, it has!
Back to top
View user's profile Send private message
GurliGebis
Retired Dev
Retired Dev


Joined: 08 Aug 2002
Posts: 509

PostPosted: Sun Feb 01, 2004 8:07 pm    Post subject: Reply with quote

Cool, somebody should make this one a sticky :)
_________________
Queen Rocks.
Back to top
View user's profile Send private message
ectospasm
l33t
l33t


Joined: 19 Feb 2003
Posts: 711
Location: Mobile, AL, USA

PostPosted: Sun Feb 01, 2004 9:07 pm    Post subject: Reply with quote

GurliGebis wrote:
Cool, somebody should make this one a sticky :)


Tell that to a moderator...
_________________
Join the adopt an unanswered post initiative today
Join the EFF!
Join the Drug Policy Alliance!
Back to top
View user's profile Send private message
mirko_3
l33t
l33t


Joined: 02 Nov 2003
Posts: 605
Location: Birreria

PostPosted: Mon Feb 02, 2004 1:37 pm    Post subject: Reply with quote

Another vote for sticky...
_________________
Non fa male! Non fa male!
Back to top
View user's profile Send private message
Cossins
Veteran
Veteran


Joined: 21 Mar 2003
Posts: 1136
Location: Copenhagen, Denmark

PostPosted: Mon Feb 02, 2004 1:45 pm    Post subject: Reply with quote

Yes, this should definitely be made a sticky. Linux systems are easy to fuck up badly (if you're root :)), but on the other hand they can almost always be fully recovered.

This is a great tip, maybe it should be moved to Documentation, Tips & Tricks?

- Simon
_________________
who cares
Back to top
View user's profile Send private message
Fillepe The Mexican
n00b
n00b


Joined: 12 Mar 2004
Posts: 71

PostPosted: Tue Sep 14, 2004 8:40 am    Post subject: Reply with quote

I just thought I'd add how usefull this has been. It saved my ass (well mostly) when I hosed about 9gig of various extremely important things by mistake. :oops:

Thanks :)
Back to top
View user's profile Send private message
G2k
l33t
l33t


Joined: 06 Mar 2004
Posts: 672
Location: Rome, Italy

PostPosted: Sun Oct 10, 2004 11:31 pm    Post subject: Reply with quote

*cough* it was pr0n *cough*
_________________
Animula vagula blandula,
Hospes comesque corporis,
Quae nunc abibis in loca
Pallidula rigida nudula,
Nec ut soles dabis iocos...
- Imp. Caesar Hadrianus
Back to top
View user's profile Send private message
pablo_supertux
Advocate
Advocate


Joined: 25 Jan 2004
Posts: 2935
Location: Somewhere between reality and Middle-Earth and in Freiburg (Germany)

PostPosted: Mon Oct 11, 2004 12:43 am    Post subject: Reply with quote

AlterEgo wrote:
This has saved my ass once (reiser):

dd if=/dev/hda1 of=/tmp/backup.dsk
losetup /dev/loop5 /tmp/backup.dsk

reiserfsck --rebuild-tree --scan-whole-partition /dev/loop5
mount /dev/loop5 /mnt/tmp
Restore files :)

https://forums.gentoo.org/viewtopic.php?t=69793


does it function with ext3? Which step may a change for ext3?
_________________
A! Elbereth Gilthoniel!
silivren penna míriel
o menel aglar elenath,
Gilthoniel, A! Elbereth!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum