How to reinstall the Galaxy Kirin desktop operating system V10SP1 while retaining the "data disk"

background

Galaxy Kirin desktop operating system V10SP1-2203 is the latest version of the desktop operating system released by Kirin Software Company as of April 2023. There are two forms of installing this version of the operating system: "full disk installation" and "custom installation", so how to install it like Windows How about reinstalling the Kylin system without formatting the "data disk" just like the system retains the "D drive" for reinstallation? This article will introduce the specific steps in detail.

Initial environment introduction

  1. OS version: Galaxy Kirin desktop operating system V10SP1-2203 (x86_64)
    Insert image description here

  2. The system's default full-disk partition structure is as follows:

    system partition Partition mount point Partition description
    boot partition /boot Stores files needed for the operating system kernel and boot process
    root partition partition / The root directory of the Linux system is displayed as "File System" in the Kirin system, similar to the "C drive" of the Windows system
    Backup and restore partition /backup The "backup and restore" partition of the Kylin system. If the partition is not created, the "Backup and Restore" tool in the system cannot be used.
    data partition /data The partition used to store user data is displayed as a "data disk" in the Kirin system, similar to the "D drive" in the Windows system
    SWAP partition - That is, the swap partition, similar to the "virtual memory" in Windows systems

Insert image description here

Reinstall the operating system

  1. To create a system boot USB flash drive, it is recommended to use Rufus portable software;
    Insert image description here
  2. Insert the USB boot disk into the computer, restart the computer and select to boot from the USB disk, then select "Try the Galaxy Kirin operating system without installation" to enter the Livecd environment (similar to the PE environment of Windows systems); Note: If you are interested in the
    current Since each partition information of the system has been known and recorded, you can also directly choose "Install Galaxy Kirin Operating System".
    Insert image description here
  3. After entering the Livecd trial environment, we can first open "Computer" to view the partition information of the current hard disk and the old system, so that we can format each partition and configure the mount point when reinstalling the system;
    Insert image description here
    Insert image description here
  4. After confirming the system partition information, click the "Install Kylin" icon on the system desktop to enter the system installation interface;
    Insert image description here
    Insert image description here
  5. After completing the steps of "Select Language" - "Select Installation Path" - "Read License Agreement" - "Select Time Zone", come to the "Create User" step.需要注意的是,为保证在后续操作中保留的“数据盘”能在重装后的新系统中被正确挂载和读取,此步骤中我们创建的用户名必须和旧系统中的用户名一致。
    Insert image description here
  6. Click "Next" to enter the hard disk partition interface. Because we want to retain the "data disk", we need to select "Custom Installation" to manually partition. Double-click the partition identified in the figure below to format and configure the mount point.注意:“数据盘”分区千万不能格式化,我们只需要格式化boot分区、根分区、备份还原分区和swap分区并配置相应的挂载点(swap分区无需设置挂载点)即可。
    Insert image description here
    Insert image description here
    Insert image description here
  7. After the hard disk custom partition is completed, click "Next" directly to start installing the operating system and wait for the system installation to complete.
    Insert image description here
    Insert image description here

Configuration after reinstallation

  1. After the reinstallation is completed, log in to the system and open "Computer". You will find that there are only two disks: "File System" and "DATA", but there is no "Data Disk", and the files previously stored on the system desktop are not visible;
    Insert image description here
  2. Right-click the mouse to unmount the automatically mounted "DATA" partition;
    Insert image description here
  3. Open the terminal command line and execute to sudo blkidview the UUID of the "DATA" disk and copy it, then execute to sudo pluma /etc/fstabstart editing the /etc/fstab file. After editing is completed, click the "Save" button, and then close the text editor;
    Insert image description here
    Insert image description here
  4. Continue to enter the following commands in the terminal command to create the corresponding mounting directory;
kylin@kylin-vmwarevirtualplatform:~/桌面$ sudo  mkdir -p  /data/root  /data/home

Insert image description here

  1. Execute the following command to confirm that the edited content in /etc/fstab is correct;
kylin@kylin-vmwarevirtualplatform:~/桌面$ sudo mount -a

Insert image description here

  1. At this time, when we open "Computer", we will find that the "Data Disk" has been displayed, but there are still no files on the desktop;
    Insert image description here
  2. The last step is to restart the operating system. The files on the "data disk" and desktop can be displayed normally. Now you're done.
    Insert image description here

Guess you like

Origin blog.csdn.net/ShenSeKyun/article/details/130109965