Last active
January 2, 2016 08:29
-
-
Save tikitikipoo/8276973 to your computer and use it in GitHub Desktop.
vagrant upで共有フォルダがマウント失敗
guest additionのバージョンが異なることでおこるようだ。 vagrant plugin install vagrant-vbguestで解決
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[my@my-no-MacBook-Air-2 something]$ vagrant up | |
Bringing machine 'default' up with 'virtualbox' provider... | |
[default] Clearing any previously set forwarded ports... | |
[default] Clearing any previously set network interfaces... | |
[default] Preparing network interfaces based on configuration... | |
[default] Forwarding ports... | |
[default] -- 22 => 2222 (adapter 1) | |
[default] Running 'pre-boot' VM customizations... | |
[default] Booting VM... | |
[default] Waiting for machine to boot. This may take a few minutes... | |
[default] Machine booted and ready! | |
[default] The guest additions on this VM do not match the installed version of | |
VirtualBox! In most cases this is fine, but in rare cases it can | |
cause things such as shared folders to not work properly. If you see | |
shared folder errors, please update the guest additions within the | |
virtual machine and reload your VM. | |
Guest Additions Version: 4.1.12 | |
VirtualBox Version: 4.3 | |
[default] Configuring and enabling network interfaces... | |
[default] Mounting shared folders... | |
[default] -- /vagrant | |
Failed to mount folders in Linux guest. This is usually beacuse | |
the "vboxsf" file system is not available. Please verify that | |
the guest additions are properly installed in the guest and | |
can work properly. The command attempted was: | |
mount -t vboxsf -o uid=`id -u vagrant`,gid=`getent group vagrant | cut -d: -f3` /vagrant /vagrant | |
mount -t vboxsf -o uid=`id -u vagrant`,gid=`id -g vagrant` /vagrant /vagrant | |
[my@my-no-MacBook-Air-2 something]$ | |
[my@my-no-MacBook-Air-2 something]$ vagrant plugin install vagrant-vbguest | |
Installing the 'vagrant-vbguest' plugin. This can take a few minutes... | |
Installed the plugin 'vagrant-vbguest (0.10.0)'! | |
[my@my-no-MacBook-Air-2 something]$ | |
[my@my-no-MacBook-Air-2 something]$ | |
[my@my-no-MacBook-Air-2 something]$ vagrant up | |
Bringing machine 'default' up with 'virtualbox' provider... | |
[default] VirtualBox VM is already running. | |
[my@my-no-MacBook-Air-2 something]$ | |
[my@my-no-MacBook-Air-2 something]$ vagrant halt | |
[default] Attempting graceful shutdown of VM... | |
[my@my-no-MacBook-Air-2 something]$ | |
[my@my-no-MacBook-Air-2 something]$ vagrant up | |
Bringing machine 'default' up with 'virtualbox' provider... | |
[default] Clearing any previously set forwarded ports... | |
[default] Clearing any previously set network interfaces... | |
[default] Preparing network interfaces based on configuration... | |
[default] Forwarding ports... | |
[default] -- 22 => 2222 (adapter 1) | |
[default] Running 'pre-boot' VM customizations... | |
[default] Booting VM... | |
[default] Waiting for machine to boot. This may take a few minutes... | |
[default] Machine booted and ready! | |
GuestAdditions versions on your host (4.3.2) and guest (4.1.12) do not match. | |
* Stopping VirtualBox Additions | |
...done. | |
ERROR: Module vboxsf does not exist in /proc/modules | |
ERROR: Module vboxguest does not exist in /proc/modules | |
Reading package lists... | |
Building dependency tree... | |
Reading state information... | |
The following packages were automatically installed and are no longer required: | |
libxfixes3 libxcomposite1 xfonts-encodings x11-xkb-utils xserver-xorg-core | |
xserver-common libgl1-mesa-dri xfonts-utils libxfont1 xfonts-base dkms | |
libfontenc1 libxdamage1 libxrandr2 libxkbfile1 libllvm3.0 | |
Use 'apt-get autoremove' to remove them. | |
The following packages will be REMOVED: | |
virtualbox-guest-dkms* virtualbox-guest-utils* virtualbox-guest-x11* | |
0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded. | |
After this operation, 10.4 MB disk space will be freed. | |
(Reading database ... 61146 files and directories currently installed.) | |
Removing virtualbox-guest-dkms ... | |
Removing virtualbox-guest-x11 ... | |
Purging configuration files for virtualbox-guest-x11 ... | |
Removing virtualbox-guest-utils ... | |
Purging configuration files for virtualbox-guest-utils ... | |
Processing triggers for man-db ... | |
Processing triggers for ureadahead ... | |
Reading package lists... | |
Building dependency tree... | |
Reading state information... | |
dkms is already the newest version. | |
dkms set to manually installed. | |
linux-headers-3.2.0-57-generic is already the newest version. | |
linux-headers-3.2.0-57-generic set to manually installed. | |
The following packages were automatically installed and are no longer required: | |
libxfixes3 libxcomposite1 xfonts-encodings x11-xkb-utils xserver-xorg-core | |
xserver-common libgl1-mesa-dri xfonts-utils libxfont1 xfonts-base | |
libfontenc1 libxdamage1 libxrandr2 libxkbfile1 libllvm3.0 | |
Use 'apt-get autoremove' to remove them. | |
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. | |
Copy iso file /Applications/VirtualBox.app/Contents/MacOS/VBoxGuestAdditions.iso into the box /tmp/VBoxGuestAdditions.iso | |
mount: block device /tmp/VBoxGuestAdditions.iso is write-protected, mounting read-only | |
Installing Virtualbox Guest Additions 4.3.2 - guest version is 4.1.12 | |
Verifying archive integrity... All good. | |
Uncompressing VirtualBox 4.3.2 Guest Additions for Linux............ | |
VirtualBox Guest Additions installer | |
Copying additional installer modules ... | |
Installing additional modules ... | |
Removing existing VirtualBox DKMS kernel modules ...done. | |
Removing existing VirtualBox non-DKMS kernel modules ...done. | |
Building the VirtualBox Guest Additions kernel modules ...done. | |
Doing non-kernel setup of the Guest Additions ...done. | |
Starting the VirtualBox Guest Additions ...done. | |
Installing the Window System drivers ...fail! | |
(Could not find the X.Org or XFree86 Window System.) | |
An error occurred during installation of VirtualBox Guest Additions 4.3.2. Some functionality may not work as intended. | |
In most cases it is OK that the "Window System drivers" installation failed. | |
[default] Configuring and enabling network interfaces... | |
[default] Mounting shared folders... | |
[default] -- /vagrant | |
[default] -- /public_html | |
[my@my-no-MacBook-Air-2 something]$ | |
[my@my-no-MacBook-Air-2 something]$ vagrant halt | |
[default] Attempting graceful shutdown of VM... | |
[my@my-no-MacBook-Air-2 something]$ | |
[my@my-no-MacBook-Air-2 something]$ vagrant up | |
Bringing machine 'default' up with 'virtualbox' provider... | |
[default] Clearing any previously set forwarded ports... | |
[Berkshelf] Skipping Berkshelf with --no-provision | |
[default] Clearing any previously set network interfaces... | |
[default] Preparing network interfaces based on configuration... | |
[default] Forwarding ports... | |
[default] -- 22 => 2222 (adapter 1) | |
[default] Running 'pre-boot' VM customizations... | |
[default] Booting VM... | |
[default] Waiting for machine to boot. This may take a few minutes... | |
[default] Machine booted and ready! | |
GuestAdditions 4.3.2 running --- OK. | |
[default] Configuring and enabling network interfaces... | |
[default] Mounting shared folders... | |
[default] -- /vagrant | |
[default] -- /public_html | |
[default] VM already provisioned. Run `vagrant provision` or use `--provision` to force it | |
参考サイト | |
http://kashewnuts.bitbucket.org/2013/08/25/vagrantvbguest.html | |
上で解決しなかったら試そうとしたサイト | |
http://dev.akinaka.net/2013/12/31/vagrant-up |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment