1 重启机器,在机器读秒时按回车键2 选择要启动的操作系统按 e3 选择kernel所在行按 e4 末尾输入空格 single5 敲回车 在按 b系统将进入单用户模式 然后 可以 通过 passwd root 来修改密码。