Updated on 2024-09-25 GMT+08:00

Reinstalling the OS of a FlexusX Instance

Scenarios

If the OS of a FlexusX instance fails to start or requires optimization, reinstall the OS.

Prerequisites

The target FlexusX instance has a system disk attached.

Notes

  • After the OS is reinstalled, the IP address of the FlexusX instance 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 FlexusX instance immediately after its OS is reinstalled. Wait for several minutes while the system injects the password or key. Otherwise, the injection may fail, and the FlexusX instance cannot be logged in to.
  • The FlexusX instance 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 FlexusX console, in the upper left corner, click , and select a region and project.
  2. Locate the FlexusX instance and choose More > Manage Image > Reinstall OS in the Operation column.
  3. Specify the parameters required for reinstalling the OS.
    • Select Stop FlexusX instance. The FlexusX instance must be stopped before its OS can be reinstalled.
    • Set Login Mode. The credentials are used for logging in to the FlexusX instance.
      • Password: A username and its initial password are used for FlexusX instance login authentication.

        The initial password of user root is used for login authentication in Linux, and the initial password of user Administrator is used for login authentication in Windows.

      • Key pair: A key pair is used for FlexusX instance login authentication. You can select an existing key pair, or click Create Key Pair to create a new one.

        If you choose to use an existing key pair, ensure that it is available locally, or you will not be able to log in to your FlexusX instance.

      • Password from image: If a password has been set for the private image, you can select this option to use that password.
      • Set password later: You can choose to set a password for your FlexusX instance later. If you select this option, remember to set a password after your FlexusX instance is created.

  4. Click OK.
  5. On the Reinstall OS page, confirm the OS specifications, read and select the agreement or disclaimer, and click OK.

    After the OS is reinstalled, the FlexusX instance will automatically restart. When the instance status is Running, the OS reinstallation is complete.

Follow-Up Operations

If the OS fails to be reinstalled, install it again. If the second attempt still fails, submit a service ticket.