Diff for "UbuntuReinstallation"


Differences between revisions 1 and 18 (spanning 17 versions)
Revision 1 as of 2012-03-16 14:11:28
Size: 1525
Editor: yannubuntu
Comment:
Revision 18 as of 2012-12-14 03:07:43
Size: 2281
Editor: S0106000475abb63b
Comment: minor typos
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
= Ubuntu Re-installation = = How To Reinstall Ubuntu =
Line 5: Line 5:
Reinstalling Ubuntu may sometimes be the quickest way to solve a problem (eg. if you broke your graphic driver). Reinstalling Ubuntu's system files may sometimes be the quickest way to solve a problem, eg. if an upgrade failed or if your graphic driver is broken.
Line 7: Line 7:
Few people know it, but since Hardy it's possible to reinstall Ubuntu '''without loosing the content of the /home folder''' (which contains program settings, internet bookmarks, emails... and all the documents, music, videos that you have put in it).
'''Even if /home is not a on separated partition.''' (which is the case by default if you did not manually separate it).
Few people know it, but since Hardy it's possible to reinstall Ubuntu '''without losing the content of the /home folder''' (which contains program settings, internet bookmarks, emails... and all the documents, music, videos that you have put in it).
'''Even if /home is not on a separate partition''' (which is the case by default if you did not manually separate it).
Remark: this tutorial can also be used to upgrade Ubuntu (eg 11.04 -> 12.04 from a 12.04 live-CD).
Line 10: Line 11:
Here is HOWTO do it simply: Here is how to do it simply:
Line 12: Line 13:
== By security == == Before all ==
Line 14: Line 15:
By security, backup your documents (including /home hidden files) on external disk or DVDs 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 [[http://clonezilla.org/clonezilla-live.php|CloneZilla]])
Remark: some special applications settings may be in system folders, eg LAMP, see below in the thread.
Line 23: Line 25:
  * If you are using '''Ubuntu 11.10 or newer''', you just need to select the "Upgrade 11.10 to 11.10" option of Ubuntu installer : 2 possibilities:

- '''If an "Upgrade 1X.XX to 1Y.YY" option is available''' (like in the screenshot below), choose it.
Line 25: Line 29:
  * If your are using '''Ubuntu 11.04 or previous''', you need to choose manual partitioning ("Something-else" entry), then select Ubuntu system partition, set its mount point as "/" (keep the same format type, the same size, and untick the "Format" checkbox).
Line 27: Line 30:
- Or, '''if the above option is not available''', choose manual partitioning ("Something-else" option), then select Ubuntu system partition, set its mount point as "/" (keep the same format type, the same size, and untick the "Format" checkbox). Also set other partitions (/boot, /home... see [[DiskSpace]]) if needed.
Line 28: Line 32:
Then finish the installation process. (remark: this may take several hours, like a normal install)

== After reinstalling ==

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

== See also ==
  * [[http://ubuntuforums.org/showthread.php?p=11770332#post11770332|Discussion on the forum]]

How To Reinstall Ubuntu

Reinstalling Ubuntu's system files may sometimes be the quickest way to solve a problem, eg. if an upgrade failed or if your graphic driver is broken.

Few people know it, but since Hardy it's possible to reinstall Ubuntu without losing the content of the /home folder (which contains program settings, internet bookmarks, emails... and all the documents, music, videos that you have put in it). Even if /home is not on a separate partition (which is the case by default if you did not manually separate it). Remark: this tutorial can also be used to upgrade Ubuntu (eg 11.04 -> 12.04 from a 12.04 live-CD).

Here is how to do it simply:

Before all

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) Remark: some special applications settings may be in system folders, eg LAMP, see below in the thread.

Run Ubuntu installer

  1. run Ubuntu installer
  2. go until the "Installation type" (or "Allocate disk space") menu
  3. then choose the right option as described below:

Choose the right option

2 possibilities:

- If an "Upgrade 1X.XX to 1Y.YY" option is available (like in the screenshot below), choose it. http://pix.toile-libre.org/upload/img/1331906258.png

- Or, if the above option is not available, choose manual partitioning ("Something-else" option), then select Ubuntu system partition, set its mount point as "/" (keep the same format type, the same size, and untick the "Format" checkbox). Also set other partitions (/boot, /home... see DiskSpace) if needed.

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

After reinstalling

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

See also


CategoryInstallation

UbuntuReinstallation (last edited 2015-08-11 06:33:43 by mm-127-247-57-86)