無法安裝適用於 Linux 的 VirtualBox 4.2.4 Guest Additions

無法安裝適用於 Linux 的 VirtualBox 4.2.4 Guest Additions

嘗試安裝 Guest Additions 我看到:

sh ./VBoxLinuxAdditions.run 

The headers for the current running kernel were not found. If the following module compilation fails then this could be the reason. The missing package can be probably installed with yum install kernel-devel-2.6.18-194.el5

Building the main Guest Additions module [FAILED]

嘗試安裝 kernel-devel-2.6.18-194.el5 我看到:

yum install kernel-devel-2.6.18-194.el5

Setting up Install Process No package kernel-devel-2.6.18-194.el5 available. Nothing to do

可以用它做什麼呢?

主機作業系統是Windows 7 64位,來賓作業系統是RedHat 5.5 64位。

答案1

嘗試kernel-headers-2.6.18-194.el5

它在 Debian 上對我有用

通常yum install kernel-headers會自行選擇正確的版本

相關內容