In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
What this article shares with you is the solution to the control+D error after linux restart. The editor thinks it is very practical, so I share it with you to learn. I hope you can get something after reading this article.
Give root password for maintenance (or type Control-D to continue)
Shell code
Fsck-y
Reboot
Fsck-yreboot
Several ways to use the command of fsck
Instruction: fsck
Permissions: superuser
Usage: fsck [- sACVRP] [- t fstype] [-] [fsck-options] filesys […]
Note: check and repair the Linux file system, you can check one or more Linux file systems at the same time
Parameters:
Filesys: device name (eg./dev/sda1), mount point (eg. / or / usr)
-t: given the type of the file system, this parameter is not required if it is already defined in / etc/fstab or supported by kernel itself
-s: execute fsck instructions one by one in order to check
-A: check all listed partition in / etc/fstab
-C: displays the full progress of the inspection
-d: print the debug results of e2fsck
-p: when there is a-A condition, multiple fsck checks are performed at the same time.
-R: omit / do not check when there is also a-A condition
-V: detailed display mode
-a: if there is an error in the check, it will be repaired automatically
-r: if there is an error in the check, it is up to the user to answer whether to fix it.
Example:
Check whether the / dev/hda5 of the msdos file system is normal, and automatically fix it if there are any anomalies: fsck-t msdos-a / dev/hda5
Note:
This instruction can be understood by cross-reference operation with / etc/fstab.
Another situation is to check the fstab, remove the plug-in of the system first, keep the system, and then start it.
The above is the solution to the control+D error after linux restart. The editor believes that there are some knowledge points that we may see or use in our daily work. I hope you can learn more from this article. For more details, please follow the industry information channel.
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.