
如何解决%ign%ignore_a_1%re_a_1%虚拟机无法启动?
用VMware虚拟机创建的一个centos桌面版系统。系统启动时出现问题,在启动certmonger之后,界面卡住,无法进入图形界面,如图:

解决方法:
首先,Ctrl+Alt+F2进入命令行界面,用root用户登录,查看/etc/X11/xorg.conf文件是否存在,如果存在,则执行命令:
mv /etc/X11/xorg.conf /etc/X11/old_xorg.conf
重启系统,看是否正常。
vizcom.ai
AI草图渲染工具,快速将手绘草图渲染成精美的图像
139 查看详情
然后Ctrl+Alt+F2进入命令行界面,用root用户登录,修改文件/etc/inittab
vim/etc/inittab
# inittab is only used by upstart for the default runlevel.# ADDING OTHER CONFIGURATION HERE WILL HAVE NO EFFECT ON YOUR SYSTEM.# System initialization is started by /etc/init/rcS.conf# Individual runlevels are started by /etc/init/rc.conf# Ctrl-Alt-Delete is handled by /etc/init/control-alt-delete.conf# Terminal gettys are handled by /etc/init/tty.conf and /etc/init/serial.conf,# with configuration in /etc/sysconfig/init.# For information on how to write upstart event handlers, or how# upstart works, see init(5), init(8), and initctl(8). # Default runlevel. The runlevels used are:# 0 - halt (Do NOT set initdefault to this)# 1 - Single user mode# 2 - Multiuser, without NFS (The same as 3, if you do not have networking)# 3 - Full multiuser mode# 4 - unused# 5 - X11# 6 - reboot (Do NOT set initdefault to this)#id:5:initdefault:
将最后一行id:5:initdefault:修改为id:3:initdefault:则开机默认进入命令行界面。
重启进入命令行之后,执行startx,则可进系统图形界面了!
相关参考:centOS教程
以上就是如何解决centos虚拟机无法启动的详细内容,更多请关注创想鸟其它相关文章!
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。
如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件至 chuangxiangniao@163.com 举报,一经查实,本站将立刻删除。
发布者:程序猿,转转请注明出处:https://www.chuangxiangniao.com/p/882346.html
微信扫一扫
支付宝扫一扫