搜集资料,交流经验……
修改Linux的runlevel值
上一篇 /
下一篇 2008-04-18 23:36:43
修改Linux RunLevel的几种方法
b
ibJ2J051Testing软件测试网-~X
Z
v&ngd 对于Linux来说,时常会需要在runlevel:3(文本模式)和runlevel:5(图形模式,X
51Testing软件测试网l6zAT/gw:J&H6P windows)进行切换。
51Testing软件测试网|7?'hO](L,I(~-c q51Testing软件测试网
c_j.T{7[*J通过修改配置:
51Testing软件测试网 yt d;z1HQ $F8e-TJ#D(A Oz0 1。修改/etc/inittab
,OG#n7u+|I
?g#PX U0 修改 id:5:initdefault 或者 id:3:initdefault
51Testing软件测试网p?8`hQY"Y F Ev-Z!b(x
DMN0 2。使用 telinit
@#B5wFJ6U:?!g0 输入 telinit 3
]
uw7nU'B3Ns051Testing软件测试网0PhP\ U_ 3. 使用system settting tool
8|e(E!w Eh5qEq051Testing软件测试网.~B)e/d1z:rr/kn51Testing软件测试网*mM0O0hgy在启动是时候通过lilo或者grub控制:
51Testing软件测试网/L3r+j
t9^8d5G%csR)x T0J3x
I$S0KQ0 1. LILO
8R(rw1vm!z&IvW0 S0w;K,Q5AVH)z0 at the lilo hit ctrl-x this drops you to the lilo prompt (if its a graphical
B`^}
X
Gp0 lilo screen). type linux 3
and it will boot to the command line.
^({7yf6iaG0
;y`7C"Gk)}p'c0 2. GRUB
8fn6@R)w*G5GT4r0
7Of W+X}g0 In the graphical GRUB boot loader screen, select the Fedora Linux boot label
gf`h`(X0 and press [e] to edit it. 51Testing软件测试网)}.lO%D!q0b/j$k
51Testing软件测试网MYbt7a1F:\E7O
Arrow down to the kernel line and press [e] to edit it. 51Testing软件测试网3O
ZlYd$D(@9E T8OI
!S/h)]2UY&FxR0 At the prompt, type the number of the runlevel you wish to boot into (1 51Testing软件测试网'WIpgY7Vy2y
through 5), or the words single or emergency and press [Enter]. 51Testing软件测试网6d|3j}doq
g1\
51Testing软件测试网0@?6n"]:C-q*p
You will be returned to the GRUB screen with the kernel information. Press the 51Testing软件测试网:Zf#P*by,a([
[b] key to boot the system.
3W&ib\hUlC0
7zt9db
c7g051Testing软件测试网;Z?'Q1f O
Link URL: http://mytesting.bokee.com/viewdiary.17947879.html
收藏
举报
TAG: