Home > System Tutorial > LINUX > body text

How to enable rescue mode in Centos6.8?

PHPz
Release: 2024-01-05 21:54:03
forward
1072 people have browsed it

Used version: Centos6.8

What does rescue mode do:

◆You can change the root password;

◆Restore hard disk and file system operations;

◆When the system fails to start, it can only be started through the rescue mode;

The steps to activate rescue mode are as follows:

1. First boot into the BIOS settings (the method of entering the bios for each computer is different according to your own computer), the BOOT startup sequence is CD-ROM Drive is started first Use the - number on the small keyboard to adjust Up and down order; save and exit after setting.

How to enable rescue mode in Centos6.8?

2. After restarting the system, enter the installation startup menu, and move the up and down keys to Rescue install system Rescue installation system

How to enable rescue mode in Centos6.8?

3. Select language and keep the default English

How to enable rescue mode in Centos6.8?

4. Select the keyboard type and keep the default us

How to enable rescue mode in Centos6.8?

5. Whether to start the network or not depends on your actual situation. If you need to copy data through the Internet, select YES. Here we choose NO;

How to enable rescue mode in Centos6.8?

6. Enter the Rescue interface and select Continue

How to enable rescue mode in Centos6.8?

7. The system is mounted under /mnt/sysimage. If you want to enter the root environment, run the chroot /mnt/sysimage command

How to enable rescue mode in Centos6.8?

8. Three options: shell enters command line mode; fakd is diagnostic mode; reboot restarts the computer; we choose hereshell

How to enable rescue mode in Centos6.8?

9. Enter the shell command line, the prompt is bash-4.1

#ls /mnt/sysimage/ Display files in the root directory of the mounted directory

Executionchroot /mnt/sysimage/ Move the files in the /mnt/sysimage/ directory to the root directory;

The prompt after the command is sh-4.1

#ls Displayed as the file in the root directory;

How to enable rescue mode in Centos6.8?

10. In sh-4.1# mode, you need to exit first and then return to bash-4.1# before you can rebootrestart the system;

How to enable rescue mode in Centos6.8?

The above is the detailed content of How to enable rescue mode in Centos6.8?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:jb51.net
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!