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.
- For a Windows ECS, if you set a new password during OS reinstallation, the locally stored RDP file will become invalid. In this case, download the RDP file again for logging in to the ECS.
Constraints
- The EVS disk quota must be greater than 0.
- If the target ECS is created using a private image, ensure that the private image is available.
- If the target ECS is billed on demand, ensure that your account has sufficient balance.
- 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 the desired region and project. - Under Computing, click Elastic Cloud Server.
- Locate the row containing the target ECS. Click More in the Operation column and select Manage Image/Disk > Reinstall OS.
Before reinstalling the OS, stop the ECS or select Automatically stop the ECSs and reinstall their OSs.
- Configure the login mode.
If the target ECS uses key pair authentication, you can replace the original key pair.
Figure 1 Reinstall OS
- Click OK.
- On the ECS OS Reinstallation page, confirm the specifications, select I have read and agree to the Huawei Image Disclaimer, and click Submit.
After the request is submitted, the ECS status changes to Reinstalling. The reinstallation has been completed when the ECS status changes to Running.
A temporary ECS is created during the reinstallation process. After reinstallation, this ECS will be automatically deleted. Do not perform any operation on the temporary ECS during the reinstallation process.
Last Article: Changing an ECS Name
Next Article: Changing the OS
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.