(Windows7) Laravel5.7のファイルストレージでシンボリックリンクエラーの対処
o_wani
owani.net#stay.hungry
vagrantのmountエラーが発生した。初回起動はうまくできたのだが、Vagrantfile
を修正してvagrant reload
で再起動を行った際に、以下のエラーが発生した。
1.Failed to mount folders in Linux guest. This is usually because
2.the "vboxsf" file system is not available. Please verify that
3.the guest additions are properly installed in the guest and
4.can work properly. The command attempted was:
5.
6.mount -t vboxsf -o uid=`id -u vagrant`,gid=`getent group vagrant | cut -d: -f3` vagrant /vagrant
7.mount -t vboxsf -o uid=`id -u vagrant`,gid=`id -g vagrant` vagrant /vagrant
8.
9.The error output from the last command was:
10.
11./sbin/mount.vboxsf: mounting failed with the error: No such device
今回は以下の手順でエラーが無事解消されたので記載する。
kernel-devel
のインストール1.[vagrant@localhost ~]$ sudo yum install kernel-devel
1.[vagrant@localhost ~]$ sudo /etc/rc.d/init.d/vboxadd setup
2.Removing existing VirtualBox non-DKMS kernel modules [ OK ]
3.Building the VirtualBox Guest Additions kernel modules
4.Building the main Guest Additions module [ OK ]
5.Building the shared folder support module [ OK ]
6.Building the OpenGL support module [失敗]
7.(Look at /var/log/vboxadd-install.log to find out what went wrong. The module is not built but the others are.)
8.Doing non-kernel setup of the Guest Additions [ OK ]
9.Starting the VirtualBox Guest Additions [ OK ]
1.$ vagrant reload