树莓派重启错误:Give root password for maintenance 的解决办法
2018-01-16 15:54
966 查看
出现此问题的原因是不当操作导致的树莓派文件系统损坏。
如果你没有USB键盘,又遇到了这个问题,下面的方法可以帮你解决这个问题!
因为没有键盘,无法按照提示输入命令,这时我们需要另外一个Linux系统来修复文件系统损坏的SD卡(你需要一个读卡器)。
这里使用Ubuntu来进行文件系统修复:
第一步:查找你的SD卡rootfs分区在Linux系统下的路径
打开磁盘软件,然后查找SD卡的路径
此时获得我的SD卡路径为/dev/sdc2
第二步:在终端修复SD卡
输入指令:
此时可能会提示:
说明SD卡已被挂载
输入以下指令取消挂载:
最后再次执行:
接下来系统会修复SD卡的文件系统,按照提示输入Y继续。
此时文件系统修复成功,将SD弹出后安装在树莓派上,系统启动成功!
-- by 邃定恒鸣
如果你没有USB键盘,又遇到了这个问题,下面的方法可以帮你解决这个问题!
因为没有键盘,无法按照提示输入命令,这时我们需要另外一个Linux系统来修复文件系统损坏的SD卡(你需要一个读卡器)。
这里使用Ubuntu来进行文件系统修复:
第一步:查找你的SD卡rootfs分区在Linux系统下的路径
打开磁盘软件,然后查找SD卡的路径
此时获得我的SD卡路径为/dev/sdc2
第二步:在终端修复SD卡
输入指令:
sudo fsck.ext4 /dev/sdc2 #此处替换为你的SD卡路径
此时可能会提示:
/dev/sdc2 is mounted.
说明SD卡已被挂载
输入以下指令取消挂载:
umount /dev/sdc2
最后再次执行:
sudo fsck.ext4 /dev/sdc2 #此处替换为你的SD卡路径
接下来系统会修复SD卡的文件系统,按照提示输入Y继续。
此时文件系统修复成功,将SD弹出后安装在树莓派上,系统启动成功!
-- by 邃定恒鸣
相关文章推荐
- CentOS 重启时出现 “Give root password for maintenance” 错误的解决办法
- give root password for maintenance错误解决办法!
- give root password for maintenance错误解决办法!
- linux开机出现Give root password for maintenance (or type Control-D to continue):解决办法
- 关于linux系统无法启动,提示Give root password for maintenace的解决办法
- mysql错误:Error: Access denied for user 'root'@'localhost' (using password: YES)解决办法
- linux开机出现一下错误Give root password for maintenance (or type Control-D to continue):
- 错误代码 1045 Access denied for user 'root'@'localhost' (using password:YES)解决办法
- 重启CentOS7时进入如下界面提示“give root password for maintenance”
- linux系统无法启动提示give root password for maintenance的解决方法多种
- linux开机出现一下错误Give root password for maintenance (or type Control-D to continue):
- CentOS 重启时出现 “Give root password for maintenance”
- windows环境下mysql报:1045 access denied for user 'root'@'localhost' using password YES错误解决办法
- linux开机出现一下错误Give root password for maintenance (or type Control-D to continue):
- linux系统提示Giveroot password for maintenance的解决方法详解
- Give root password for maintenance 问题的解决方法
- Give root password for maintenance 问题解决.
- linux系统无法启动提示give root password for maintenance的解决方法
- 使用xampps的童鞋Access denied for user 'root'@'localhost' (using password: NO)的解决办法
- 启动后系统将提示“ Give root password for maintenance ”