> ## Documentation Index
> Fetch the complete documentation index at: https://help.onetsolutions.net/llms.txt
> Use this file to discover all available pages before exploring further.

# Console and rescue mode of your bare metal server

> Open your dedicated server's screen in your browser, or start it on a repair system to fix it

Two tools let you reach your bare metal server when SSH no longer answers: the **console** shows its screen in your browser, from the very start of the boot, and **rescue mode** starts it on a repair system that leaves its disks untouched.

## The console

The console gives you the server's screen and keyboard through its management card. It works with every system, even before it boots: you see the boot messages and can log in as if you were in front of the machine.

**1. Open the Console tab**

On your server's page in the [console](https://console.onetsolutions.net), click **Console**.

**2. Connect**

With **VNC Console** selected, click **Connect**. Preparing the session can take a few minutes.

**3. Use the screen**

The server's screen opens in the page. Click inside it to type. Click **Close** when you are done, or **Reconnect** to open a new session.

> [!NOTE]
>
> On a server installed with SSH keys only, `root` has no password: to log in at the console, first set one over SSH with `passwd`.

## Rescue mode

Rescue mode restarts the server on a minimal Linux system that runs entirely in memory. Your own system does not start and nothing is reinstalled or erased: you can repair a server that no longer boots, recover files or check its disks.

### Enter rescue mode

**1. Open the Rescue mode tab**

On your server's page, click **Rescue mode**, under **System**.

**2. Start rescue mode**

Click **Enter rescue mode** and confirm. The server restarts on the rescue system, usually in about ten minutes; follow it in the progress window.

**3. Connect over SSH**

Under **How to connect**, the page shows the **Username**, the **Address** and the **Password** of the session. Connect with them:

```bash theme={null}
ssh <username>@<address>
```

Each rescue session gets its own password, shown on this page while rescue mode is active.

### Reach your disks

The server's disks are visible but not mounted. List them, then mount your system's partition:

```bash theme={null}
lsblk -f
mount /dev/sda2 /mnt
```

The partition name depends on your layout: `lsblk -f` shows the file system of each one. A few common uses:

* **Check a file system**: `fsck -f /dev/sda2`, with the partition unmounted.
* **Fix a file that stops the boot** (`/etc/fstab`, a network configuration): edit it under `/mnt`.
* **Add an SSH key** for `root`: append it to `/mnt/root/.ssh/authorized_keys`.
* **Work inside your system** as if it had booted:
  ```bash theme={null}
  for d in dev proc sys; do mount --bind /$d /mnt/$d; done
  chroot /mnt
  ```

### Leave rescue mode

Click **Exit rescue mode** and confirm: the server restarts on its installed system, usually in about five minutes.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.