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 to use the rescue mode of CentOS

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

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

This article introduces the relevant knowledge of "how to use the rescue mode of CentOS". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!

Rescue mode is a system rescue method used in emergency, which can repair and retrieve system files (system files, non-system files can not be recovered through this mode) that are accidentally lost or deleted in the system. The rescue mode of Linux system is a special system mode, which is loaded and started in the form of CD. It is also an independent "abbreviated" system, which still has most of the functions of the normal system and can execute most of the commands of the normal system.

First, prepare the system installation disk and start using the installation disk: select the third item: Troubleshooting

Go to the Troubleshooting interface and choose the second item: Rescue a CentOS Linux system

Enter 1 in the Rescue option, that is, select Continue, and then enter enter.

Select Continue, and the rescue mode program automatically looks for existing file systems on the system and mounts them to the / mnt/sysimage directory. Select Read-Only to mount the existing file system as read-only. Skip is mounted manually. Advanced, the advanced options are not explained.

4. The original system mount path / mnt/sysimage. If you want to obtain the original system root environment, execute the line command: chroot / mnt/sysimage. Enter to enter the shell interface.

Enter the shell interface operation command

This is the end of the content of "how to use the Rescue Mode of CentOS". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!

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

Development

Wechat

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

12
Report