Centos /etc/fstab/出错,提示 Give root password for maintenance

时间:2023-01-03 10:59:33

1、在登陆界面可以看见提示进入紧急模式 Centos /etc/fstab/出错,提示 Give root password for maintenance

2、输入root密码,进入系统,使用mount -a 尝试挂载 会提示有错误的挂载 Centos /etc/fstab/出错,提示 Give root password for maintenance 这种情况我碰见的是维修后磁盘的uuid发生变化,需要修改uuid 3、这时使用cat /etc/fstab/ 和blkid 做对比 找到挂载文件对应磁盘的UUID修改后,再次使用mount -a 挂载,没有任何提示就说明修复成功,最后在reboot 看见登录界面正常即可