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

For the host of the Linux system, enter the repair mode to solve the problem of boot error

2025-03-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

What is explained here is that when the host of the Linux system cannot be turned on, it can enter the repair mode and modify it accordingly. Let the host restart, enter the kernel selection interface when booting, and press e to enter the editing interface 2. Find the linux16 line, move the cursor to the front, press the end key, to the end of the line, and then space rd.break console=tty03. Line. Step 2 ends with pressing ctrl+x to enter another mode 4. Enter the command to remount the root directory: mount-o rw,remount / sysroot/5. Enter the command to enter the root directory: chroot / sysroot6. In this way, you can modify the configuration file at will, or change the password. Execute the last command to make the above changes take effect: touch /. Autorelabel # # this step, create this file only to change the password needs to do 8. Enter the exit command and press enter 9. Just type the reboot command and wait patiently.

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