分页: 1 / 1

[问题]启动顺序问题(解决)

发表于 : 2006-08-27 18:16
snowywind
请问我的机器上原来装有winxp,现在在另一个分区上装了Ubuntu5.01,启动时系统默认的是linux,我想让默认启动winxp应该怎么办?

发表于 : 2006-08-27 18:23
lglinger
如果是Grub启动的话修改 /boot/grub/menu.lst
在类似于:
## ## End Default Options ##

title Ubuntu, kernel 2.6.15-26-686
root (hd0,0)
kernel /boot/vmlinuz-2.6.15-26-686 root=/dev/hda1 ro quiet splash
initrd /boot/initrd.img-2.6.15-26-686
savedefault
boot
……………………………………………………………………………………………………

字段中修改“ title Windows 95/98/NT/2000”设在第一行,并把上面的“timeout 3”中数字改成“0”应该就可以了

发表于 : 2006-08-27 18:24
Jungherr
把windows部分提到前面就可以了,或者从第一开始数,到windows为第N个,在default项改为N-1


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/hda1
title Windows 2003
root (hd0,0)
savedefault
makeactive
chainloader +1

title Ubuntu, kernel 2.6.15-26-k7
root (hd0,4)
kernel /boot/vmlinuz-2.6.15-26-k7 root=/dev/hda5 ro quiet splash vga=791 wesa:mtrr
initrd /boot/initrd.img-2.6.15-26-k7
savedefault
boot

#title Ubuntu, kernel 2.6.15-26-k7 (recovery mode)
#root (hd0,4)
#kernel /boot/vmlinuz-2.6.15-26-k7 root=/dev/hda5 ro single
#initrd /boot/initrd.img-2.6.15-26-k7
#boot

#title Ubuntu, memtest86+
#root (hd0,4)
#kernel /boot/memtest86+.bin
#boot

### 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

发表于 : 2006-08-27 20:09
snowywind
搞定了,THANKS!!!

发表于 : 2007-04-09 13:14
guibin001
学习一下