A few days back the journal of my Ext3 partition(/home on a Kubuntu) system got corrupted and required a fsck to correct it. fsck resulted in a whole host of errors and ended up moving my entire /home folder to 'found+lost' folder. If this was bad it went on to rename all files in the toplevel with thier respective inode numbers.
So suddenly I had no boot up and was basically screwed... Well not exactly, here is how I lost my home drive, found it and recovered it :)...
Firstly I booted into single user mode in kUbuntu...
How to boot to single user modeThen created an user using
$adduser <username>
and give the user Sudo permission coz you will be accessing other user's data.
Now reboot and log in using the new username. Now comes the paining task of reading the directories for recognizable data. Intrestingly if you have given unique dir icons its very easy to identify the directories. Just copy them back to the right place and make sure you rename them.
Search for the .kde dir(required for your settings ect) and .mozilla and .mozilla-thunderbird(or).thunderbird to get back your messages in thunderbird and settings in firefox. Try to recover as many '.' files and dir as possible. Dont copy the .xsession-errors file as it will be recreated. The other important files to pick up are:
.bash_history
.bash_logout
.bash_profile
.bashrc
.ICEauthority
.Xauthority
(you can pick the .ICEauthority and .Xauthority from the new user you created)
Now give the earlier user permission to access the files. ($ chmod a+rwx -R .(a-zA-Z)* )should do the trick.
Now logoff and log back using your old user id... If every step was done correctly you must hv recovered enough to resume your work or to recover the remaining data you require :)
In future keep a copy of the '.' files and your documents in a server just incase Ext3 has one of those days again...