[Fedora Core 6] 安装VirtualBox的问题

  1. 下载VirtualBox_1.3.6_Linux_x86.run
  2. 运行./VirtualBox_1.3.6_Linux_x86.run install /opt/VirtualBox 出错
    ./VirtualBox_1.3.6_Linux_x86.run install /opt/VirtualBox
    Verifying archive integrity... All good.
    Uncompressing VirtualBox for Linux installation........
    VirtualBox Version 1.3.6 (Tue Feb 20 13:26:32 CET 2007) installation
    Please install the build and header files for your current Linux kernel.
    The current kernel version is 2.6.18-1.2798.fc6
    Problems were found which would prevent VirtualBox from installing.
    Please correct these problems and try again.

  3. 查看VirtualBox手册
  4. 解开VirtualBox.run文件
    ./VirtualBox.run --keep --noexec
    将会解压缩至 install 目录
  5. mkdir /opt/VirtualBox
  6. tar jxf ./install/VirtualBox.tar.bz2 -C /opt/VirtualBox
  7. 源码将被存放在 /opt/VirtualBox/src
  8. cd /opt/VirtualBox/src
  9. make ,还是没有找到kernel-devel相关文件
  10. 打开 Makefile文件,看到KERL_DIR 为 /lib/modules/xxxx.xxx.xx,发现由rpm默认安装的build目录链接有错误,将链接改为 /../../usr/src/kernels/2.6.18-1.2798.fc6-i686
  11. make 正常,直接运行 VirtualBox.run install 也正常了
  12. 运行VirtualBox 出错
    /dev/vboxdrv not writable for some reason. If you recently added the current
    user to the vboxusers group then you have to logout and re-login to take the
    change effect.
  13. 找了一下,在/dev下面没有vboxdrv这个文件,可见内核模块未载入
  14. modprobe vboxdrv 出错: 无效个的格式
  15. modprobe -f vboxdrv 强行载入后运行VirtualBox 一切正常了,但不知是会存在隐患.
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值