Reinstalling the OS
Scenarios
If the OS of an ECS fails to start or requires optimization, reinstall the OS.
Notes
- After the OS is reinstalled, the IP and MAC addresses of the ECS remain unchanged.
- Reinstalling the OS clears the data in all partitions of the EVS system disk, including the system partition. Therefore, back up data before reinstalling the OS.
- Reinstalling the OS does not affect data disks.
- Do not perform any operations on the ECS immediately after its OS is reinstalled. Wait for several minutes until the system successfully injects the password or key. Otherwise, the injection may fail, and the ECS cannot be logged in to.
Constraints
- The EVS disk quotas must be greater than 0.
- If the target ECS is created using a private image, ensure that the private image is available.
- H2 ECSs do not support OS reinstallation.
Prerequisites
- The target ECS has a system disk attached.
Procedure
- Log in to the management console.
- Click in the upper left corner and select your region and project.
- Click . Under Compute, choose Elastic Cloud Server.
- Locate the row containing the target ECS and choose More > Manage Image/Disk/Backup > Reinstall OS in the Operation column.
Before reinstalling the OS, stop the ECS or select Stop the ECS in the Reinstall OS dialog box.
- Select the login mode.
If the target ECS uses key pair authentication, you can replace the original key pair.
- Click OK.
- In the Reinstall OS dialog box, confirm the settings, read and select the agreement or disclaimer, and click OK.
After the request is submitted, the status Reinstalling is displayed. When this status disappears, the reinstallation is complete.
During the reinstallation process, a temporary ECS is created. After the reinstallation is complete, this ECS will be automatically deleted. Do not perform any operation on the temporary ECS during the reinstallation process.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.