hello world!
分类: LINUX
2012-03-07 14:46:08
1、安装增强功能。
挂载光盘。
打开终端:
fantlam@fantlam-VirtualBox:/$ cd /media/
fantlam@fantlam-VirtualBox:/media$ ls
VBOXADDITIONS_4.0.4_70112
fantlam@fantlam-VirtualBox:/media$ cd VBOXADDITIONS_4.0.4_70112/
fantlam@fantlam-VirtualBox:/media/VBOXADDITIONS_4.0.4_70112$ ls
32Bit autorun.sh VBoxWindowsAdditions-amd64.exe
64Bit VBoxLinuxAdditions.run VBoxWindowsAdditions.exe
AUTORUN.INF VBoxSolarisAdditions.pkg VBoxWindowsAdditions-x86.exe
fantlam@fantlam-VirtualBox:/media/VBOXADDITIONS_4.0.4_70112$ sudo sh VBoxLinuxAdditions.run
(或直接./autorun.sh)
2、点击Virtualbox–设备–分配数据空间
3、创建目录:
fantlam@fantlam-VirtualBox:/$ mkdir /home/fantlam/share
4、挂载目录
fantlam@fantlam-VirtualBox:/$ sudo mount -t vboxsf linuxsight /home/fantlam/share
这样就可以在ubuntu下看到目录了。
原文路径:http://www.linuxsight.com/blog/1199