本人在 Dell 1420(Win XP sp3)和Dell M1210(Win Vista sp1)都试过,我是先装Windows,再装红旗Linux 6.0,安装完后,Linux会自动创建双启动菜单。有二个小问题,一是修改默认的启动项,就是说默认是Windows呢,还是默认是Linux呢;第二个是修改启动项的位置。其实这二个都不是什么问题,需要修改Linux下的一个配置文件,该文件是:/boot/grub/grub.conf,以文本文件方式打开,我的grub.conf配置文件是:
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,4)
# kernel /vmlinuz-version ro root=/dev/hda7
# initrd /initrd-version.img
#boot=/dev/hda
default=1
timeout=5
gfxmenu (hd0,4)/message
title RedFlag (2.6.22.6-1)
root (hd0,4)
kernel /vmlinuz-2.6.22.6-1 ro root=LABEL=/ vga=788 splash=silent
initrd /initrd-2.6.22.6-1.img
title Windows Vista(SP1)
rootnoverify (hd0,0)
chainloader +1
注意从 #boot=/dev/hda 行看,default=1表示默认的启动项是第二个,0表示第一个,1表示第二个,以此类推。
timeout=5表示默认的等待时间(单位秒)。再往下看,有两个启动项:
title RedFlag (2.6.22.6-1)
root (hd0,4)
kernel /vmlinuz-2.6.22.6-1 ro root=LABEL=/ vga=788 splash=silent
initrd /initrd-2.6.22.6-1.img
这个是Linux启动项,还有:
title Windows Vista(SP1)
rootnoverify (hd0,0)
chainloader +1
这个是Vista启动项。
你可以调换这二段的位置,这样:
#boot=/dev/hda
default=0
timeout=5
gfxmenu (hd0,4)/message
title Windows Vista(SP1)
rootnoverify (hd0,0)
chainloader +1
title RedFlag (2.6.22.6-1)
root (hd0,4)
kernel /vmlinuz-2.6.22.6-1 ro root=LABEL=/ vga=788 splash=silent
initrd /initrd-2.6.22.6-1.img
修改以后就是:默认的启动项是第1个,也就是Vista,等待时间是5秒。第二个启动项是Linux。