
vmware esxi 安装的centos系统,root密码忘记
8、执行touch /.autorelabel 以解决selinux的问题(如果系统启用了selinux的话)5、进入单用户模式后,输入mount -o remount,rw / 以读写模式重新挂载根目录。3、使用上下光标找到“Linux64”开头的行,在末尾添加 init=/bin/sh。6、切换到chroot环境,输入chroot / 直接进入chroot环境。9、蕊初chroot环境, exit。2、启动界面按“e”键进入编辑模式。10、重启系统,输入reboot。










