Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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


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.