Personal blog: Click here to enter

I. Problem description

In the production environment, a wave NF8480M3 appearance red light alarm, in view of the failure to log in the out-of-band management port, can only restart the server power off operation


Two. Problem phenomenon

Restart after the boot process and error, normally after entering this interface directly enter the root password to enter, enter the repair after the file system, or change the fstab file normal into the system, but this server password has been the password incorrect (password must be entered correctly when at the time, so it certainly appeared some problems). The following error message and picture are shown below

An error occurred during the file system check. Dropping you to a shell; the system will reboot when you leave the shell. Disabling security enforcement for system revocery. Run 'setenforce 1' To reenable. Give root password for maintenace (or type Control -d to continue): Normally, enter the root password to enter the systemCopy the code


Three. Fault analysis

After entering the single-user mode, you cannot enter the password and enter the system, so you need to restart the GRUB menu to crack the password. After the GRUB menu is powered on, press E to change the password, but the screen is still displayed. Therefore, this method fails


Iv. Solutions

  • Use an external DVD drive to insert the server (PS: The built-in DVD drive is faulty).
  • On Inspur screen, press F11 to select boot from CD or set DVD as the preferred boot option in Bios
  • Select the redhat TAB page displayed after the cd-rom starts, and select the line beginning Rescue
  • The following screen is displayed for selection

- choose after this step will enter the character interface - into the character input: chroot/MNT/sysimage - echo Root1234 | passwd root - stdin - input after completion of the above command to modify the input: exit - exit - RebootCopy the code
  • The success chart is as follows: