CentOS Virtual Machine enters rescue mode
Right-click the VM and selectPower supply-Enter the Bios when the power is turned on.
After entering the BiosUnder BootCD-ROM Drive moves to the top, and then pressPress F10 to save and restart
Enter after restartMenu, selectRescue installed system, press ENTER
When the rescue mode is enabled, multiple dialog boxes are displayed for selection. The language is used by default.En, use the default keyboardUs, direct mounting optionsContinue.OK.Shell, and then enters the rescue mode
Go to the Mount Partitioncd /mnt/sysimage/
Switch bash to shchroot /mnt/sysimage
And then executepasswd
Change the password, and thenexit
Log out to the rescue system, and finallyreboot
Restart;Note:Password Change after restart, but also shut down to change the Bios, the order of CD-ROM Drive back, or each time the system will enter the Menu