树莓派 linux 无法直接启动 提示Give root password for maintenance

树莓派提示Give root password for maintenance 无法直接进入桌面

把sd卡插入别的一台linux机器,做系统修复工作

sudo fdisk -l #查看sd卡路径

sudo fsck.ext4 /dev/sdd2 #此处替换为你的SD卡路径

此时可能会提示:
dev/sdd2 is mounted
说明sd卡已被挂载
输入以下指令取消挂载

umount /dev/sdd2

最后再次执行 :

sudo fsck.ext4 /dev/sdc2 #此处替换为你的SD卡路径

然后一直按 y

参考:
http://blog.ittraining.com.tw/2018/06/raspberry-pi-give-root-password-for.html
https://blog.csdn.net/Mr_sdhm/article/details/79075638

树莓派 linux 无法直接启动 提示Give root password for maintenance

上一篇:树莓派(Linux)静态IP地址设置 192.168.6.66 24(我的树莓派地址)


下一篇:CentOS/RHEL/Ubuntu更改系统时间OR时区