Changing an ECS OS will change the system disk attached to the ECS. After the change, the system disk ID of the ECS will be changed, and the original system disk will be deleted.
If the OS running on an ECS cannot meet service requirements, change the ECS OS.
The cloud platform supports changing between image types (public images, private images, and shared images) and between OSs. You can change your OS by changing your ECS image.
If there are LVM partitions on the Linux ECS, these partitions may fail to be identified after the OS is changed to Windows. Therefore, a change from Linux to Windows is not recommended.
For details, see (Recommended) Creating a Key Pair on the Management Console.
in the upper left corner and select a region and project.Before changing the OS, stop the ECS first or select Stop the ECS in the Change OS dialog box.
Figure 1 Changing an OS

You can set the login mode for the ECS whose OS is to be changed based on service requirements.
After the application is submitted, the ECS status changes to Changing OS. When this status disappears, the OS change is complete.
During the OS change process, a temporary ECS is created. After the OS change is complete, this ECS will be automatically deleted.
It is a good practice to back up the /etc/fstab file before writing data into it.
To enable automatic partition mounting upon system startup, see Initializing EVS Data Disks.
mount Disk partition Device name
df -TH