The Cookie Machine - Click here to drag window

DUMMY TEXT - Real text set in assets/js/theCookieMachine.js

If you can read me, I'm broken!

Views: 129,627     Votes:  4 
Tag : reset  
Link: 🔍 See Original Answer on Ask Ubuntu ⧉ 🔗

URL: https://askubuntu.com/q/1117800
Title: Resetting Ubuntu to factory settings
ID: /2019/02/13/Resetting-Ubuntu-to-factory-settings
Created: February 13, 2019    Edited:  June 12, 2020
Upload: September 15, 2024    Layout:  post
TOC: false    Navigation:  false    Copy to clipboard:  false


Reinstalling can mean erasing everything, reformatting the partition, loosing all data and installing Ubuntu with a brand new /home/user directory. This is the common result when doing a google search.

This answer is about reinstalling Ubuntu and keeping /home/user directory. The following is from: Ubuntu Reinstallation


Ubuntu Reinstallation

Introduction

Sometimes reinstalling is the quickest way to solve a problem, for example if an upgrade failed or if your graphics driver is broken. When reinstalling, you’re most likely want to preserve two things:

How To Reinstall Ubuntu

Since Hardy it is possible to reinstall Ubuntu without losing the content of the /home folder (the folder that contains program settings, internet bookmarks, emails and all your documents, music, videos and other user files). This can be done even if /home is not on a separate partition (which is the case by default if you did not manually separate it when installing Ubuntu originally). This tutorial can also be used to upgrade Ubuntu (eg 11.04 -> 12.04 from a 12.04 live-CD).

Before doing anything

This operation should not damage your documents but, for security, backup your documents and settings (including /home hidden files) on external disk or DVDs. (eg via CloneZilla) Note: Some special applications settings may be in system folders, eg LAMP, see below in the thread.

Run the Ubuntu installer

Choose the right option

There are two possibilities - choose the one that fits what the installer is showing:

enter image description here

Then finish the installation process. (this may take several hours, like a normal install)

After reinstalling

After reinstalling, user accounts must be re-created with the same login and password.

See also

  1. Discussion on the forum

Create a Live USB

⇧ rcu_sched self-detected stall on CPU + watchdog: BUG: soft lockup - CPU#3 stuck for 22s Open-iscsi target : enable write-back  ⇩