title Ubuntu 7.10, kernel 2.6.22-14-generic (recovery mode)
root (hd0,7)kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=0a8135b7-7a72-4ad1-8df3-865210546957 ro single
initrd /boot/initrd.img-2.6.22-14-generic
title Ubuntu 7.10, memtest86+
root (hd0,7)
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
共设置了5个选项。
和尚洗头用飘柔 于 2007-11-28 13:11:41发表:
:0D1 ,这样是不是就可以任意选择哪个系统先启动了?
和尚洗头用飘柔 于 2007-11-27 22:49:07发表:
:987w(1
qiqixx 于 2007-11-26 12:31:27发表:
反正你是XP和LINUX双系统吧,如果你是先装的XP再装的LINUX的话那你把DEFAULT改成=1就可以默认启动XP了
和尚洗头用飘柔 于 2007-11-26 10:44:41发表:
(o):tx ,怎么数啊?
和尚洗头用飘柔 于 2007-11-26 10:44:00发表:
(o):tx ,感觉好难啊!
lfedorax 于 2007-11-25 20:08:54发表:
看最下面
Ubuntu7.10与Windows双系统下修改Grub启动顺序
需要修改
/boot/grub/menu.lst文件
需要root权限
注意:
1. 引导文件很重要,所以修改的时候要谨慎,提前备份一下;
sudo cp /boot/grub/menu.lst /boot/grub/menu_backup.lst //使用root权限cp备份menu.lst文件
2. 命令行下root权限调用gedit修改:
sudo gedit /boot/grub/menu.lst //使用gedit修改menu.lst文件
3. menu.lst文件中的内容:
a. 可以查看
## ## End Default Options ##
之后的部分列出了各个系统的列表及顺序
b. 搜索
## default num
可以设置默认的启动系统,
default 0
之后的数字即是a中系统的顺序,注意是从0开始。
例如:
倘若a.中列出来的系统分别为:
## ## End Default Options ##
title Ubuntu 7.10, kernel 2.6.22-14-generic
root (hd0,7)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=0a8135b7-7a72-4ad1-8df3-865210546957 ro quiet splash locale=zh_CN
initrd /boot/initrd.img-2.6.22-14-generic
quiet
title Ubuntu 7.10, kernel 2.6.22-14-generic (recovery mode)
root (hd0,7)kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=0a8135b7-7a72-4ad1-8df3-865210546957 ro single
initrd /boot/initrd.img-2.6.22-14-generic
title Ubuntu 7.10, memtest86+
root (hd0,7)
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
共设置了5个选项。
如果default为0的话,则表示默认启动第一个系统;
如果想设置为XP为默认启动系统,需要将default设置为4
gxf 于 2007-11-25 19:34:03发表:
修改/boot/grub/menu.lst文件的default值,默认为0,数一下你的XP启动项是第几个
[ 本帖最后由 gxf 于 2007-11-25 19:38 编辑 ]