直接启动系统进入引导界面 在 引导选项 中输入: init=/bin/bash
记得先删掉vga=0x314
回车,启动系统,即直接进入shell模式。 此时使用 passwd 重置新的密码即可。 如果不能修改那就用mount -n / -o remount,rw 把读写权限该了 最后在用mount -n / -o remount,ro改回来即可。
转载于:https://www.cnblogs.com/gxceo/archive/2011/10/03/2198702.html
直接启动系统进入引导界面 在 引导选项 中输入: init=/bin/bash
记得先删掉vga=0x314
回车,启动系统,即直接进入shell模式。 此时使用 passwd 重置新的密码即可。 如果不能修改那就用mount -n / -o remount,rw 把读写权限该了 最后在用mount -n / -o remount,ro改回来即可。
转载于:https://www.cnblogs.com/gxceo/archive/2011/10/03/2198702.html