Get the App
SLTechnology News&Howtos  ›  Servers  › 

How to enter rescue mode in CentOS virtual machine

Shulou Source: shulou.com Published: 2022-06-01 23:38:08 10月05日 Update

This article is about how to enter the rescue mode in the CentOS virtual machine. I think it is very practical, so I share it with you. I hope you can get something after reading this article. Let's take a look at it.

1. Right-click the virtual machine and select the power supply-enter Bios and enter Bios when you turn on the power

two。 After entering Bios, move the CD-ROM Drive under Boot to the top, and then press F10 to save and restart

3. Enter Menu after reboot, select Rescue installed system, and press enter

4. When you start the rescue mode, several dialog boxes will pop up for selection. The language defaults to en, the keyboard uses the default us, the mount option directly Continue, followed by OK, and finally select shell, and then enter the rescue mode.

5. Enter the mount partition cd / mnt/sysimage/, to switch bash to shchroot / mnt/sysimage, then execute passwd to change the password, then exit exits to the rescue system, and finally reboot restarts. Note: after the password change is completed, the computer should be shut down to change the Bios and change the order of the CD-ROM Drive back, otherwise the system will enter Menu every time it starts.

The above is how to enter the rescue mode in the CentOS virtual machine. 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.

Tags: Mode rescue selection enter password more power knowledge article system practical backward multiple dialog box that is work meeting article read knowledge point industry Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Docker Shulou Information Huawei Shulou Tech Info NVidia