在 Ubuntu 9.04 中安装 VBoxLinuxAdditions 时遇到错误的解决办法

{撰文/Leniy}

昨天下完更新包后寝室要熄灯,于是今天才安装更新。重启后却提示我 ABI major version(4) doesn't match the server's version(5),另外还有 vboxadd 的模块错误。其解决办法如下:

先在提示的错误框中选择第一个,进入 Simple 模式。进入 GNOME 后,建立一个文件夹 ~/leniytemp 备用。接着在命令行输入:

sudo ./VBoxLinuxAdditions-x86.run --target ~/leniytemp

amd64 的类似。这次安装会提示 X Server 因为版本不匹配安装失败。然后进入 ~/leniytemp,修改 install.sh 文件:

sudo gedit install.sh

在第 415 行(Ctrl+I 可以查找行号),把 1.5.99.* | 1.6 中的 1.6 换成 1.6.0 然后保存。

sudo ./install.sh

再安装一次,重启。解决问题。

{原文链接}

Read More:

10 Comments

  1. 1 Iven Commented @ 2009-04-24 17:13Reply to this comment

    呵呵,似乎是 Xorg 引起的?

  2. 2 qii Commented @ 2009-04-24 19:10Reply to this comment

    貌似我裝的時候沒這個問題

  3. 3 proguru Commented @ 2009-04-24 19:24Reply to this comment

    为什么不尝试kvm?

  4. 4 kkman11144 Commented @ 2009-04-24 20:36Reply to this comment

    唉...我是安装正常..没有任何错误讯息. 但,重开机之后,VBoxLinuxAdditions 却没有发挥任何作用.. 连问题在那都找不出来

  5. 5 enetor Commented @ 2009-04-24 23:14Reply to this comment

    我的安装正常,重启后3D效果也自动开启,但是鼠标指针没了!

  6. 6 海妖的夜 Commented @ 2009-04-25 0:33Reply to this comment

    鼠标消失 只要把特效关掉就好了, 不使用任何特效可以正常显示鼠标

  7. 7 Hosanna Commented @ 2009-04-25 9:17Reply to this comment

    @proguru:

    不是每个人都如你一般有$滴!

  8. 8 simon Commented @ 2009-04-25 11:09Reply to this comment

    @Hosanna kvm需要$吗?

  9. 9 enetor Commented @ 2009-04-25 22:02Reply to this comment

    @simon kvm is free. But a CPU with virtualization technology is mandatory.

  10. 10 Luke Commented @ 2009-04-30 0:17Reply to this comment

    在/etc/X11/xorg.conf后面添加:

    Section "InputDevice"
    Identifier "vboxmouse"
    Driver "vboxmouse"
    Option "CorePointer"
    Option "Device" "/dev/input/mice"
    EndSection
    

    即可解决特效下的鼠标显示问题,之后直接支持鼠标无缝切换