Restart the system first, in reading seconds 3,2,1, the mouse must point into the virtual machine, this time press any key, will be out of line below this
650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M00/79/3F/wKioL1aMusXifIxqAAAglVP2qoo913.png "title=" Clipboard.png "alt=" Wkiol1amusxifixqaaaglvp2qoo913.png "/>
Press E to enter the Grub edit mode, which will now appear
650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M00/79/40/wKiom1aMusSjBxyLAAAk9OunayE008.png "title=" Clipboard.png "alt=" Wkiom1amussjbxylaaak9ounaye008.png "/>
Move the cursor to the kernel line, and then press E to enter the edit interface of the kernel, and then the interface that appears, the last party input
Single (some input s or 1)
650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M02/79/3F/wKioL1aMuw-Ca79EAAAcFmZiLHI765.png "title=" Clipboard.png "alt=" Wkiol1amuw-ca79eaaacfmzilhi765.png "/>
When you press ENTER again to confirm,
650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M00/79/3F/wKioL1aMuyuBrf0MAAAlI2VfhXU265.png "title=" Clipboard.png "alt=" Wkiol1amuyubrf0maaali2vfhxu265.png "/>
Press B to boot into single-user mode.
650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M01/79/3F/wKioL1aMu0fCFR0DAABAGiAw1hc635.png "title=" Clipboard.png "alt=" Wkiol1amu0fcfr0daabagiaw1hc635.png "/> in single-user mode, you will not need to enter a password in the Tty1 place to gain control of the terminal (and root identity). You can then use passwd to modify the root user's password.
Linux forgot root password