如何解决centos虚拟机无法启动


当前第2页 返回上一页

vim/etc/inittab

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

# 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虚拟机无法启动的详细内容,更多文章请关注木庄网络博客

返回前面的内容

相关阅读 >>

CentOS系统无法远程连接怎么办

CentOS怎么打开命令行

CentOS安装mysql后3306端口不通

CentOS如何解压rar格式文件

CentOS安装时找不到硬盘

CentOS下安装chrome浏览器后打不开怎么办

CentOS无法ping通网关

CentOS系统编译安装实例详解

CentOS系统下mysql启动失败怎么办

CentOS如何查看某个服务是否启动

更多相关阅读请进入《CentOS》频道 >>



打赏

取消

感谢您的支持,我会继续努力的!

扫码支持
扫码打赏,您说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦

分享从这里开始,精彩与您同在

评论

管理员已关闭评论功能...