QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 838|回复: 5

编译内核版本出错?

[复制链接]
发表于 2003-6-4 01:00:03 | 显示全部楼层 |阅读模式
rh9.0下/usr/src/linux-2.4.20-8/
make menuconfig
make dep
make bzImage
make modules
make modules_install
然后用grub引导新内核报错:
jdb.o ext3.o was compiled for kernel version 2.4.20-8
           while this kernel is version 2.4.20-8custom

请问这是怎么回事啊?
如何解决?
3x
发表于 2003-6-4 09:22:23 | 显示全部楼层
check u Makefile, change that to
VERSION = 2
PATCHLEVEL = 4
SUBLEVEL = 20
EXTRAVERSION =
not be a custom. and if u use ext3, u have better compile it into kernel, since anyway u need it everytime.
回复

使用道具 举报

 楼主| 发表于 2003-6-7 21:13:20 | 显示全部楼层
按楼上的方法没能解决,虽然不报错,但是一用到ext3模块就出问题了
回复

使用道具 举报

发表于 2003-6-8 19:57:57 | 显示全部楼层
有没有mkinitrd?
回复

使用道具 举报

发表于 2003-6-9 10:38:31 | 显示全部楼层
what is the problem?
post detail error msg here.
回复

使用道具 举报

 楼主| 发表于 2003-6-9 12:00:57 | 显示全部楼层

谢谢两位

我放弃了,我把ext3的分区改成了ext2的
没问题了。
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-9-19 18:57 , Processed in 0.044986 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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