修改启动顺序,目前是第一个,我怎么修改后,使启动的默认为Windows 2000

wzjcntlqs 2007-05-30 03:57:39
# 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/sda7
# initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=15
splashimage=(hd0,4)/grub/splash.xpm.gz
title Fedora Core (2.6.20-1.2944.fc6)
root (hd0,4)
kernel /vmlinuz-2.6.20-1.2944.fc6 ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.20-1.2944.fc6.img
title Fedora Core (2.6.18-1.2798.fc6)
root (hd0,4)
kernel /vmlinuz-2.6.18-1.2798.fc6 ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.18-1.2798.fc6.img
title Microsoft Windows 2000
root (hd0,0)
makeactive
chainloader +1
...全文
403 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
Arrivaloffittest 2007-05-30
  • 打赏
  • 举报
回复
应该改成2
wangxiuhua 2007-05-30
  • 打赏
  • 举报
回复
编辑# vi /etc/grub/grun.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/sda7
# initrd /initrd-version.img
#boot=/dev/sda
default=0 //启动的操作系统的序号!这里把0改成1就可以了!
timeout=15
splashimage=(hd0,4)/grub/splash.xpm.gz
title Fedora Core (2.6.20-1.2944.fc6)
root (hd0,4)
kernel /vmlinuz-2.6.20-1.2944.fc6 ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.20-1.2944.fc6.img
title Fedora Core (2.6.18-1.2798.fc6)
root (hd0,4)
kernel /vmlinuz-2.6.18-1.2798.fc6 ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.18-1.2798.fc6.img
title Microsoft Windows 2000
root (hd0,0)
makeactive
chainloader +1

19,613

社区成员

发帖
与我相关
我的任务
社区描述
系统使用、管理、维护问题。可以是Ubuntu, Fedora, Unix等等
社区管理员
  • 系统维护与使用区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧