PS: Red font is an important part, look carefully
First, what is single-user mode?
Single-user or system is not fully operational, only some programs run, this can not be telnet to the Linux system.
Second, why use single-user mode?
Single-user is entered as root, when the root user has full access to the system, can repair the system at the same time, can also be at any time to destroy the system.
Simply forget the root password, you can enter the single-user mode to modify.
Third, how to enter the single-user mode?
1. Open the Linux system and press any key;
650) this.width=650; "src="/e/u261/themes/default/images/spacer.gif "style=" Background:url ("/e/u261/lang/zh-cn/ Images/localimage.png ") no-repeat center;border:1px solid #ddd;" alt= "Spacer.gif"/>650 "this.width=650;" src= "http ://s3.51cto.com/wyfs02/m00/5b/24/wkiol1uazr2ih7qkaadjw5zvjha065.jpg "title=" 1.png "alt=" Wkiol1uazr2ih7qkaadjw5zvjha065.jpg "/>
2. I have upgraded the operating system, select the latest kernel. Press E to enter edit mode;
650) this.width=650; "src="/e/u261/themes/default/images/spacer.gif "style=" Background:url ("/e/u261/lang/zh-cn/ Images/localimage.png ") no-repeat center;border:1px solid #ddd;" alt= "Spacer.gif"/>650 "this.width=650;" src= "http ://s3.51cto.com/wyfs02/m00/5b/2a/wkiom1uazanabbx_aaffmnu7qrw417.jpg "title=" 2.png "alt=" wKiom1UAZAnAbbx_ Aaffmnu7qrw417.jpg "/>
3. Select kernel, press E to enter edit mode;
650) this.width=650; "src="/e/u261/themes/default/images/spacer.gif "style=" Background:url ("/e/u261/lang/zh-cn/ Images/localimage.png ") no-repeat center;border:1px solid #ddd;" alt= "Spacer.gif"/>650 "this.width=650;" src= "http ://s3.51cto.com/wyfs02/m01/5b/24/wkiol1uazs_g1bbwaahztip35bc419.jpg "title=" 3.png "alt=" wKioL1UAZS_ G1bbwaahztip35bc419.jpg "/>
4. After kernel, enter 1, s, single can, for simple I input 1, press ENTER;
650) this.width=650; "src="/e/u261/themes/default/images/spacer.gif "style=" Background:url ("/e/u261/lang/zh-cn/ Images/localimage.png ") no-repeat center;border:1px solid #ddd;" alt= "Spacer.gif"/>650 "this.width=650;" src= "http ://s3.51cto.com/wyfs02/m00/5b/24/wkiol1uaztfs4dn5aafjambs0p0232.jpg "title=" 4.png "alt=" Wkiol1uaztfs4dn5aafjambs0p0232.jpg "/>
5. Press B to restart the system;
650) this.width=650; "src="/e/u261/themes/default/images/spacer.gif "style=" Background:url ("/e/u261/lang/zh-cn/ Images/localimage.png ") no-repeat center;border:1px solid #ddd;" alt= "Spacer.gif"/>650 "this.width=650;" src= "http ://s3.51cto.com/wyfs02/m01/5b/2a/wkiom1uazb7dyuxhaagb75ccvi0066.jpg "title=" 5.png "alt=" Wkiom1uazb7dyuxhaagb75ccvi0066.jpg "/>
6. Single-user mode log in as root;
650) this.width=650; "src="/e/u261/themes/default/images/spacer.gif "style=" Background:url ("/e/u261/lang/zh-cn/ Images/localimage.png ") no-repeat center;border:1px solid #ddd;" alt= "Spacer.gif"/>650 "this.width=650;" src= "http ://s3.51cto.com/wyfs02/m02/5b/24/wkiol1uazuwchlmmaafhvynyieo555.jpg "title=" 6.png "alt=" Wkiol1uazuwchlmmaafhvynyieo555.jpg "/>
Four, close the boot progress bar
[Email protected] ~]# vim/etc/grub.conf #编辑grub. conf file
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/5B/2A/wKiom1UAZD2yobFiAALp0959zGY977.jpg "title=" 7.png " alt= "Wkiom1uazd2yobfiaalp0959zgy977.jpg"/>
Without modifying the previous look:
650) this.width=650; "src="/e/u261/themes/default/images/spacer.gif "style=" Background:url ("/e/u261/lang/zh-cn/ Images/localimage.png ") no-repeat center;border:1px solid #ddd;" alt= "Spacer.gif"/>650 "this.width=650;" src= "http ://s3.51cto.com/wyfs02/m00/5b/24/wkiol1uazwlx7a1raabprgrl41w779.jpg "title=" 8.png "alt=" Wkiol1uazwlx7a1raabprgrl41w779.jpg "/>
What to look like after you modify it:
650) this.width=650; "src="/e/u261/themes/default/images/spacer.gif "style=" Background:url ("/e/u261/lang/zh-cn/ Images/localimage.png ") no-repeat center;border:1px solid #ddd;" alt= "Spacer.gif"/>650 "this.width=650;" src= "http ://s3.51cto.com/wyfs02/m00/5b/2a/wkiom1uazemhrjfpaalcq3l2rv0906.jpg "title=" 9.png "alt=" Wkiom1uazemhrjfpaalcq3l2rv0906.jpg "/>
This article is from the Chen. "Blog, be sure to keep this provenance http://chenxiaojian.blog.51cto.com/9345444/1619541
Enter single-user mode