View previous topic :: View next topic |
Author |
Message |
hjlane3 Guru
Joined: 22 Feb 2003 Posts: 377 Location: Wilmington, DE USA
|
Posted: Sun Feb 01, 2004 1:46 pm Post subject: NEED to recover a deleted folder on reiserfs, PLEASE HELP!! |
|
|
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 !!!!
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 |
|
|
ectospasm l33t
Joined: 19 Feb 2003 Posts: 711 Location: Mobile, AL, USA
|
|
Back to top |
|
|
hjlane3 Guru
Joined: 22 Feb 2003 Posts: 377 Location: Wilmington, DE USA
|
Posted: Sun Feb 01, 2004 2:24 pm Post subject: |
|
|
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??
-HJ _________________ I wish hell would freeze over already.
EDIT: w00t, it has! |
|
Back to top |
|
|
AlterEgo Veteran
Joined: 25 Apr 2002 Posts: 1619
|
Posted: Sun Feb 01, 2004 2:27 pm Post subject: |
|
|
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 |
|
|
hjlane3 Guru
Joined: 22 Feb 2003 Posts: 377 Location: Wilmington, DE USA
|
Posted: Sun Feb 01, 2004 2:40 pm Post subject: |
|
|
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 |
|
|
hjlane3 Guru
Joined: 22 Feb 2003 Posts: 377 Location: Wilmington, DE USA
|
Posted: Sun Feb 01, 2004 5:13 pm Post subject: |
|
|
YYYYYEEEEESSSSS!!!!!!!!!1
IT WORKED!!! THANK YOU THANK YOU THANK YOU!!!
_________________ I wish hell would freeze over already.
EDIT: w00t, it has! |
|
Back to top |
|
|
GurliGebis Retired Dev
Joined: 08 Aug 2002 Posts: 509
|
Posted: Sun Feb 01, 2004 8:07 pm Post subject: |
|
|
Cool, somebody should make this one a sticky _________________ Queen Rocks. |
|
Back to top |
|
|
ectospasm l33t
Joined: 19 Feb 2003 Posts: 711 Location: Mobile, AL, USA
|
|
Back to top |
|
|
mirko_3 l33t
Joined: 02 Nov 2003 Posts: 605 Location: Birreria
|
Posted: Mon Feb 02, 2004 1:37 pm Post subject: |
|
|
Another vote for sticky... _________________ Non fa male! Non fa male! |
|
Back to top |
|
|
Cossins Veteran
Joined: 21 Mar 2003 Posts: 1136 Location: Copenhagen, Denmark
|
Posted: Mon Feb 02, 2004 1:45 pm Post subject: |
|
|
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 |
|
|
Fillepe The Mexican n00b
Joined: 12 Mar 2004 Posts: 71
|
Posted: Tue Sep 14, 2004 8:40 am Post subject: |
|
|
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.
Thanks |
|
Back to top |
|
|
G2k l33t
Joined: 06 Mar 2004 Posts: 672 Location: Rome, Italy
|
Posted: Sun Oct 10, 2004 11:31 pm Post subject: |
|
|
*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 |
|
|
pablo_supertux Advocate
Joined: 25 Jan 2004 Posts: 2935 Location: Somewhere between reality and Middle-Earth and in Freiburg (Germany)
|
Posted: Mon Oct 11, 2004 12:43 am Post subject: |
|
|
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 |
|
|
|