作者:suxixb, Comments Rss, 留言, Trackback

在 7.10 上安装最新的 VirtualBox

VirtualBox 是一款 x86 虚拟机软件,并且 VirtualBox 是开源的,发布在GPL许可之下的自由软件。VirtualBox 可以在 Linux 和 Windows 主机中运行,并支持在其中安装 Windows (NT 4.0、2000、XP、Server 2003、Vista)、DOS/Windows 3.x、Linux (2.4 和 2.6)、OpenBSD 等系列的客户操作系统。

安装virtualbox
添加源

deb http://www.virtualbox.org/debian gutsy non-free

添加公钥

wget http://www.virtualbox.org/debian/innotek.asc -O-|sudo apt-key add -

sudo apt-get update
sudo apt-get install virtualbox

编译 VirtualBox 所用的内核模块
首先安装编译环境及获取与当前内核版本相一致的头文件

sudo apt-get install build-essential
sudo apt-get install linux-headers-$(uname -r)

编译 VirtualBox 内核模块:

sudo /etc/init.d/vboxdrv setup

将自己的账户加入到vboxusers用户组中

sudo adduser 用户名 vboxusers

然后注销重新登录

virtualbox 访问 usb 子系统失败的解决方法

sudo gedit /etc/init.d/mountdevsubfs.sh

找到如下内容:

#
# Magic to make /proc/bus/usb work
#
#mkdir -p /dev/bus/usb/.usbfs
#domount usbfs "" /dev/bus/usb/.usbfs -obusmode=0700,devmode=0600,listmode=0644
#ln -s .usbfs/devices /dev/bus/usb/devices
#mount --rbind /dev/bus/usb /proc/bus/usb

将上诉所示的改为

#
# Magic to make /proc/bus/usb work
#
mkdir -p /dev/bus/usb/.usbfs
domount usbfs "" /dev/bus/usb/.usbfs -obusmode=0700,devmode=0600,listmode=0644
ln -s .usbfs/devices /dev/bus/usb/devices
mount --rbind /dev/bus/usb /proc/bus/usb

存盘退出,重启电脑

screenshot-innotek-virtualbox-2008-02-07.png

标签:


随机文章:

随机文章

整个 Yo2 上的相关文章:

发布于 2008 03月 7th , 星期五 at 9:56 pm ,文章归类于 虚拟应用, 文章标签:
Comments Rss, 留言, Trackback

No Comments

Be the first to comment on this entry.

Have your say

Fields in bold are required. Email addresses are never published or distributed.

Some HTML code is allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>
URIs must be fully qualified (eg: http://www.domainname.com) and all tags must be properly closed.

Line breaks and paragraphs are automatically converted.

Please keep comments relevant. Off-topic, offensive or inappropriate comments may be edited or removed.

  1. 订阅

    • 订阅 我的 Blog
    • Feedsky 订阅数
    订阅到iGoogle或Google Reader 订阅到鲜果 订阅到抓虾 订阅到飞鸽 订阅到Bloglines 订阅到我的雅虎 订阅到NetVibes 订阅到Newsgatar 订阅到Rojo 订阅到网易有道 通过哪吒订阅到MSN,Gtalk,Skype 订阅到QQ邮箱
     

  2. 重要公告

    目前该博客(www.shareitem.org,以下简称该博客)是建立在Yo2优博网上的,由于一些众所周知的原因,本人(suxixb)决定于2008年8月1日起陆续将该博客上的所有文章转移到新网站上,地址为http://shareitem.org,并改名为ShareItem.org(简称siog),原来的订阅地址(feed.shareitem.org)将保持不变,可继续使用。在转移成功后,该博客仍然保留到到期为止(2008年11月18日),在到期后,将不能再通过www.shareitem.org来访问该博客,本人也不在该博客上进行更新和发布文章,所有的新文章将统一在新网站上发表。谢谢各位的支持。

  3. 最新评论

  4. 最新日志

  5. 阅读共享

  6. 标签

  7. 存档

  8. Logo