NavigationContentFooter
Jump toSuggest an edit

How to use rescue mode on Elastic Metal servers

Reviewed on 22 December 2023Published on 26 May 2021
Security & Identity (IAM)

To perform certain actions described below, you must either be the Owner of the Organization in which the actions will be performed or an IAM user with the necessary permissions.

Note

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

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

Requirements
  • You have an account and are logged into the Scaleway console
  • You have configured your SSH key
  • You have created and installed an Elastic Metal server
  1. Click Elastic Metal in the Bare Metal section of the Scaleway console side menu. The Elastic 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. Click Boot in rescue mode to reboot the server into 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@<elastic-metal-server>
    Tip

    Rescue mode uses the SSH keys registered for your Elastic Metal 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. 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 Switch to normal mode 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
How to view event logsHow to use reboot a server
Cloud Products & Resources
  • Scaleway Console
  • Compute
  • Storage
  • Network
  • IoT
  • AI
Dedicated Products & Resources
  • Dedibox Console
  • Dedibox Servers
  • Network
  • Web Hosting
Scaleway
  • Scaleway.com
  • Blog
  • Careers
  • Scaleway Learning
Follow us
FacebookTwitterSlackInstagramLinkedin
ContractsLegal NoticePrivacy PolicyCookie PolicyDocumentation license
© 1999-2024 – Scaleway SAS