Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
recover ext3 partition
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
mikkoloo
Apprentice
Apprentice


Joined: 04 Nov 2003
Posts: 159
Location: .se and .nl

PostPosted: Mon Jun 27, 2005 11:34 pm    Post subject: recover ext3 partition Reply with quote

Hi gentoo users.
I just tried to encrypt my file system and was stupid enough not to think, just followed the guide blindly *bounces head to wall* I unmounted the target partition and made an encrypted fs with mkfs.ext3 without thinking that it would format the part with all the files. At least i think thats what i did cause i formated the mapped encrypted device.

Right now I have a new clean encrypted fs. What I want is my old fs back with all my files on. Im messing with gpart atm, but i dunno if that will give any luck.
Back to top
View user's profile Send private message
frostschutz
Advocate
Advocate


Joined: 22 Feb 2005
Posts: 2977
Location: Germany

PostPosted: Tue Jun 28, 2005 5:00 am    Post subject: Reply with quote

Restore your backup. If you don't have a backup, the files were not important.

That said, I don't think there is much chance of getting your files back. But if you want to try your luck anyway, you should first create an image of the partition using 'dd' and then run your experiments on that image. If you're really really lucky, fsck.ext3 might still find a backup block of the original filesystem in it...
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