LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 758|回复: 4

A question of compiling kernel. Sorry lfs is going on, can't write in Chinese

[复制链接]
发表于 2004-2-24 11:13:27 | 显示全部楼层 |阅读模式
I've just compiled a kernel for my LFS. And now, I'd like to change some options and rebuild a new one. However, if I use the kernel of the same version, I think when I run the "make modules_install", it'll install the modules into the same "/lib/modules/2.4.22". I think it can't work for different kernel sharing the same modules lib directory.

So, pretty please help. Thanks a lot!
发表于 2004-2-24 16:20:14 | 显示全部楼层
make MODLIB=/some_dir_you_like modules_install
发表于 2004-2-25 09:38:04 | 显示全部楼层
不会share的,在安装新module时,会把老的删掉。
 楼主| 发表于 2004-2-25 09:53:30 | 显示全部楼层
最初由 tram 发表
不会share的,在安装新module时,会把老的删掉。


Does it mean only one kernel will work? I mean two different kernel working.

To Dasn: So the command can tell the kernel to load modules from the new MODLIB? Where can I find the configuration file? Thanks.
发表于 2004-2-25 22:02:23 | 显示全部楼层
Tune things in /etc/modules.conf and /PATH_TO_MODULES/modules.dep to fit your taste.

IMHO,the problem is how to distinguish the kernel image with the same release number. maybe the 'uname -v' can help.
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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