以下是引用madfrogme在2012-8-22 21:58:35的发言:
ubuntu 10.04装在虚拟机上, 打开GUI感觉太费资源,1个GiB的内存就没了。
所以只想通过text mode 登陆(还能练习打字)
试过各种骗人的方法之后,终于找到了真理哈哈哈
$ sudo vim /etc/default/grub
把
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
改成
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash text"
然后
$ sudo update-grub
还有人说神马修改 runlevel 神马神马的, 通通都是扯淡,一个都不行
特此散20分
标准的做法应该是改runlevel 不过ubuntu的启动文件好乱啊 还算arch的干净
#
# /etc/inittab
#
#
Runlevels:
#
0
Halt
#
1(S)
Single-user
#
2
Not used
#
3
Multi-user
#
4
Not used
#
5
X11
#
6
Reboot
## Only one of the following two lines can be uncommented!
# Boot to console
id:3:initdefault:
# Boot to X11
#id:5:initdefault:
rc::sysinit:/etc/rc.sysinit
rs:S1:wait:/etc/rc.single
rm:2345:wait:/etc/rc.multi
rh:06:wait:/etc/rc.shutdown
su:S:wait:/sbin/sulogin -p
# -8 options fixes umlauts problem on login
c1:2345:respawn:/sbin/agetty -8 -s 38400 tty1 linux
c2:2345:respawn:/sbin/agetty -8 -s 38400 tty2 linux
c3:2345:respawn:/sbin/agetty -8 -s 38400 tty3 linux
c4:2345:respawn:/sbin/agetty -8 -s 38400 tty4 linux
c5:2345:respawn:/sbin/agetty -8 -s 38400 tty5 linux
c6:2345:respawn:/sbin/agetty -8 -s 38400 tty6 linux
# Serial Virtual Console for KVM and others VMs
#s0:2345:respawn:/sbin/agetty -8 -s 9600 ttyS0 linux
# Hypervisor Virtual Console for Xen and KVM
#h0:2345:respawn:/sbin/agetty -8 -s 38400 hvc0 linux
ca::ctrlaltdel:/sbin/shutdown -t3 -r now
# Example lines for starting a login manager
#x:5:respawn:/usr/bin/xdm -nodaemon
#x:5:respawn:/usr/sbin/gdm -nodaemon
#x:5:respawn:/usr/bin/kdm -nodaemon
#x:5:respawn:/usr/bin/slim >/dev/null 2>&1
# End of file
archlinux应该是改这里