1重启电脑Shift键进入GRUB引导模式如下图所示,选择第二行的recovery mode。

Ubuntu 忘记密码

   2 安e进入recovery mode 编译kernel进行启动参数

   3 在linux /boot/vmlinuz...这一行后面添加 quiet splash rw init=/bin/bash。然后F10 就可以直接运行。

Ubuntu 忘记密码
   4 运行后系统直接进入root mode,此时运行passwd命令更改密码。
 
from http://blog.chinaunix.net/uid-26853826-id-3190753.html

相关文章:

  • 2021-07-24
  • 2022-01-01
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-01
  • 2021-12-27
猜你喜欢
  • 2021-09-02
  • 2021-11-06
  • 2021-07-21
相关资源
相似解决方案