1. Rescue mode
1.1 System Start-up process
650) this.width=650; "id=" image_operate_31051490931065827 "name=" image_operate_70251490847895579 "src="/HTTP/ s4.sinaimg.cn/mw690/003cgut5zy79ubsbkf5d3&690 "width=" 690 "height=" 535 "alt=" 003cgut5zy79ubsbkf5d3&690 "/ >
Linux Rescue mode:
1. When you forget the root password and have the grub password, you can change the root password by entering rescue mode.
2. You can use rescue mode to recover when the server is not started.
1.2 Steps to enter rescue mode:
1. Insert the disc or USB drive, let Linux boot from the CD, press the minus sign to adjust the boot order, and press F10 to save.
650) this.width=650; "Name=" image_operate_81251490847919687 "src=" http://s15.sinaimg.cn/mw690/ 003cgut5zy79ubxsjisce&690 "width=" 641 "height=" 477 "alt=" 003cgut5zy79ubxsjisce&690 "/>
2. Select ' Rescue installed system ' language default, keyboard type also default.
650) this.width=650; "Name=" image_operate_53581490847920146 "src=" http://s11.sinaimg.cn/mw690/ 003cgut5zy79ubxcnvgda&690 "width=" 640 "height=" 486 "alt=" 003cgut5zy79ubxcnvgda&690 "/>
650) this.width=650; "style=" width:688px;height:380px; "Name=" image_operate_42811490847920522 "src=" http:/ s13.sinaimg.cn/mw690/003cgut5zy79uc3wpje6c&690 "width=" 690 "height=" 380 "alt=" 003cgut5zy79uc3wpje6c&690 "/ >
650) this.width=650; "style=" width:667px;height:386px; "Name=" image_operate_95271490847920835 "src=" http:/ s15.sinaimg.cn/mw690/003cgut5zy79uc40j9c2e&690 "width=" 690 "height=" 386 "alt=" 003cgut5zy79uc40j9c2e&690 "/ >
3. Whether to enable the network when using rescue mode, this is based on the actual situation, select No (Using the TAB key)
650) this.width=650; "Name=" image_operate_60631490847920936 "src=" http://s8.sinaimg.cn/mw690/ 003cgut5zy79uc454pba7&690 "width=" 690 "height=" 386 "alt=" 003cgut5zy79uc454pba7&690 "/>
650) this.width=650; "Name=" image_operate_10581490847921332 "src=" http://s13.sinaimg.cn/mw690/ 003cgut5zy79uc49bos5c&690 "width=" 690 "height=" 384 "alt=" 003cgut5zy79uc49bos5c&690 "/>
4. Three modes can choose: Shell mode will go directly to the command line, the operation can be edited files, modify user password, etc. fakd is the diagnostic mode; reboot will restart directly; Select the first shell mode.
650) this.width=650; "Name=" image_operate_45071490847921620 "src=" http://s9.sinaimg.cn/mw690/ 003cgut5zy79uc4bp7a08&690 "width=" 690 "height=" 386 "alt=" 003cgut5zy79uc4bp7a08&690 "/>
5. Execute a command: chroot/mnt/sysimage
650) this.width=650; "Name=" image_operate_49331490847921935 "src=" http://s10.sinaimg.cn/mw690/ 003cgut5zy79uc4gvjr59&690 "width=" 690 "height=" 382 "alt=" 003cgut5zy79uc4gvjr59&690 "/>
This article from "Leg Hair sadness" blog, declined reprint!
Linux Rescue mode