Jump toUpdate content

How to use rescue mode on Bare Metal Cloud Servers

Reviewed on 26 May 2021Published on 26 May 2021
Note:

This documentation concerns rescue mode for Bare Metal Cloud Servers. To use rescue mode on Instances refer to the corresponding documentation.

Rescue mode allows you to boot a Bare Metal Cloud Server from the network. It downloads a rescue operating system, based on Ubuntu Linux, that runs completely in the RAM of the server. This allows you to perform maintenance and data recovery operations, even if the machine is not reachable in normal mode.

Requirements:
  1. Click Bare Metal in the Compute section of the Scaleway Console side menu. The Bare Metal dashboard displays.

  2. Choose the server you want to reboot into rescue mode from the list. Click its name to display that server’s information page.

  3. Scroll down to the Rescue Mode section.

  4. Swipe the Rescue off toggle to the right to reboot the server into rescue mode. Confirm the reboot by clicking Switch to Rescue Mode:

    The server starts to reboot into rescue mode.

    Note:

    Depending on the hardware model of the machine, the reboot may take several minutes.

  5. Once rebooted, use a terminal application to log into the machine using SSH with the user account root:

    ssh root@<bare-metal-cloud-server>

You are now logged into rescue mode and able to perform maintenance actions on the machine. The rescue mode is based on Ubuntu Bionic Beaver (18.04) and you can run commands as on any Ubuntu Linux machine.

Tip:

Rescue mode runs completely in the RAM of the server. To access files located on the hard disk, it needs to be mounted. The disk can be mounted automatically by running mountall.sh

How to reboot into normal mode

Once the maintenance of the machine is completed, it can be rebooted back into the operating system installed on the hard disk of the server.

To reboot the server into normal mode, click the Rescue on button in the rescue mode section of the server’s details. The server reboots on the installed system and will be available in normal mode within a few minutes.

See Also