In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article will explain in detail how to stop the centos7 system in the Ctrl+d interface. The editor thinks it is very practical, so I share it for you as a reference. I hope you can get something after reading this article.
Under centos7, due to disk damage or fstab change, it is easy to cause the system to stop in Ctrl+d. At this time, you need to enter a password to enter and modify the fstab file, comment or delete the corresponding disk mount point, or modify the error of the FSTAB file.
Phenomenon:
Solution:
1. Restart the system and press the E key when entering the boot
2. Find the LINUX16 line and enter rd.break to enter the rescue command line mode
3. Press ctrl+x to continue
4. After entering, you need to mount the sysroot directory (sysroot is the way to specify the temporary root directory during cross-compilation)
Mount-o remount,rw / sysroot
Chroot / sysroot
Note: because you need to edit FSTAB later, you need write permission, so you don't have write permission to mount SYSROOT directly.
5. View the FSTAB file
Just comment out the last sentence, then edit and save it. There are also some writing mistakes in other keywords, which can be changed to correct grammar.
6. It will be normal after reboot.
Add:
1. Root is an administrator and a symbol of the highest authority. The system is generally disabled by default from a security point of view, and root permissions are obtained through su or sudo.
2. Rootfs is the root file system, the mount point of the root directory of the linux system is /, and roofs is the collection of all the files under the root directory, which is the organization of a system that can run.
3. Chroot uses the target address as the root directory. Under this directory is a system organization that can run. Of course, there must be shell in PATH.
4. Sysroot is a way to specify a temporary root directory during cross-compilation, in the form of-- with-sysroot=/path so that the compilation process will take path as the root directory, determine the relative dependencies, and it will be easy to find dependencies in normal systems after compilation.
5. Install_root is used when make install is used to specify the root path of the installation
This is the end of the article on "what to do when the centos7 system stops at the Ctrl+d interface". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, please share it for more people to see.
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.