From Maties Ubuntu
Use ubuntu.sun.ac.za to access this website
The campus IT department does not officially support Ubuntu
Please refer to the Ubuntu campus community for support
The Ubuntu campus community only supports stable LTS releases
When new versions of Ubuntu are released it is probably better to install again rather than upgrade.
If you want to go from a 32 bit system to a 64 bit system, then you will have to re-install.
- Please note
- This procedure is for desktops that do not run any server services. If you do run any server services then backup the server data BEFORE re-installing. You have been warned.
- Option A - Easy procedure using Synaptic, but no system backup and restore.
- Option B - Advanced procedure
This option provides system backup and restore.
- Please note
- Setup a seperate /home folder partition. This is essential for the following procedures to work.
- Step 1 - Prepare and run a backup script
#!/bin/sh # This script creates the backup folders. # Then backs up the data. # Create the folders mkdir /home/backup mkdir /home/backup/root mkdir /home/backup/etc mkdir /home/backup/opt mkdir /home/backup/usr # Perform the backup rsync -av /root/ /home/backup/root/ rsync -av /etc/ /home/backup/etc/ rsync -av /opt/ /home/backup/opt/ rsync -av /usr/local/ /home/backup/usr/ # Store list of currently installed software dpkg --get-selections > /home/backup/installed-apps.txt
Then make it executeable, by typing the following in a terminal:
chmod a+x /home/$USER/backup-for-reinstall.sh
Then run it, by typing the following in a terminal:
- Step 2 - Install Ubuntu again
- Step 3 - Restore previously installed Ubuntu software
sudo apt-get update
sudo dpkg --set-selections < /home/backup/installed-apps.txt
sudo apt-get -u dselect-upgrade
- Step 4 - Restore previous customised software
Type the following in a terminal:
sudo rsync -av /home/backup/opt/ /opt/
sudo rsync -av /home/backup/usr/ /usr/local/
** You use this wiki entirely at your own risk **
The authors/editors of this wiki accept no responsibility in any way whatsoever for any damages incurred, arising from the use of any information or software provided by the use of this wiki, to provide support for Ubuntu on the campus of Stellenbosch University.
In addition, please note that all Maties Ubuntu members are unpaid volunteers.
All help is subject to the "ABSOLUTELY NO WARRANTY" condition found in the GNU General Public License .
The content on this wiki is covered by the CC-BY-SA creative commons licence.