QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1087|回复: 5

安装 VMware 时出现内核不匹配问题

[复制链接]
发表于 2006-9-28 23:07:33 | 显示全部楼层 |阅读模式
[code:1]
What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]

The directory of kernel headers (version 2.4.22-1.2115.nptlcustom) does not
match your running kernel (version 2.4.22-1.2115.nptl).  Even if the module wereto compile successfully, it would not load into the running kernel.

What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]
[/code:1]

我重编译过内核, 但是编译失败了, 我就重新光盘安装, 安装了一部分,
系统提示光盘介质损坏, 我就没有装完, 但是系统内核已经安装了, 所以可以
进入系统, 不过出现上面的问题了, 还有 MP3 也挂载不上了, 但是现在我又不
想重装, 不知道有什么办法没?? 如果要编译内核, 要特别注意些什么, 我都失败
两次了.(每次系统到 Kernel panic: No init found. Try passing init= option to kernel.
那就卡住了)
 楼主| 发表于 2006-9-29 22:22:41 | 显示全部楼层
问题急需解决, 自己顶一下 请高手帮帮忙 !
回复

使用道具 举报

发表于 2006-9-30 14:19:57 | 显示全部楼层
uname -a ,看看你的内核版本号具体是多少,然后apt-get install kernel****-*****或urpmi kernel***-*****
回复

使用道具 举报

 楼主| 发表于 2006-9-30 17:41:31 | 显示全部楼层
[quote:76bd1005b0="huohu163"]uname -a ,看看你的内核版本号具体是多少,然后apt-get install kernel****-*****或urpmi kernel***-*****[/quote]
[code:1]
[sihan@localhost sihan]$ uname -a
Linux localhost.localdomain 2.4.22-1.2115.nptl #1 Wed Oct 29 15:31:21 EST 2003 i686 athlon i386 GNU/Linux

[sihan@localhost sihan]$ apt-get install kernel 2.4.22-1.2115.nptl
bash: apt-get: command not found

[sihan@localhost sihan]$ urpmi kernel 2.4.22-1.2115.nptl
bash: urpmi: command not found

[/code:1]

没有这些命令啊?
回复

使用道具 举报

发表于 2006-9-30 18:32:16 | 显示全部楼层
装上对应版本的 kernel-headers
回复

使用道具 举报

 楼主| 发表于 2006-9-30 19:30:44 | 显示全部楼层
[quote:348eb74fc4="hew"]装上对应版本的 kernel-headers[/quote]
对应版本的 kernel-headers 是什么意思???
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-9-22 14:22 , Processed in 0.056445 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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