已在 ubuntu 20.04 测试过, 可运行..
ro quiet splash $vt_handoff
改为
rw single init=/bin/bash
按 Ctrl + x 单机模式运行 bash
2) 检查是否有挂机
root@none:/# mount | grep -w /
/dev/loop0 on / type ext4 (rw,relatime,errors=remount-ro)
3) 修改 root 密码
root@none:/# passwd
New password:
Retype new password:
passwd: password updated successfully
3) 修改 root 密码
root@none:/# passwd
New password:
Retype new password:
passwd: password updated successfully
4) 运行进入 GNOME
root@none:/# exec /sbin/init
没有评论:
发表评论