ubuntu下如何修改grub 缺省引导 为 WIN XP启动?

来源:百度知道 编辑:UC知道 时间:2024/05/14 19:54:42
我的GRUB文件如下:请问如何修改成为 WIN XP缺省启动?
# 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 2

## hiddenmenu
# Hides the menu by default (press ESC to see the men

废话不要太多。
系统-系统管理-新立得*。搜索start ,安装start up manager。装好了,系统-系统管理,start-up manager(或者有汉化,叫启动管理器,总之是红色的那个)。打开后可以看到设置,不用我再说。
如果搜索不到,请看系统设置教程:http://wiki.ubuntu.org.cn/index.php?title=Qref/Gutsy&variant=zh-cn

看你问题补充那里

改为
## ## End Default Options ##

# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Microsoft Windows XP Professional
root (hd0,0)
chainloader +1
savedefault
boot

最后面的
# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root

savedefault
makeactive
chainloader +1

可以不要了

不过更新内核后可能会没有了windows选择, 要手动加回去