QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 725|回复: 2

怎样配置Grub 在线等  急急急!!!

[复制链接]
发表于 2003-10-18 17:05:19 | 显示全部楼层 |阅读模式
怎样配置Grub 可以使linux 有选择的引导两个内核
default =0
timeout=10
splashimage=(hd0,2)/grup/splash.xpm.gz
title Red Hat  Linux (2.4.18-14)
        root (hd0.2)
        kernel /vmlinuz-2.4.18-14 ro root=LABEL=/
        initrd /initrd-2.4.18-14.img
title winxp
         rootnoverify(hd0,0)
         chainloader+1
在这之后我应该加什么.那样的话可以选择新的内核2.4.20啊
发表于 2003-10-18 19:26:43 | 显示全部楼层
default =2
timeout=4
splashimage=(hd0,2)/grup/splash.xpm.gz
title Red Hat Linux (2.4.20)
root (hd0,2)
kernel /vmlinuz-2.4.20 ro root=LABEL=/
initrd /initrd-2.4.20.img
title Red Hat Linux (2.4.18-14)
root (hd0.2)
kernel /vmlinuz-2.4.18-14 ro root=LABEL=/
initrd /initrd-2.4.18-14.img
title winxp
rootnoverify(hd0,0)
chainloader+1

其中,vmlinuz-2.4.20 和initrd-2.4.20.img需要你在相关目录下(redhat下为/boot)核对一下。
在此,4秒钟(timeout=4)后未作出选择,将自动进入winxp(default=2,0对应2.4.20,1对应2.4.18)
回复

使用道具 举报

发表于 2003-10-19 05:35:34 | 显示全部楼层
so many grub posts  
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-9-14 11:10 , Processed in 0.047468 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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