VirtualBox虚拟机安装CrunchBang备忘

VirtualBox更新到了4.3.18,顺手安装个Linux桌面版折腾着玩,选择了Debian7内核界面比较简洁的CrunchBang。现将折腾过程中的一些要点记录下,也方便同好们参阅。

安装增强功能:要想实现双向剪切板、自动调节窗口尺寸、无缝显示模式等功能,必须安装Guest Additions扩展包。命令行进入虚拟光驱,先安装编译环境,否则安装时一般会遇到依赖问题,具体过程参考如下。

sudo apt-get install dkms build-essential
sudo sh ./VBoxLinuxAdditions.run

设置共享文件夹:先给要共享的Win文件夹起个名称,然后到虚拟机中命令行,执行挂载命令,并为设置开机自动挂载。

sudo mkdir /mnt/win-share
sudo mount -t vboxsf Downloads /mnt/win-share
sudo nano /etc/fstab
#Edit
Downloads /mnt/win-share vboxsf rw,gid=bang,uid=bang,auto 0 0

先暂时写到这儿,如有新内容稍后补充。

原文:http://www.faith.ga/2997.html

Advertisements

发表评论

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / 更改 )

Twitter picture

You are commenting using your Twitter account. Log Out / 更改 )

Facebook photo

You are commenting using your Facebook account. Log Out / 更改 )

Google+ photo

You are commenting using your Google+ account. Log Out / 更改 )

Connecting to %s