红联Linux门户
Linux帮助
当前位置: 红联Linux门户 > Ubuntu

更改进入系统时默认选Ubuntu,还是xp

发布时间:2008-01-04 00:23:08来源:红联作者:document
终端输入:

sudo nano /boot/grub/menu.lst

然后会弹出一个框:

引用:
# menu.lst - See: grub(8), info grub, update-grub(8)
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-doc/.

## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# 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

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 10


在选择系统时,有几个选择,注意顺序是0开始,0,1,2,3,4
若你的Xp是排在第四,即“default 0“改为”default 3“.

而timeout是调节多少秒自动进入默认系统

改完后,保存(ctrl o),然后退出(ctrl x).
文章评论

共有 0 条评论