Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

My /home directory was on the separate partition. By mistake I destroyed all the data on it. Now it's resized and formatted. It contains no directories but empty lost+found.

So I lost config data for soo many packages and I guess some packages could not work, or could work wrong. Am I right?

Is there a way to restore those many hidden subdirectories that packages created during installation? I suppose they'll be recreated if I managed to reinstall all installed packages.

ps Server 10.04 LTS, /etc/skel is empty

share|improve this question
    
So simple! Thank you! –  zuba Jan 9 '12 at 23:17

1 Answer 1

up vote 2 down vote accepted

Re-installing packages is not going to help as the . directories are automatically created when you use a package. You can start with cp /etc/bash.bashrc ~/.bashrc . Other then that, most of the . directories will be auto generated and you should not have lost anything other then various settings or configurations.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.