Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
EMERGENCY: filesystem recovery. non destructive
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
aych
Guru
Guru


Joined: 20 May 2004
Posts: 304

PostPosted: Sun Nov 05, 2006 7:38 am    Post subject: EMERGENCY: filesystem recovery. non destructive Reply with quote

sorry guys. this is really bad. I had a partition /dev/sda6 which was ext3 . i accidentally ran mkfs.ext3 again. and now my partition table is back to normal showing all 7 gigs. but all the files are gone! how can i bring back the files?!
Back to top
View user's profile Send private message
Keruskerfuerst
Advocate
Advocate


Joined: 01 Feb 2006
Posts: 2289
Location: near Augsburg, Germany

PostPosted: Sun Nov 05, 2006 10:00 am    Post subject: Reply with quote

1. Don´t touch this partition
2. Make a complete dd backup of that disk
3. Check out these search results: http://www.google.de/linux?hl=de&q=%2Bext3+%2Bfile+%2Brecovery&btnG=Suche&meta=
Back to top
View user's profile Send private message
aych
Guru
Guru


Joined: 20 May 2004
Posts: 304

PostPosted: Sun Nov 05, 2006 8:20 pm    Post subject: Reply with quote

touch.. i've tried a few things on it, but nothing did anything to it. wats a dd backup? i know the files are still there i just need to redo the (mft?) also should i delete the partition again? so there wont be a empty mft tree? do u think testdisk would work?
Back to top
View user's profile Send private message
aych
Guru
Guru


Joined: 20 May 2004
Posts: 304

PostPosted: Sun Nov 05, 2006 9:05 pm    Post subject: Reply with quote

i've tried different programs such as r-studio and stellar phoenix linux. none of them work. all they see is the new 'lost and found' folder and nothing else. i think this is because there is a new journal?
Back to top
View user's profile Send private message
MikeRS
n00b
n00b


Joined: 23 Apr 2005
Posts: 71

PostPosted: Mon Nov 06, 2006 1:39 am    Post subject: Reply with quote

Do not mount the partition, try running PhotoRec on it

Sorry, but all the inode tables are now cleared because of a new filesystem. Your best hope is probably PhotoRec, it will probably recover most files you want, provided they were unfragmented
Back to top
View user's profile Send private message
aych
Guru
Guru


Joined: 20 May 2004
Posts: 304

PostPosted: Mon Nov 06, 2006 1:43 am    Post subject: Reply with quote

tried photorec. no good either. yeah i figured everything is hopeless. so might as well hang myself and do a full recompile eh
Back to top
View user's profile Send private message
pingu
Retired Dev
Retired Dev


Joined: 06 Nov 2006
Posts: 11

PostPosted: Mon Nov 06, 2006 6:44 am    Post subject: Reply with quote

You might want to give testdisk a go before you give up.
Back to top
View user's profile Send private message
Keruskerfuerst
Advocate
Advocate


Joined: 01 Feb 2006
Posts: 2289
Location: near Augsburg, Germany

PostPosted: Mon Nov 06, 2006 6:49 am    Post subject: Reply with quote

OR this: http://foremost.sourceforge.net/
Back to top
View user's profile Send private message
aych
Guru
Guru


Joined: 20 May 2004
Posts: 304

PostPosted: Mon Nov 06, 2006 7:01 am    Post subject: Reply with quote

i've tried testdisk. its not a deleted partition. i've recovered my partition table. its the whole fs that was reformatted
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