[root@localhost etc]# cat inittab
# inittab is no longer used when using systemd.
#
# ADDING CONFIGURATION HERE WILL HAVE NO EFFECT ON YOUR SYSTEM.
#
# Ctrl-Alt-Delete is handled by /etc/systemd/system/ctrl-alt-del.target
#
# systemd uses 'targets' instead of runlevels. By default, there are two main targets:
#
# multi-user.target: analogous to runlevel 3
# graphical.target: analogous to runlevel 5
#
# To set a default target, run:
#
# ln -s /lib/systemd/system/.target /etc/systemd/system/default.target
#
fengchen_linux 于 2011-10-28 12:45:02发表:
在grub命令行中的kernel的参数中加上single就行了
sccxboy 于 2011-10-27 17:18:52发表:
rm -f /etc/systemd/system/default.target
ln -s /lib/systemd/system/multi-user.target /etc/systemd/system/default.target
shutdown -r now
重启就可以了
LiGValley 于 2011-06-01 17:31:17发表:
[root@localhost etc]# cat inittab.target /etc/systemd/system/default.target
# inittab is no longer used when using systemd.
#
# ADDING CONFIGURATION HERE WILL HAVE NO EFFECT ON YOUR SYSTEM.
#
# Ctrl-Alt-Delete is handled by /etc/systemd/system/ctrl-alt-del.target
#
# systemd uses 'targets' instead of runlevels. By default, there are two main targets:
#
# multi-user.target: analogous to runlevel 3
# graphical.target: analogous to runlevel 5
#
# To set a default target, run:
#
# ln -s /lib/systemd/system/
#
sleepwolf001 于 2011-05-31 08:34:46发表:
不会15把inittab这个文件也改了吧?在Grub启动的时候按e,看说明就可以进字符界面了
alick 于 2011-05-30 23:46:51发表:
这个inittab文件现在是什么样子?贴出来看看
wmbodbc 于 2011-05-27 11:46:50发表:
我就知道改成3,要是其它的还真不知