Size: 1525
Comment:
|
Size: 2414
Comment: Add emphasis about unchekecking "format"
|
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, for example if an upgrade failed or if your graphics 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). |
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). |
Line 10: | Line 11: |
Here is HOWTO do it simply: | == Before doing anything == |
Line 12: | Line 13: |
== By security == | 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]]) '''Note:''' Some special applications settings may be in system folders, eg LAMP, see below in the thread. |
Line 14: | Line 16: |
By security, backup your documents (including /home hidden files) on external disk or DVDs == Run Ubuntu installer == 1. run Ubuntu installer 1. go until the "Installation type" (or "Allocate disk space") menu 1. then choose the right option as described below: |
== Run the Ubuntu installer == 1. Run the Ubuntu installer 1. Follow the prompts until the "Installation type" (or "Allocate disk space") menu 1. Choose the right option as described below: |
Line 23: | Line 23: |
* 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 : {{http://pix.toile-libre.org/upload/img/1331906258.png}} * 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). |
There are two possibilities - choose the one that fits what the installer is showing: |
Line 27: | Line 25: |
- '''If an "Upgrade 1X.XX to 1Y.YY" option is available''' (like in the screenshot below), choose it. {{http://i.stack.imgur.com/Su5Ay.png}} |
|
Line 28: | Line 28: |
- Or, '''if the above option is not available''', choose manual partitioning ("Something-else" option), then select Ubuntu system partition, set its mount point as "/". '''Be sure to keep the same format type, the same size, and untick the "Format" checkbox or all data on / will be deleted!'''. Also set other partitions (/boot, /home... see [[DiskSpace]]) if needed. 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 == * [[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, for example if an upgrade failed or if your graphics driver is broken.
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
- Run the Ubuntu installer
- Follow the prompts until the "Installation type" (or "Allocate disk space") menu
- Choose the right option as described below:
Choose the right option
There are two possibilities - choose the one that fits what the installer is showing:
- If an "Upgrade 1X.XX to 1Y.YY" option is available (like in the screenshot below), choose it.
- Or, if the above option is not available, choose manual partitioning ("Something-else" option), then select Ubuntu system partition, set its mount point as "/". Be sure to keep the same format type, the same size, and untick the "Format" checkbox or all data on / will be deleted!. Also set other partitions (/boot, /home... see DiskSpace) if needed.
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.