摘要: 重启虚拟机后,长按shift进入grub菜单,然后选择Ubuntu恢复模式,按e进入编辑界面。 选择内核版本 安装e键进入 把ro recovery nomodeset 修改为 rw single init=/bin/bash 然后按ctrl+x或F10进入单用户模式 添加权限 chmod u+w  阅读全文
posted @ 2023-02-22 12:22 hanwei666 阅读(450) 评论(0) 推荐(0) 编辑
摘要: 在使用ubuntu的过程中修改了/etc/sudoers文件导致出现如下错误: sudo: parse error in /etc/sudoers near line 32 sudo: no valid sudoers sources found, quitting sudo: unable to 阅读全文
posted @ 2023-02-22 12:18 hanwei666 阅读(302) 评论(0) 推荐(0) 编辑
……