1、开机菜单是 移动光标到第一行 --敲击e

2、找到UTF-8,加上空格rd.break,敲击ctrl+x


3、输入以下命令
mount -o remount,rw /sysroot
chroot /sysroot
echo "wz123." | passwd --stdin root
touch /.autorelable
exit
exit(reboot)

原文:https://www.cnblogs.com/tong916790052/p/11666935.html