在Ubuntu上编译VirtualBox(Building VirtualBox On Ubuntu)

 

(用英文写了)

Recently I need to build VirtualBox from source code. My OS is Ubuntu 10.04.

 

Firstly I found a set of build instructions here:

http://www.virtualbox.org/wiki/Linux%20build%20instructions

The building is OK and I can also run the VirtualBox. But I encountered an error when I create a VM (winxp or ubuntu):

Unable to load R3 module  .../out/linux.amd64/release/bin/VBoxDD.so:

cannot open shared object file: No such file or directory

I cannot solve this issue. :-(

 

Then I registered a user on virtualbox forum and found a more detailed building guide on the forum.

The full list is here:

http://forums.virtualbox.org/viewforum.php?f=31

The one for Ubuntu is here:

http://forums.virtualbox.org/viewtopic.php?f=31&t=35883

I can build and create a VM (winxp) successfully. (I use ./configure --disable-hardening)

:-)

 

======================================================

Some errors and solutions during running VirtualBox:

Error:

Failed to open the CD/DVD image (then indicated the file path for the ISO)

Could not get Storage format of the medium (again indicated the file path of the ISO)

VERR_NOT_SUPPORTED

Solution:

The .iso seems not recognizable by VirtualBox. It's a little strange since it works well on my VirtualBox installation on Windows.

 

Error: (when I create a VM)

VirtualBox kernel driver is not accessible, permission problem. ...

Solution:

1.       Add a group called vboxusers

2.       Add your user name into vboxusers

3.       Change group from root to vboxusers for /dev/vboxdrv

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值