[Exchange and share] Upgrade tool: helps you upgrade directly from V20 to V23
Tofloor
poster avatar
JasonZhang
deepin
2023-06-02 19:09
Author

Upgrade tool: helps you upgrade directly from V20 to V23

v23升级工具900x383.jpg

Do you want to experience the new features of deepin V23 beta, but worry that the upgrade process is too troublesome, too time-consuming and too risky? Have you encountered upgrade failure, data loss, application incompatibility and other problems that discourage you from upgrading your system across versions? Do you wish you could easily upgrade directly from V20 to V23 without reinstalling the system or downloading multiple versions of image files? If your answer is YES, then you will like the upgrade tool we have prepared for you.

Special reminder: Please use it in non-production environment and please backup your data in advance.

Steps to use the upgrade tool

Step 1: System detection

WeChat Image_20230602103208.png

Before upgrading to deepin V23 beta, you need to download and install the "System Upgrade Tool" from the V20 App Store, and then follow the step-by-step application guide. The upgrade tool will first perform an upgrade check to make sure your hardware meets the minimum criteria for V23 (X86_64, and sufficient disk space). Special reminder: please upgrade from deepinV20.9.

Step 2: Image acquisition

WeChat Image_20230602103334.png

The upgrade tool supports two kinds of system upgrade image paths: network download and local import. If your network environment is stable and fast, you can choose to download online and the system will download the image file automatically; if your network environment is not good or there are traffic restrictions, you can download the image file from deepin's official website or other reliable channels, and then choose to import the image file locally in the upgrade tool to upgrade. Special reminder: If online downloading takes too long, it is recommended to download the image from deepin's official website and import it locally.

Step 3: Software evaluation

WeChat Image_20230602103444.png

When the system image is ready, the upgrade tool will automatically compare the current V20 version and V23 version of the application ecology and display a list of compatible and incompatible applications. You can independently choose which compatible apps are automatically installed in V23 version.

During the upgrade process, the upgrade tool will also migrate the data and configuration files generated by the applications you used in version V20 to version V23 intact, ensuring that you will not lose data or configuration after the upgrade, provided that you have not manually changed the storage path of these data and configuration. Special Note: If you have manually moved the configuration file to another disk partition, it may result in data and configuration loss.

Step 4: Preparing for the upgrade

WeChat Image_20230602103530.png

WeChat Image_20230602103537.png

During the system upgrade process, the upgrade tool will automatically overwrite the original system root directory with the root directory extracted from the deepinV23 version of the system image to achieve the conversion from deb format to lingon format and the switch from the old file system structure to the new file system structure. At the same time, the upgrade tool also automatically backs up the V20 version of the system to a partition with the most space left and uses ostree to create a system snapshot for rollback or recovery. This ensures that the data and system will be available after the upgrade.

Step 5: System upgrade

WeChat Image_20230602103646.png

After the preparation work is finished, the system will automatically reboot and enter the official upgrade phase. During this stage, you only need to observe the progress bar and prompt messages on the screen. If there is a problem, the system will automatically revert back to the original system and indicate the cause of the error. If everything goes well, you will be taken to the welcome screen of the deepinV23 version.

Step 6: Software installation

WeChat Image_20230602103748.png

After the upgrade is successful, the upgrade tool will install the compatible applications you need and migrate the application data and profiles from the V20 version to the V23 version based on the checkboxes you made on the software evaluation result screen. In this way, you can not only keep your original application settings and habits, but also enjoy the new features and optimizations of the V23 system.

WeChat Image_20230602103802.png

If the "software evaluation failed" message appears during the software installation, the upgrade will be interrupted and the system will stay at the current version.

Fallback Method

If you want to roll back to deepinV20, you can follow the steps below:

Step 1: Reboot the system to enter the boot options screen, select "System Recovery" and use the Enter key to enter;

WeChat Image_20230602103954.jpg

Step 2: Select the boot item with the smaller version number, such as deepin 20.9, and use the Enter key to enter;

WeChat Image_20230602104026.jpg

Step 3: At this time, the system will automatically stay in the logo flashing interface, at this time the system is in the process of regression, just wait patiently for a few minutes, you can automatically enter the original system.

WeChat Image_20230602104101.png

Special reminder: Before rollback, please make sure you have backed up important data and files; do not choose to rollback the system at will, you need to upgrade the system again if you want to return to V23 environment after the system is finished rollback.

It should be noted that if you use the full installation method, your system will have the mechanism of partition A and B. The upgrade tool will only process the partition where the current system is located during the upgrade process, and will automatically ignore the backup partition. When the upgrade is successful, the backup partition still exists, it just can't play its original role because the ABRecovery component has been removed from the V23 environment. After you use the upgrade tool to upgrade to V23 version, the B partition which was used for system backup restore will lose its function and become unused space. However, you can decide how to use the B partition according to your needs.

If you are using the manual partitioning method or you are upgrading to a major version, then the upgrade tool will use another way to keep your system safe. Before upgrading, the upgrade tool will automatically find a partition with the most space left and backup the original system to this partition. When the backup is successful, the upgrade tool will extract the system image of the deepinV23 version and overwrite the original system root with it. In this way, you can achieve the conversion from deb format to lingon format, and from the old file system structure to the new one. And, during the whole process, you don't need to worry about the dependencies between packages. If any problem occurs during the upgrade process, the system will automatically fall back to the original system and prompt you the cause of the error. If the upgrade is successful but you are not satisfied with the new version, you can also revert to the original system by selecting the "System Recovery" option during reboot.

Whichever way you use to upgrade your system, the upgrade tool will not do anything to the files in your home directory and data disk (the file manager has the home directory coverage marked). Therefore, after the upgrade is completed, the file data in the home directory will remain the same as in the original system home directory.

As an intelligent application, the upgrade tool will determine whether your various environments meet the upgrade conditions, such as hardware environment, network environment, application environment, etc., before upgrading. It not only completes the upgrade operations such as automatically backing up the original system, downloading the new system, replacing the root directory, migrating data, installing applications, but also ensures the safety of your system and data.

Welcome to use the upgrade tool and experience the innovative features of deepinV23beta. Your suggestions and question feedback during the experience will provide important help for us to optimize the deepin OS. Feel free to visit the deepin forum to share your experience and feelings with other users. If you find any bugs or have any suggestions, you can visit https://github.com/linuxdeepin to submit an issue to us. We will handle each issue seriously and reply as soon as possible. Thank you for your support and trust in deepin!

Reply Favorite View the author
All Replies

No replies yet