by pennywong
方法一:
編輯 /etc/inittab file ,如下 :
.....
# These are the default runlevels in :
# 0 = halt
# 1 = single user mode
# 2 = unused (but configured the same as runlevel 3)
# 3 = multiuser mode (default Slackware runlevel)
# 4 = X11 with KDM/GDM/XDM (session managers)
# 5 = unused (but configured the same as runlevel 3)
# 6 = reboot
# Default runlevel. (Do not set to 0 or 6)
id:4:initdefault:
方法二:
In your /etc/lilo.conf file add this entry:
代碼:
-->
image = /boot/vmlinuz #這裡改成你自己的內核
root = /dev/hda1 #這裡改成你自己的根分區
label = Linux-GUI
append = "4"
read-only
-->
方法一大家都耳熟能詳了。有趣的是方法二,append = "4" 也可以指定用圖形界面登錄。
阅读(271) | 评论(0) | 转发(0) |