红联Linux门户
Linux帮助

新手提问

发布时间:2007-12-21 12:05:17来源:红联作者:xiaoliu
我最近装了linux红旗六的版本,但我主要用的还是XP,每次开机时有两个选项,一个是"redflag linux"一个是"other"
默认的是linux,想进入XP还得选other,请问如何把默认改成XP?
新手上路,请学长详细解答,不胜感激!!!
文章评论

共有 1 条评论

  1. somethingels 于 2007-12-21 12:19:56发表:

    other可以改成XP显示(我的fedora是在/boot/grub/grub.conf里改,不知红旗是不是一样的),然后进了XP,你把boot.ini里的缺省等待时间设为0就行了。至于选择XP为默认,可以编辑grub.conf文件,把default设为相对应的选项。比如我的grub.conf文件如下:
    default=1
    timeout=5
    splashimage=(hd0,0)/grub/splash.xpm.gz
    hiddenmenu
    title Fedora Core (2.6.22)
    root (hd0,0)
    kernel /vmlinuz-2.6.22 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
    initrd /initrd-2.6.22.img
    title Fedora Core (2.6.20-1.2320.fc5smp)
    root (hd0,0)
    kernel /vmlinuz-2.6.20-1.2320.fc5smp ro root=/dev/VolGroup00/LogVol00 rhgb quiet
    initrd /initrd-2.6.20-1.2320.fc5smp.img
    title Fedora Core (2.6.20-1.2316.fc5smp) root (hd0,0)
    kernel /vmlinuz-2.6.20-1.2316.fc5smp ro root=/dev/VolGroup00/LogVol00 rhgb quiet
    initrd /initrd-2.6.20-1.2316.fc5smp.img
    title Other
    rootnoverify (hd0,0)
    chainloader +1

    我现在的default是1,也就是从上往下数的第二个选项,注意,default的0对应第一个,余类推。