Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How does Centos6.8 enter rescue mode

2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces how Centos 6.8 enters rescue mode, which has certain reference value. Interested friends can refer to it. I hope you will gain a lot after reading this article. Let Xiaobian take you to understand it together.

Version: Centos 6.8

What does rescue mode do:

◆ can change the root password;

◆ Recovery of hard disk and file system operations;

◆ When the system does not start, it can only be started through rescue mode;

The steps to activate rescue mode are as follows:

1, first boot into the BIOS settings (each computer to enter the BIOS method is different according to their own computer to enter), BOOT boot order for the CD priority start CD-ROM Drive use the keypad + -sign to adjust the order; set up after saving and exit.

2. Restart the system and enter the installation startup menu. Move the up and down keys to Rescue install system.

3. Select language, keep default English

4. Select keyboard type and keep default us

5, whether to start the network, you need to choose according to your actual situation, if you need to copy data through the network, select YES, here we choose NO;

6. Go to the Rescue interface and select Continue

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

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

9. Enter the shell command line with the prompt bash-4.1#.

ls /mnt/sysimage/Show files mounted in the root directory

Execute chroot /mnt/sysimage/to move files from/mnt/sysimage/directory to root directory;

The command prompt is sh-4.1 #

ls files displayed as root directories;

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

Thank you for reading this article carefully. I hope that the article "Centos 6.8 How to Enter Rescue Mode" shared by Xiaobian will be helpful to everyone. At the same time, I hope that everyone will support you more, pay attention to the industry information channel, and more relevant knowledge is waiting for you to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report