QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 472|回复: 4

请问一个默认启动的问题!

[复制链接]
发表于 2003-6-2 12:41:53 | 显示全部楼层 |阅读模式
朋友帮我装了redhat8.0
启动时默认为linux启动了,
我想改回默认为win2000,
得在哪里改啊,
发表于 2003-6-2 12:51:40 | 显示全部楼层
看你用的是grub还是lilo
grub:
/boot/grub/grub.conf
lilo:
/etc/lilo.conf

修改它们的default=x的x,x是0表示默认启动第一个启动选项,1是第二个,依此类推。修改后如果是lilo还要执行一下lilo这个命令,grub则不用。
回复

使用道具 举报

 楼主| 发表于 2003-6-2 12:57:44 | 显示全部楼层
我想是grub,得在哪里改啊,?

boot=/dev/hda
default=0
timeout=10
splashimage=(hd0,5)/boot/grub/splash.xpm.gz
title Red Hat Linux (2.4.18-14)
        root (hd0,5)
        kernel /boot/vmlinuz-2.4.18-14 ro root=LABEL=/
        initrd /boot/initrd-2.4.18-14.img
title Microsoft Windows 2000
        rootnoverify (hd0,0)
        chainloader +1
回复

使用道具 举报

发表于 2003-6-2 13:02:22 | 显示全部楼层
default=0改成default=1
回复

使用道具 举报

 楼主| 发表于 2003-6-2 14:42:37 | 显示全部楼层
多谢!!
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-10-2 03:14 , Processed in 0.040160 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表