Re-installing Ubuntu

Since re-installing an OS in general is not exactly an event you wanna spent your whole weekend on here are some practical hints to speed up the process.

Preparation & Backup

  1. Backup your home directory
  2. Backup software in /opt
  3. Backup essential files
    • /etc/apt/sources.list
    • /etc/hosts
    • .bashrc or another bash profile file
  4. Make and backup a list of installed applications

     dpkg --get-selections > installed-software

Setup

  1. Re-install your Ubuntu
  2. Copy essential files
  3. Copy software profiles from your home folder
  4. Install dselect and start installing your applications

     sudo apt-get install dselect
     dselect
  5. In parallel you already can copy your data back on your machine, as dselect will take a while.
  6. Copy software to /opt and add it to your menu

Open Problems

  • Transfer of keyrings
  • Application menu

Leave a Reply