Turn on the virtual machine, select the second one and press the e key. The
page is not modified.
Important: ro
change rw
and then type in the back and init=/bin/bash
press f10 and
press f10 to jump to this page, select the following enter.
Success: directly passwd to modify the password for the
first time input Password:
Determine the password for the second time:
Then restart, enter root and the password you set.
Linux forget the root password solution
Guess you like
Origin blog.csdn.net/p_utao/article/details/113788753
Recommended
Ranking