Give root password for maintenance解决方法之一:
如果是因为你创建了新的东西,在配置文件里面没有删除,而在其他地方删除了,就会出现开机找不到文件的报错.
例如我添加了新的磁盘空间,且已经在配置文件中修改了文件.我在把磁盘给删了就会出现报错:
Linux开机出现Give root password for maintenance (or type Control-D to continue):解决办法之一
我们先输入密码登录
然后输入

mount -o remount,rw /

Linux开机出现Give root password for maintenance (or type Control-D to continue):解决办法之一

lsblk -f(图一)

Linux开机出现Give root password for maintenance (or type Control-D to continue):解决办法之一

vi /etc/fstab (图二)

Linux开机出现Give root password for maintenance (or type Control-D to continue):解决办法之一
进入到配置文件
拿图一和图二做对比,图一有的UUID就保存 没有的就在图二里面删除掉 如图;
Linux开机出现Give root password for maintenance (or type Control-D to continue):解决办法之一

:wq 保存退出 在reboot(重启)

相关文章:

  • 2021-09-15
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-07
  • 2022-02-17
  • 2021-05-11
猜你喜欢
  • 2022-12-23
  • 2021-09-15
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案