Vagrant Tip: Virtualbox Guest Additions

Vagrant Tip: Virtualbox Guest Additions

12 February 2016

Tired of seeing this message when you run vagrant up?

==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
    default: The guest additions on this VM do not match the installed version of
    default: VirtualBox! In most cases this is fine, but in rare cases it can
    default: prevent things such as shared folders from working properly. If you see
    default: shared folder errors, please make sure the guest additions within the
    default: virtual machine match the version of VirtualBox you have installed on
    default: your host and reload your VM.
    default:
    default: Guest Additions Version: 4.3.36
    default: VirtualBox Version: 5.0

There’s fix for that. Check out the vbguest vagrant plugin. Install the plugin with the following command.

$ vagrant plugin install vagrant-vbguest
Installing the ‘vagrant-vbguest‘ plugin. This can take a few minutes...
Installed the plugin ‘vagrant-vbguest (0.11.0)‘!

The first time you run vagrant up you will see a lot of messages about unused packages, the uninstall output for removing the old version of Guest Additions, and the install output for installing the new version of Guest Additions. On my laptop, this is about 140 lines of output text. This isn’t a big deal. I’m just saying that this plugin is noisy.

Now, when running vagrant up, you should see the following output.

==> default: Machine booted and ready!
GuestAdditions 5.0.10 running --- OK.
==> default: Checking for guest additions in VM...

Much better!

时间: 2024-10-14 18:58:48

Vagrant Tip: Virtualbox Guest Additions的相关文章

安装Virtualbox Guest Additions(解决Virtualbox中Ubuntu分辨率过小)

问题:Virtualbox中Ubuntu分辨率过小,操作极其不方面. 解决:需要安装Virtualbox Guest Additions. 步骤如下: 1.下载Virtualbox Guest Additions,从这里下载 : 2. 为主机增加一个虚拟光驱 : 3. 进入系统后,点击"设备"-> "安装增加功能",就可以从刚才增加的光驱中进行挂载安装(如果没有出现这些控制菜单 ,可以通过 right ctrl+c 调出): 4.如果提示要安装相应的头文件,则

VirtualBox Guest Additions 下载地址以及简介

下载者可将以下链接粘贴到浏览器上,根据Vbox的版本找到自己对应的增强. http://download.virtualbox.org/virtualbox/5.0.10/ 虚拟机安装VBoxAdditions增强功能 在VirtualBox上安装好Ubuntu后,需将VBoxAdditions增强功能安装上,该功能有如下作用: (1)实现客户机和主机间的鼠标平滑移动 (2)与主机实现文件共享 (3)安装虚拟显卡驱动,实现2D和3D视频图形加速,自动调整客户机分辨率 (4)支持无缝模式 (5)与

VirtualBox虚拟机CentOS安装增强功能Guest Additions

VirtualBox虚拟机CentOS安装增强功能Guest Additions 转自简书 没有安装Virtual Box增强功能Guest Additions的虚拟机操作很不方便,比如: 虚拟机的分辨率最大只有1024x768: 鼠标被虚拟机捕获后要按右Ctrl键才能释放,否则只能再虚拟机里移动: 剪贴板不能共享 安装Guest Additions可以解决上述所有问题.以CentOS 7.3虚拟机为例,如果安装CentOS时没有选择Development Tools组,需要先安装kernel-

ZH奶酪:在Virtualbox中的Ubuntu虚拟机中,安装Guest Additions客户端增强包时出错:分配介质 虚拟光盘 xxx\VBoxsGuestAdditions.iso 到虚拟电脑 xxx 失败。您是否要强制卸载分配该介质?

在Virtualbox中的Ubuntu虚拟机中, 安装Guest Additions,出错: 分配介质 虚拟光盘 xxx\VBoxsGuestAdditions.iso 到虚拟电脑 xxx 失败.您是否要强制卸载分配该介质? Could not mount the media/drive xxx\VBoxsGuestAdditions.iso (VERR_PDM_MEDIA_LOCKED) (1)手动弹出对应的光盘: (2)然后可以看到提示,已弹出了: (3)然后再重新操作一次:设备->安装增强

VirtualBox安装增强工具时:Unable to install guest additions: unknown filesystem type 'iso9660'

解决方法: sudo apt-get install --reinstall linux-image-$(uname -r) 参考:http://askubuntu.com/questions/596998/unable-to-install-guest-additions-unknown-filesystem-type-iso9660 VirtualBox安装增强工具时:Unable to install guest additions: unknown filesystem type 'is

使用Vagrant和VirtualBox安装CentOS

一.安装VirtualBox 直接来到官网 https://www.virtualbox.org/wiki/Downloads 点击下载最新的VirtualBox,一路傻瓜化完成. Note: 建议下载5.1.22版本 如果系统安装盘空间不足,可以更改虚拟机的默认存放位置 a) 打开VirtualBox,选择"管理"-->"全局设定": b) 修改"常规"中的默认虚拟电脑位置即可: 二.安装Vagrant 直接到官网 https://www

Building the main Guest Additions module [FAILED]

虚拟机中的centos7安装vbox的增强工具报错 Building the main Guest Additions module [FAILED] 查看日志发现 unable to find the sources of your current Linux kernel, 我们进行使用yum进行安装下面的东西yum install -y gcc kernel kernel-devel kernel-headers 然后重启一下你的Linux服务器,reboot,然后就可以了.后面重启成功之

WIN10 vagrant和virtualbox虚拟机和一键搭建lnmp环境配置thinkphp虚拟主机

版本:win10系统 virtualbox:5.1.26 vagrant :1.9.7 centos 7.0 xshell/git 首先下载好对应版本的软件 配置vagrant和virtualbox 一.把虚拟机加载到box容器中 vagrant box add CentOs7.0 D:\soft\Vagrantfile\package.box CentOs7.0 是给虚拟机起的名字 D:\soft\Vagrantfile\package.box 是box路径也就是centos7.0 二.找一个

如何安装Virtual Box的VBox Guest Additions扩展程序

Virtual Box的默认安装是不包含Guest Addition这个扩展的,在实际使用过程中带来种种不便,比如只能通过小窗口访问虚拟机的操作系统,通过默认的右Ctrl切换鼠标,不能和宿主操作系统共享文件等等. 这些弊端在安装了Guest Additions扩展程序后能得到完美解决. Guest Additions,故名思议,需要在Guest即虚拟机操作系统里安装. 在VirtualBox的官网下载VBoxGuestAdditions.iso这个镜像文件, http://download.vi