Illustration of the use of Linode rescue mode

Source: Internet
Author: User
Tags ssh scp command

First, how to enter the rescue mode

Linode provides a Finnix recovery disk, the equivalent of Windows security mode, and the specific way to enter the Linode recovery model:
1. Open Admin Panel: ps://manager.linode.com/">https://manager.linode.com/, select Rescue (Rescue).

2. Click Reboot into Rescue mode to start rescue modes

1000-rescue3-1

3. This will jump to the Dashboard page, waiting for the machine to start rescue mode completed. At this point you will find that the old IP can not ping, of course, can not SSH landing.

Don't worry. Rescue mode VPS, need to use Lish (through the Linode springboard) landing. See figure below:


4. Finally came in, the following pattern appears, indicating that has landed successfully.

The above steps have been completed, rescue mode of start-up and landing, do not know that we have not remembered. Next, mount the partition that the system hangs up for repair.

Second, how to mount the partition
What is mount is the access to the contents of the partition to be mounted in the Finnix system. Oh, is not more around. Simply put, you can read and write data after you mount the partition. An order is sufficient:

Mount-o Barrier=0/dev/xvda

Iii. how to back up data

The system does not come up, and need to back up data, then what?
Access to the Finnix rescue mode is not directly ssh, so you need to start the SSH service first, which requires the partition system root permissions.
1. It is also not difficult to sacrifice the "Chroot" Dafa.

Mount-o Exec,barrier=0/dev/xvda
Cd/media/xvda
MOUNT-T proc Proc proc/
MOUNT-T SYSFS SYS sys/
Mount-o Bind/dev dev/
Mount-t devpts pts dev/pts/
Chroot/media/xvda/bin/bash

OK, so you enter the partition system.

2. In turn, modify the root password, command to start the SSH service.

passwd
Enter the new root password

/etc/init.d/ssh start
Done so you can move the data away with the SCP command.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.