Ubuntu – How to reset Ubuntu installation


How do I reset my Ubuntu installation just like it's freshly installed (like factory reset), with my files being intact and without a reinstallation.

Best Answer

Sorry, but there is no "factory reset" option in Ubuntu. You will need to reinstall it. To keep your files intact:

  • If you have a separate /home partition, unmark the "format" partition and set its mountpoint to "/home" during the installation.

  • If you do not have a separate /home partition, copy the entire /home directory to an external storage drive, such as a flash drive. You will need root privileges to do it, so run 'gksudo nautilus /' in a terminal, without quotes, to open the file manager with such privileges. Then just copy-paste the "/home" directory to the external drive. After you reinstall Ubuntu, your files should be there.