分页: 1 / 1

linux中怎么更改双系统选择系统菜单的顺序

发表于 : 2007-12-11 22:10
wangsiyu
3x

发表于 : 2007-12-11 22:36
leeaman
google menu.lst

发表于 : 2007-12-11 22:43
燕子窝
sudo gedit /boot/grub/menu.lst
后半部分如下,把想默认的系统的那一段文字放在最前即可。比如下面这个就是7.10正常启动的为默认。

title Ubuntu 7.10, kernel 2.6.22-14-generic
root (hd0,5)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=41289905-9d9e-44ad-98ff-6951debb2112 ro quiet splash
initrd /boot/initrd.img-2.6.22-14-generic
quiet

title Ubuntu 7.10, kernel 2.6.22-14-generic (recovery mode)
root (hd0,5)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=41289905-9d9e-44ad-98ff-6951debb2112 ro single
initrd /boot/initrd.img-2.6.22-14-generic

title Ubuntu 7.10, memtest86+
root (hd0,5)
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