免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3522 | 回复: 4
打印 上一主题 下一主题

请教一下关于更改多内核启动顺序的问题? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-01-06 18:24 |只看该作者 |倒序浏览
想问一下各位对于编译内核后,系统的默认启动还是以前的老内核,如何让她默认新内核启动呢?
我的grub.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,0)
#          kernel /vmlinuz-version ro root=/dev/hda3
#          initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title CentOS-4 i386 (2.6.9-22.EL)
        root (hd0,0)
        kernel /vmlinuz-2.6.9-22.EL ro root=LABEL=/ rhgb quiet
        initrd /initrd-2.6.9-22.EL.img
title CentOS-4 i386 (2.6.14)
        root (hd0,0)
        kernel /vmlinuz-2.6.14 ro root=LABEL=/ enforcing=0
        initrd /initrd-2.6.14.img

论坛徽章:
0
2 [报告]
发表于 2006-01-06 18:53 |只看该作者

回复 1楼 eyas_cisco 的帖子

default =1

论坛徽章:
1
寅虎
日期:2015-01-23 02:35:47
3 [报告]
发表于 2006-01-06 18:59 |只看该作者
或者吧下面的新内核项放到上面

论坛徽章:
0
4 [报告]
发表于 2006-01-06 23:53 |只看该作者
谢谢大家!!!

论坛徽章:
0
5 [报告]
发表于 2011-04-07 09:23 |只看该作者
学习了。。
我还想请问一下,那个内核的名字可以改吗???
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP