I need to reinstall Ubuntu, but it doesn't have anything to do with wanting to clean my system or 'start fresh.' I have my stuff pretty fine tuned, so I want to redo as little as possible.
Asked
Active
Viewed 623 times
1 Answers
2
In brief
- Backup you
$HOMEor whatever partition, logical volumes that contains your personal data - Get a list of the installed packages
dpkg --get-selections > pkg.listkeep the file - When restoring the packages
sudo dpkg --set-selections < /path/to/pkg.listandsudo apt-get dselect-upgrade - Backup your
/etcif you can't remember what changes you have made for tuning
You can use tar or rsync over SSH to a remote host. I personally recommend booting using a USB/DVD Live (e.g. Ubuntu Desktop or System Rescue CD) and do the backup just to avoid file lock issues, always safer;-)
Terry Wang
- 10,185