Jump toUpdate content

How to use rescue mode on Dedibox servers

Reviewed on 12 April 2022Published on 12 April 2022
Note:

This documentation concerns rescue mode for Dedibox servers. To use rescue mode on Instances refer to the corresponding documentation.

Rescue mode allows you to boot a Dedibox server from the network. It downloads a rescue operating system, 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 Dedibox in the Compute section of the Scaleway Console side menu. The Dedibox 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. Click Boot in rescue mode. A pop-up displays.

  5. Select the rescue operating system that fits your server’s operating system and click Boot in 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.

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

    ssh rescue-user@<dedibox>
    Tip:

    Rescue mode uses the SSH keys registered for your Dedibox server as an authentication method. If you have lost your private key, you can access your server using the credentials displayed in the console:

You are now logged into rescue mode and able to perform maintenance actions on the 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 Switch to normal node on the the server’s overview page. The server reboots on the installed system and will be available in normal mode within a few minutes.

See Also