红联Linux门户
Linux帮助

请高手指点一下

发布时间:2009-04-08 00:12:44来源:红联作者:bingxuelu
我的主机里安装和XP和Linux双系统,我想设置为XP为第一启动项,应该怎么设置,我的menu.lst文件是这样的:

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,7)
# kernel /boot/vmlinuz-version ro root=/dev/hda8
# initrd /boot/initrd-version.img
#boot=/dev/hda
default=0
timeout=5
gfxmenu (hd0,7)/boot/message
title Red Flag (2.6.27.10-1_3)
root (hd0,7)
kernel /boot/vmlinuz-2.6.27.10-1_3 ro root=LABEL=/ vga=788 splash=silent
initrd /boot/initrd-2.6.27.10-1_3.img
title Windows XP/2000
rootnoverify (hd0,0)
chainloader +1

我把chainloader的值改为0,default的值改为1,XP就启动不了了,请问一下是我的操作有错误还是我的理想错误,所以都是改不了。所以请高手指点一下。
文章评论

共有 4 条评论

  1. fu_qingyi 于 2009-04-08 12:24:46发表:

    学习

  2. hantu 于 2009-04-08 00:45:55发表:

    不客气

  3. bingxuelu 于 2009-04-08 00:39:25发表:

    谢谢

  4. hantu 于 2009-04-08 00:21:38发表:

    chainloader +1 这个可不要改!

    把default=0改成default=1就可以了