[问题]如何实现Ubuntu启动直接进入字符模式(命令行)

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
yypfreedom
帖子: 6
注册时间: 2007-11-23 14:28

[问题]如何实现Ubuntu启动直接进入字符模式(命令行)

#1

帖子 yypfreedom » 2007-11-25 21:48

如何实现Ubuntu启动直接进入字符模式(命令行)
头像
yysq009
帖子: 2682
注册时间: 2007-01-28 23:00
来自: @江西|南昌@
联系:

#2

帖子 yysq009 » 2007-11-25 21:54

别发这么多。。。

Do as you would be done by !
头像
htxh6099
帖子: 206
注册时间: 2007-07-10 14:16

#3

帖子 htxh6099 » 2007-11-26 11:00

编辑GRUB启动菜单就可以了。
sudo gedit /boot/grub/menu.lst
默认启动是0,改成3就是了.
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not use 'savedefault' or your
# array will desync and will not let you boot your system.
default 0
yypfreedom
帖子: 6
注册时间: 2007-11-23 14:28

#4

帖子 yypfreedom » 2007-11-28 12:04

htxh6099 写了:编辑GRUB启动菜单就可以了。
sudo gedit /boot/grub/menu.lst
默认启动是0,改成3就是了.
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not use 'savedefault' or your
# array will desync and will not let you boot your system.
default 0

我试过了这个方法可是不行啊!!! :roll: :roll: :roll:
头像
yaoms
帖子: 4952
注册时间: 2007-10-19 14:51
来自: 深圳

#5

帖子 yaoms » 2007-11-28 13:51

在服务中,把gdm会这kdm前的勾取消
Nothing 有事请发邮件到 yms541 AT gmail.com
alias 爱慕颇雷尔='mplayer'
头像
wc_111191
帖子: 471
注册时间: 2008-02-02 23:05
来自: 天津

#6

帖子 wc_111191 » 2008-02-05 21:46

最快的方法,在xwindows界面下按Ctrl + Alt + F2 进入字符界面
按Ctrl + Alt + F7 回到图形界面
头像
sevk
帖子: 2060
注册时间: 2007-05-08 16:26
系统: arch
来自: 火星内核某分子内某原子核内
联系:

#7

帖子 sevk » 2008-02-05 21:51

安装 sysv-rc-conf,把GDM构掉试试.

$ aptitude search sysv
p ksysv - KDE SysV-style init configuration editor
v not+sysv-solaris -
i sysv-rc - 类 System-V 运行级别改变机制
p sysv-rc-bootsplash - Bootsplash patches for rc files
p sysv-rc-conf - SysV init runlevel configuration tool for
p sysvbanner - System-V banner clone
i sysvconfig - A text menu based utility for configuring
p sysvinit - 类 System-V 初始化工具
i sysvutils - System-V-like utilities
笔记本 :
F208S : gentoo
A460P i3G D6 : UBUNTU + WIN7
UN43D1 : UBUNTU + WIN7
1000人超级QQ群 LINUX + WIN : 31465544 或 18210387
头像
BigSnake.NET
帖子: 12522
注册时间: 2006-07-02 11:16
来自: 廣州
联系:

#8

帖子 BigSnake.NET » 2008-02-05 21:53

删掉 gdm
^_^ ~~~
要理解递归,首先要理解递归。

地球人都知道,理论上,理论跟实际是没有差别的,但实际上,理论跟实际的差别是相当大滴。
amwisk
帖子: 25
注册时间: 2006-12-13 19:38

#9

帖子 amwisk » 2008-02-07 0:52

#
# inittab This file describes how the INIT process should set up
# the system in a certain run-level.
#
# Author: Miquel van Smoorenburg, <miquels@drinkel.nl.mugnet.org>
# Modified for RHS Linux by Marc Ewing and Donnie Barnes
#

# Default runlevel. The runlevels used by Mandriva Linux 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:

# System initialization.
si::sysinit:/etc/rc.d/rc.sysinit

l0:0:wait:/etc/rc.d/rc 0
编缉/etc/inittab,将上面那个5改成3就可以了,要ROOT权限
bohemia
帖子: 6
注册时间: 2008-09-06 23:28

#10

帖子 bohemia » 2008-09-07 0:02

/系统/系统管理/服务 停止gdm;
或者 sudo /etc/init.d/gdm stop;

重新启动,即可默认到 字符模式;

可startx启动图形模式;
回复