我的机器上启动xp的部分配置如下: ======================= title Widows XP root (hd0,0) makeactive chainloader +1 ============================
savedefault 用来将上一次的启动选择作为默认选项, 不知道和你的问题有没有关联, FYI: http://www.gnu.org/software/grub/manual/html_node/savedefault.html#savedefault 2009/10/12 enzo fang <feixiangnia...@gmail.com> > 版本是0.97 > > default 0 > timeout 5 > ....... > 120 ## ## End Default Options ## > 121 > 122 title Debian GNU/Linux, kernel 2.6.26-2-686 > 123 root (hd0,2) > 124 kernel /boot/vmlinuz-2.6.26-2-686 root=/dev/sda3 ro quiet > 125 initrd /boot/initrd.img-2.6.26-2-686 > 126 > 127 title Debian GNU/Linux, kernel 2.6.26-2-686 (single-user > mode) > 128 root (hd0,2) > 129 kernel /boot/vmlinuz-2.6.26-2-686 root=/dev/sda3 ro single > 130 initrd /boot/initrd.img-2.6.26-2-686 > 131 > 132 ### END DEBIAN AUTOMAGIC KERNELS LIST > 133 > 134 # This is a divider, added to separate the menu items below from > the Debian > 135 # ones. > 136 #title Other operating systems: > 137 #root > 138 > 139 > 140 # This entry automatically added by the Debian installer for a > non-linux OS > 141 # on /dev/sda1 > 142 title Microsoft Windows XP Professional > 143 root (hd0,0) > 144 savedefault > 145 chainloader +1 > > > 2009/10/11 Liang Guo <bluestonech...@gmail.com> > > grub 版本是多少? grub配置文件怎么写的? >> >> 2009/10/11 enzo fang <feixiangnia...@gmail.com> >> >>> 系统正常关机,开机后能显示bios启动画面,然后进不到grub菜单 >>> >>> >>> grub确实没有装在mbr上,我还特意用了fdisk /mbr重新 >>> 恢复了windows的mbr,但是没有效果 >>> >>> 2009/10/11 苏 <sxpsp...@yahoo.com.cn> >>> >>>> 你用 init 6 重启时系统退出后又直接启动内核还是退出后停在那里没有反应? >>>> >>>> 既然你开机是 grub 选项,可以肯定是你把 grub 安装到 mbr 了, >>>> >>>> >>>> On 日, 11 10月 09, enzo fang wrote: >>>> > 大家好 >>>> > 我的问题有点奇怪,在linux下用reboot ,init 6等命令重启系统的时候, >>>> > 系统进入不到grub的菜单。非要按电源关机一下,再按电源开机才能正常进grub菜单。 >>>> > 还有,我记得没有把grub装在mbr,但是开机启动时会先进入grub菜单,然后 >>>> > 我选择windows选项,才进入NTloader。这点非常不明白,如果我没把grub >>>> > 装到mbr,应该是开机进入NTloader,并且没有grub选项的?希望大家发表高见。 >>>> > >>>> > >>>> > -- >>>> > Best Regards >>>> __________________________________________________ >>>> �Ͽ�ע���Ż����������������ä? >>>> http://cn.mail.yahoo.com >>>> >>>> >>> >>> >>> -- >>> Best Regards >>> >> >> >> >> -- >> Liang Guo >> http://bluestone.cublog.cn >> > > > > -- > Best Regards > -- Liang Guo http://bluestone.cublog.cn