pom 发表于 2014-3-4 08:47:16

Ubuntu 12.10 安装VirtualBox增强功能

Ubuntu 12.10 Desktop      
      首先,通过VirtualBox菜单(设备->安装增强功能)加载增强包加载到光盘。

      #安装linux-headers。
      $ sudo apt-get install linux-headers-$(uname -r)   

      #切换到光盘路径,eugene为当前用户名
      $ cd /media/eugene/VBOXADDITIONS_4.2.6_82870   

      #安装增强功能
      $ sudo ./VBoxLinuxAdditions.run

Ubuntu 12.10 Server
         首先,通过VirtualBox菜单(设备->安装增强功能)加载增强包加载到光盘。

      #安装linux-headers。
      $sudo apt-get install linux-headers-$(uname -r)

      #安装build-essential(编译环境套件:g++,dpkg-dev,libc6-dev,make)
      $sudo apt-get install build-essential

      #挂载光驱
      $sudo mount /dev/cdrom /media/cdrom

      #安装增强功能,如果出现以下错误是因为Server未安装图形界面,不影响使用
      #Installing the Window System drivers ...fail!
      #(Could not find the X.Org or XFree86 Window System.)
      $sudo /media/cdrom/VBoxLinuxAdditions.run

      #卸载cdrom
      $sudo umount /media/cdrom

      #将共享文件夹(share)挂载到mnt下
      $sudo mount -t vboxsf share /mnt

页: [1]
查看完整版本: Ubuntu 12.10 安装VirtualBox增强功能