Save existing settings for painless installation of Ubuntu9.04

Source: Internet
Author: User
Ubuntu9.04 official version has been released. This new version has many significant improvements for Common Desktop users, including but not limited, new kernel, new file system Ext4, much shorter startup time, GNOME2.26 desktop environment, revolutionary desktop notification system. According to tests on Beta and RC by domestic and foreign blogs, both system performance and desktop experience have been greatly improved, so I think upgrading is a good choice. There are two ways to choose from: Upgrade and install. Because the former left me with pain points.

The official Ubuntu 9.04 version has been released. This new version has many significant improvements for Common Desktop users, including but not limited, new kernel, new file system Ext4, much shorter startup time, GNOME2.26 desktop environment, revolutionary desktop notification system. According to tests on Beta and RC by domestic and foreign blogs, both system performance and desktop experience have been greatly improved, so I think upgrading is a good choice.

There are two ways to choose from: Upgrade and install. Because the former leaves me with painful memories, I do not recommend you upgrade and install it. If the existing Ubuntu has been in service for a long time and it is very easy to learn, it will be a waste of time to completely abandon the reconfiguration. Therefore, in order to reduce the time and data loss caused by the new installation, we need to back up existing data and settings, including the list of installed software packages, the list of software sources, and the user folder.

The specific method is as follows:

Backup before installation:

1. Back up the list of installed software packages.

Sudo dpkg -- get-selections>/home/user/package. selections

2. Back up the user folder under Home.

This folder is similar to the Documents And Settings in Windows And contains user data And software personalization Settings. If you have already placed Home in an additional partition, this step is no longer required. Copy all contents in all user folders to another partition. Be sure to include hidden files (Ctrl + Hide)

3. Backup Software source list. Copy the sources. list in the/etc/apt/folder and save it.

Recovery after installation

Restore the software source list.

1. Copy the backup Sources. list file to the/etc/apt/directory of the new system, overwrite the original file, and replace the intrepid in the (Ctrl + H) document with jaunty. Then update the software source (sudo apt-get update ).

2. download the software in the system before installation again.

If you install a large number of software, it may take a long time.

Sudo dpkg -- set-selections/home/package. selections & apt-get dselect-upgrade

3. Finally, paste the backup master folder (/home/user name) and overwrite the existing Master folder.

With this method, we can basically use the brand new Ubuntu without losing the existing system and software settings.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.