The Rescue System

The Rescue System

The Rescue System is a Linux live environment that allows you to have administrative access to your server. The environment starts from the network (PXE boot) and runs in the memory of the server. This makes it possible to carry out repairs to the installed system, to check file systems or to install a new operating system.

Starting the Rescue System

Activating the Rescue System

To start a server in the Rescue System, it needs to be activated in the client area.

Under "Main Functions; Server" select the desired server and then click "Rescue". Here the desired variant can be activated.

The password that was given to you when you activated the FreeBSD Rescue System can now be used to login as "root" via SSH.

Restarting the Server

To load the Rescue System, the server must be restarted.

If you no longer have access to the server, you can use the reset function in the client area. You will find the "Reboot" of the desired server.

Please note that the activation of the Rescue System automatically becomes inactive after one hour. If the server is restarted later, the system will boot from the internal drive(s).

Mounting the Drive(s) in the Rescue System

Without Software Raid

You can display the detected drives.

ls /dev/[hsv]d[a-z]*[0-9]*
 
# e.g. /dev/sda /dev/sda1 /dev/sda2 /dev/sda3

You can then mount the desired drive/partition.

mount /dev/sda3 /mnt

With Software Raid

You can display the detected MD devices.

ls /dev/md*
 
# e.g. /dev/md0 /dev/md1 /dev/md2

You can then mount the desired MD device.

mount /dev/md2 /mnt

Mounting LVM Volumes

You can display the LVM Volumes.

ls /dev/mapper/*
 
# e.g. /dev/mapper/vg0-home /dev/mapper/vg0-root /dev/mapper/vg0-swap

You can then mount the desired LVM volumes.

mount /dev/mapper/vg0-root /mnt

Resetting the Root Password

To reset the root password of the server, you must first mount the drives, you will find above.

Then use chroot to switch into the mounted system.

chroot-prepare /mnt
 
chroot /mnt

You can now change the password directly by using passwd.

passwd
  • 2 Χρήστες βοηθήθηκαν
Σας βοήθησε αυτή η απάντηση;

Σχετικά άρθρα

Server Locking

Server Locking There are some situations in which we are forced to lock a server. If your...

Changing the network configuration

Changing the network configuration before the switch adjustment All switches must be exchanged...

Additional IP addresses on Dedicated Server

Correct setup of IPv4 addresses under CentOS/Fedora/RHEL A Five Star Hosting server can only...