1.重启进入单用户模式 2.看到上面画面,按e,红框中的ro改为:rw init=/sysroot/bin/sh 3.按下 Control+X ,使用单用户模式启动 4.修改/etc/fstab chroot /sysroot vim /etc/fstab 5.exit,重启即可