有两个linux和windows两个引导区.怎么改成默认是windows的呀.

来源:百度知道 编辑:UC知道 时间:2024/06/06 17:57:54
如题,我先装的linux然后装的suse10,现在默认是linux的引导区,默认进的也是linux,必须得手动选一下才可以进windows,特别麻烦.开机的时候还得看着.要不然就进linux了.那位能教教我怎么改成默认是windows的呀.

楼上正解,不过有些系统最好还要改一下
相关的配置,比如DEBIAN下
要把## default num也相应更新一下,不然系统更新后DEFAULT
会又被脚本更改过来。
## 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'.
default 0

现在有的是软件可以改,也可以自己该,但怕你改了就进不了系统了,还是用软件改,例如超级兔子,或优化大师都行

进linux,编辑/boot/grub/menu.1st
里面有一行
default=x
#x代表linux在grub里的顺序,将其改为windows的就可以了

补充:default后边的数字是 title的个数减去1,比如windows的title是第二个出现的,那么default=1 如果是第三个title是windows 就default=2