Virtualbox虚拟机安装Ubuntu12.04遇到的一些问题

一、

用VirtualBox4.0.0安装了Ubuntu10.10后,分辨率最大只支持800*600,非常不方便,研究了一下修改的方法.
1.点击设备-分配光驱-Choose a virtual CD/DVD disk file...选择VirtualBox文件下的VBoxGuestAdditions.iso,这时ubuntu里面就多了一个CD
2.打开终端,输入 df -h 看最后一行就是刚才载入的CD,我的是/media/VBOXADDITIONS_4.0.0_69151(请勿复制,以个人实际情况为主)
3.输入cd /media/VBOXADDITIONS_4.0.0_69151进入目录,输入 ls 查看目录中的文件,可以看到一个VBoxLinuxAdditions.run的文件(注意此处与VBOX以前的版本不同)
4.输入sudo sh VBoxLinuxAdditions.run 然后输入密码,等待安装,直到提示You may need to restart the hal service and the Window System (or just restart the guest system) to enable the Guest Additions.安装完成
5.重启.之后分辨率就可以任意调节了

二、

经验分享 程序员 微信小程序 职场和发展