View previous topic :: View next topic |
Author |
Message |
aych Guru
Joined: 20 May 2004 Posts: 304
|
Posted: Sun Nov 05, 2006 7:38 am Post subject: EMERGENCY: filesystem recovery. non destructive |
|
|
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 |
|
|
Keruskerfuerst Advocate
Joined: 01 Feb 2006 Posts: 2289 Location: near Augsburg, Germany
|
|
Back to top |
|
|
aych Guru
Joined: 20 May 2004 Posts: 304
|
Posted: Sun Nov 05, 2006 8:20 pm Post subject: |
|
|
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 |
|
|
aych Guru
Joined: 20 May 2004 Posts: 304
|
Posted: Sun Nov 05, 2006 9:05 pm Post subject: |
|
|
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 |
|
|
MikeRS n00b
Joined: 23 Apr 2005 Posts: 71
|
Posted: Mon Nov 06, 2006 1:39 am Post subject: |
|
|
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 |
|
|
aych Guru
Joined: 20 May 2004 Posts: 304
|
Posted: Mon Nov 06, 2006 1:43 am Post subject: |
|
|
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 |
|
|
pingu Retired Dev
Joined: 06 Nov 2006 Posts: 11
|
Posted: Mon Nov 06, 2006 6:44 am Post subject: |
|
|
You might want to give testdisk a go before you give up. |
|
Back to top |
|
|
Keruskerfuerst Advocate
Joined: 01 Feb 2006 Posts: 2289 Location: near Augsburg, Germany
|
|
Back to top |
|
|
aych Guru
Joined: 20 May 2004 Posts: 304
|
Posted: Mon Nov 06, 2006 7:01 am Post subject: |
|
|
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 |
|
|
|