Installing VirtualBox OSE on Ubuntu 7.10 Gutsy Gibbon

VirtualBox is a powerfulvirtual machine software. The VirtualBox OSE is open source edition ofVirtualBox. It is functionally equivalent to the full VirtualBox,except for a few features that primarily target enterprise customers.Currently, VirtualBox OSE was already in the Ubuntu 7.10 Gutsy Gibbonrepositories.

1. To enable universe repository, you can click System → Administration → Software Sources and check Community-maintained Open Source software (universe) option in Ubuntu Software tab.

2. Now you need to update sources, run this command in your terminal:

sudo apt-get update

3. Install VirtualBox OSE:

sudo apt-get install virtualbox-ose virtualbox-ose-source

4. Install VirtualBox OSE kernel module:

sudo apt-get install module-assistant
sudo m-a prepare
sudo m-a a-i virtualbox-ose
sudo modprobe vboxdrv

5. Automatically load the kernel module:

sudo gedit /etc/modules

Then add:

vboxdrv

6. Add your username to “vboxusers” group:

sudo adduser [your username] vboxusers

To run VirtualBox OSE, you can click Applications → System Tools → InnoTek VirtualBox menu item.

VirtualBox OSE

Track:http://phorolinux.com/installing-virtualbox-ose-on-ubuntu-710-gutsy-gibbon.html

Some Problems:

1.

代码:
TheVirtualBox kernel driver is not accessible to the current user. Makesure that the user has write permissions for /dev/vboxdrv by addingthem to the vboxusers groups. You will need to logout for the change totake effect..
VBox status code: -1909 (VERR_VM_DRIVER_NOT_ACCESSIBLE).

Result Code:0x80004005


我用这个命令就解决了
代码:
sudo chmod ugo+rw /dev/vboxdrv


参考 [url]http://forum.ubuntu.org.cn/about64995.html&sid=09c1c2f28edf4c1cc3988fc30517e204 [/url] 四楼

2.
代码:
VirtualBoxkernel driver not installed. The vboxdrv kernel module was either notloaded or /dev/vboxdrv was not created for some reason. Re-setup thekernel module by executing '/etc/init.d/vboxdrv setup' as root.
VBox status code: -1908 (VERR_VM_DRIVER_NOT_INSTALLED).


代码:
sudo /etc/init.d/vboxdrv setup
后log里显示
代码:
/etc/init.d/vboxdrv: line 150: /usr/share/virtualbox/src/build_in_tmp: No such f
ile or directory


代码:
sudo apt-get install virtualbox-ose virtualbox-source-ose
sudo m-a prepare
sudo m-a auto-install virtualbox-ose

然后
代码:
sudo adduser <user> vboxusers

<user>是你的用户名

参考 [url]http://ubuntuforums.org/showthread.php?t=557077[/url] (英文)7楼

3. 共享文件夹

新版的vbox里有共享文件夹设置,设备->共享文件夹
设定好共享的文件夹后打开客户机,我的是deepinXP系统

打开 我的电脑->工具->映射网络驱动器
选择驱动器名,文件夹名是前一步设的共享文件夹名,确定,在我的电脑下就会出现一个网络驱动器了

参考 [URL]http://linuxtoy.org/archives/configuring-virtualbox.html[/URL]

4. use连接问题

增加用户组usbfs
代码:
sudo groupadd usbfs


查看usbfs的gid
代码:
cat /etc/group | grep usbfs


我的系统上输出
代码:
usbfs:x:1002:


把自己所用的用户增加到usbfs组
代码:
sudo adduser <user> usbfs

<user>是你的用户名

编辑/etc/fstab文件,添加下面两行,
代码:
# 1002 is the USB group ID
none /proc/bus/usb usbfs devgid=1002,devmode=664 0 0

注意:你的gid可能不是1002,如果不介意所有用户使用及安全问题,可将664改为666

重新起动后,应该就可以在客户机中使用USB设备了。在客户机里使用USB设备前要先在主机里卸载。

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值