When the system file is wrong, you may not be able to enter the system. Or you forget the original system password.
In this way, you can enter a single state, edit the system startup file, or change the error password.
1. Reboot the system.
2. Press "E" to enter a specific setting.
3. Move the cursor over the kernel.
4. Click "E" to enter the editing interface.
Watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvenq2odk=/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/dissolve/70 /gravity/center ">
5, appear for example the following interface.
Watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvenq2odk=/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/dissolve/70 /gravity/center ">
6. Enter single and press ENTER.
7. Press "B" again.
Watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvenq2odk=/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/dissolve/70 /gravity/center ">
8. Enter a single maintenance mode such as the following.
Now in this mode you can change password again, after editing the misconfigured file, start the system again.
Copyright notice: This article Bo Master original articles, blogs, without consent may not be reproduced.
CentOS uses grub into single state