[分享]关于双系统启动顺序设定。
- liurun913
- 帖子: 22
- 注册时间: 2007-11-19 11:39
-
- 帖子: 14
- 注册时间: 2007-03-16 15:16
- masonliu
- 帖子: 470
- 注册时间: 2007-04-10 14:51
没有权限要使用sudo
对menu.lst的修改需要root权限
在语句前面加上sudo:
sudo gedit /boot/grub/menu.lst
可以修改启动背景画面,不再看呢死板板的黑屏了
个性的可以有你的签名。
看我在8.04下关于8.04 fcixt的小帖士
备忘用的,不是教学。
虽然是担任老师,可是不是学计算机的。
在语句前面加上sudo:
sudo gedit /boot/grub/menu.lst
可以修改启动背景画面,不再看呢死板板的黑屏了
个性的可以有你的签名。
看我在8.04下关于8.04 fcixt的小帖士
备忘用的,不是教学。
虽然是担任老师,可是不是学计算机的。
-
- 帖子: 32
- 注册时间: 2008-05-07 19:03
- 来自: 中国
- 联系:
-
- 帖子: 5
- 注册时间: 2008-04-29 13:46
- 来自: 江苏
-
- 帖子: 1
- 注册时间: 2007-09-03 9:53
在修改——
## 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 change this entry to 'saved' or your
# array will desync and will not let you boot your system.
default 0
中的“default 0”(红色为笔者所加)时,要注意数清楚,以下是/boot/grub/menu.lst中开机启动项的部分内容:
================================
title Ubuntu, memtest86+
root (hd0,4)
kernel /boot/memtest86+.bin
quiet
### END DEBIAN AUTOMAGIC KERNELS LIST
# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Microsoft Windows XP Professional
root (hd0,0)
savedefault
makeactive
chainloader +1
======================================================
只要是title或者在开机画面中高亮显示的选项都是0-N中的一项。以我的情况为例,装了XP和Ubuntu双系统后,XP的N为6,它的前面有
title Ubuntu hardy , kernel 2.6.24-19-generic
title Ubuntu hardy , kernel 2.6.24-19-generic (recovery)
title Ubuntu hardy , kernel 2.6.24-18-generic
title Ubuntu hardy , kernel 2.6.24-18-generic (recovery)
title Ubuntu hardy , memtest86+
title Other operating systems
注意,default N中的N是从0开始。
## 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 change this entry to 'saved' or your
# array will desync and will not let you boot your system.
default 0
中的“default 0”(红色为笔者所加)时,要注意数清楚,以下是/boot/grub/menu.lst中开机启动项的部分内容:
================================
title Ubuntu, memtest86+
root (hd0,4)
kernel /boot/memtest86+.bin
quiet
### END DEBIAN AUTOMAGIC KERNELS LIST
# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Microsoft Windows XP Professional
root (hd0,0)
savedefault
makeactive
chainloader +1
======================================================
只要是title或者在开机画面中高亮显示的选项都是0-N中的一项。以我的情况为例,装了XP和Ubuntu双系统后,XP的N为6,它的前面有
title Ubuntu hardy , kernel 2.6.24-19-generic
title Ubuntu hardy , kernel 2.6.24-19-generic (recovery)
title Ubuntu hardy , kernel 2.6.24-18-generic
title Ubuntu hardy , kernel 2.6.24-18-generic (recovery)
title Ubuntu hardy , memtest86+
title Other operating systems
注意,default N中的N是从0开始。
-
- 帖子: 1
- 注册时间: 2008-07-15 8:52