---
title: "Boot the server in recovery and diagnostic mode"
sidebar_label: "Boot the server in recovery and diagnostic mode"
sidebar_position: 1
description: "How to boot the server in recovery and diagnostic mode: Rescue, WinPE, Selectel Boot menu"
---

import Formbricks from '@theme/MDXComponents/Formbricks'
import Tabs from '@theme/Tabs'
import TabItem from '@theme/TabItem'
import {TabItemLabel} from '@selectel/docux/components'
import ArrowsClockwiseIcon from '@selectel/docux/icons/arrows-clockwise'

# Boot the server in recovery and diagnostic mode

If the server does not boot or is unreachable over the network, boot it in one of the recovery and diagnostic modes. Once booted, you can diagnose the server and fix OS configuration errors.

If the server becomes unreachable some time after a reboot, check if hibernation is enabled in the OS. Hibernation may be enabled automatically when installing certain analytics packages (`anaconda`, `cudatoolkit`, `nvidiautils`, etc.).  For an example of how to diagnose and disable hibernation, see the Selectel blog article [How to disable hibernation in Ubuntu](https://selectel.ru/blog/tutorials/how-to-disable-hibernation-in-ubuntu/).

For issues with Mac Mini M1 and Raspberry Pi servers, [create a ticket](https://my.selectel.ru/tickets/create).

1. [Select a recovery and diagnostic mode](#select-recovery-and-diagnostic-mode).
2. [Change the server boot template](#change-server-boot-template).
3. [Connect to the server](#connect-to-server).
4. [Return to the previous server boot template](#restore-server-boot-template).

## 1. Select a recovery and diagnostic mode \{#select-recovery-and-diagnostic-mode}

Recovery and diagnostic modes provide full access to the server file system.

We recommend using a recovery and diagnostic mode based on your tasks and server OS:

* Rescue — for Linux servers;
* WinPE — for Windows servers;
* Boot menu — for any server OS;
* Veeam Recovery Media 13 for Windows — for restoring a server from a backup;
* Talos — for working with Kubernetes.

<Tabs queryString="select-recovery-and-diagnostic-mode">
  <TabItem value="rescue" default>
    <TabItemLabel>
      Rescue
    </TabItemLabel>

    Rescue is a recovery mode that loads the operating system into RAM without using the server's local drives. It contains  [pre-installed system diagnostics and recovery tools](https://static.selectel.ru/kb/rescue_utilities_list.pdf). You can [install additional tools](/dedicated/troubleshooting/install-rescue-tools.mdx) yourself through the `pacman`` package manager`.

    You can connect to a server in Rescue mode via [SSH](/dedicated/manage/connect-to-server.mdx#connect-via-ssh) or a [KVM console](/dedicated/manage/connect-to-server.mdx#connect-via-kvm-console).

    When you log in to the server for the first time, the SSH key is saved to the `~/.ssh/known_hosts` file. If the server has been rebooted, a `REMOTE HOST IDENTIFICATION HAS CHANGED` error may appear when you try to log in again. To fix this, remove the host information for the IP address:

    ```bash
    ssh-keygen -f "/home/<username>/.ssh/known_hosts" -R "<ip_address>"
    ```

    Specify:

    * `<username>` — username (login). You can view it in the [control panel](https://my.selectel.ru/servers): in the top menu, click **Products** → **Dedicated Servers** → **Servers** → server page → **Operating System** tab → **Login**;
    * `<ip_address>` — public IP address of the server. You can view it in the [control panel](https://my.selectel.ru/servers): in the top menu, click **Products** → **Dedicated Servers** → **Servers** → server page → **Operating System** tab → **IP**.
  </TabItem>

  <TabItem value="winpe">
    <TabItemLabel>
      WinPE
    </TabItemLabel>

    WinPE is a minimal version of Windows OS with limited services. It runs in the server's RAM. It is used for diagnostics, recovery, and installation of Windows OS. Learn more in the [Windows PE](https://docs.microsoft.com/ru-ru/windows-hardware/manufacture/desktop/winpe-intro) documentation by Microsoft.

    You can connect to a server in WinPE mode via [VNC](/dedicated/manage/connect-to-server.mdx#connect-via-vnc) or a [KVM console](/dedicated/manage/connect-to-server.mdx#connect-via-kvm-console).
  </TabItem>

  <TabItem value="boot-menu">
    <TabItemLabel>
      Boot menu
    </TabItemLabel>

    Boot menu is a menu for system diagnostics, recovery, and booting the most common server operating systems. The **Tools and Utilities** section contains tools for diagnostics and recovery:

    * `GParted` — disk creation and partitioning;
    * `Clonezilla` — creating backups. For UEFI servers, use the image mounted via the KVM console;
    * `Memtest86` — RAM testing.

    You can connect to a server in Boot menu via a [KVM console](/dedicated/manage/connect-to-server.mdx#connect-via-kvm-console).
  </TabItem>

  <TabItem value="veeam">
    <TabItemLabel>
      Veeam Recovery Media 13 for Windows
    </TabItemLabel>

    Veeam Recovery Media 13 for Windows is a WinPE-based boot environment designed for restoring servers and workstations from backups.

    Runs in the server's RAM. It is used for full system recovery, as well as for recovering individual drives, partitions, and files with connection to remote backup storage.

    You can connect to a server in Veeam Recovery Media 13 for Windows mode via [VNC](/dedicated/manage/connect-to-server.mdx#connect-via-vnc) or a [KVM console](/dedicated/manage/connect-to-server.mdx#connect-via-kvm-console).
  </TabItem>

  <TabItem value="talos">
    <TabItemLabel>
      Talos
    </TabItemLabel>

    Talos Linux is a specialized operating system for running Kubernetes, developed by Sidero Labs.

    Runs in the server's RAM and uses the latest actual version of Talos from official releases — learn more on the [Releases](https://github.com/siderolabs/talos/releases) page in the Sidero Labs GitHub repository.

    You can connect to a server in Talos mode via [VNC](/dedicated/manage/connect-to-server.mdx#connect-via-vnc) or a [KVM console](/dedicated/manage/connect-to-server.mdx#connect-via-kvm-console).

    For more information on installing Talos Linux on a dedicated server to work with Kubernetes, see the [Installing Talos Linux for Kubernetes](/dedicated/manage/talos.mdx) guide.
  </TabItem>
</Tabs>

## 2. Change the server boot template \{#change-server-boot-template}

1. In the [control panel](https://my.selectel.ru/servers/), on the top menu, click **Products** and select **Dedicated Servers**.

2. In the **Servers** section, open the server page → **Operating System**.

3. Click **Change boot template**.

4. Select a boot template:

   * Boot to Rescue;
   * Boot to WinPE;
   * Boot to Boot menu;
   * Boot to Veeam Recovery Media 13 for Windows;
   * Boot to Talos.

5. In the **New password** field, click <ArrowsClockwiseIcon />. A new password will be generated; it is used only to connect to the server in recovery and diagnostic mode.

6. Click **Save and reboot**. The server will be rebooted, and all data on it will be preserved.

## 3. Connect to the server \{#connect-to-server}

The password for connecting to the server in recovery and diagnostic mode can be viewed in the [control panel](https://my.selectel.ru/servers/) in the **Products** → **Dedicated Servers** → **Servers** → server page → **Operating System** tab. You generated the password when [changing the server boot template](#change-server-boot-template) in step 5.

The connection process depends on the selected recovery and diagnostics mode:

* in all modes — via [KVM console](/dedicated/manage/connect-to-server.mdx#connect-via-kvm-console). For Chipcore Line servers, you can order the additional [IP-KVM connection for 3 hours](/dedicated/about/additional-services.mdx) service;
* in Rescue — via [SSH](/dedicated/manage/connect-to-server.mdx#connect-via-ssh) – to protect servers against attacks, the number of login attempts is limited when connecting to a server in Rescue. If there are 10 failed login attempts from a single IP address within an hour, this IP address will be blocked for a day. To unblock the IP address sooner, [reboot the server](/dedicated/manage/manage-server-power.mdx#reboot-server);
* in WinPE — via [VNC](/dedicated/manage/connect-to-server.mdx#connect-via-vnc);
* in Veeam Recovery Media 13 for Windows — [VNC](/dedicated/manage/connect-to-server.mdx#connect-via-vnc);
* in Talos — [VNC](/dedicated/manage/connect-to-server.mdx#connect-via-vnc).

## 4. Return to the previous server boot template \{#restore-server-boot-template}

When the server is rebooted from the OS, the boot template will automatically change back to the one that was set before [changing the server boot template](#change-server-boot-template).

1. In the [control panel](https://my.selectel.ru/servers/), on the top menu, click **Products** and select **Dedicated Servers**.
2. In the **Servers** section, open the server page → **Operating System** tab.
3. Click **Change boot template**.
4. In the **Boot template** field, select the previous boot template.
5. Click **Save and reboot**.

<Formbricks />
