Updated on 2024-06-18 GMT+08:00

Reinstalling an OS

If the OS of a FlexusL instance is abnormal, reinstall the OS.

This section describes how to reinstall the OS of a FlexusL instance. For details about how to reinstall the OSs of multiple FlexusL instances in batches, see Batch Reinstalling OSs.

Notes

  • After the OS is reinstalled, the IP address of the cloud server remains unchanged.
  • Reinstalling the OS clears the data in all partitions, including the system partition, of the system disk. Back up data before reinstalling the OS.
  • Reinstalling the OS does not affect data disks.
  • Do not perform any operations on the cloud server immediately after its OS is reinstalled. Wait for several minutes until the system successfully injects the password or key, or the injection may fail, and the server cannot be logged in to.
  • The server will automatically restart after the OS is reinstalled, and only custom settings (such as the DNS) will be reset.

Billing

OS reinstallation is free because the original image will be used.

Procedure

  1. Log in to the FlexusL console and click a resource card to go to the instance details page.
  2. Reinstall the OS using any of the following methods.
    • Method 1: Locate the target FlexusL instance and choose > Reinstall OS.
    • Method 2: On the Cloud Servers page, choose > Reinstall OS in the row containing the target cloud server.

    • Method 3: On the Cloud Servers page, click the target server name. In the upper right corner of the displayed page, choose > Reinstall OS.
  3. Specify the parameters required for reinstalling the OS.
    • Select Stop server. The server must be stopped before its OS can be reinstalled.
    • Set Login Credentials. The credentials are used for logging in to cloud servers. After the OS is reinstalled, the login password is cleared. Reset the password.
    • Read and agree to the agreement/disclaimer.

  4. Click OK.

    After the OS is reinstalled, the cloud server will automatically restart. When the server status is Running, the OS reinstallation is complete.