質問編集履歴

1

vagrant upのエラーを表示

2016/09/14 16:38

投稿

RieMatsui
RieMatsui

スコア27

test CHANGED
File without changes
test CHANGED
@@ -42,27 +42,63 @@
42
42
 
43
43
  を編集し
44
44
 
45
+ ```
46
+
45
47
  config.vm.synced_folder ".", "/vagrant", type: "rsync",
46
48
 
47
49
  rsync__exclude: ".git
50
+
51
+ ```
52
+
53
+
48
54
 
49
55
  こちらを入力し編集。
50
56
 
51
57
 
52
58
 
59
+ packさんの助言で
60
+
61
+ vagrant up実施
62
+
63
+ ```
64
+
65
+ Failed to mount folders in Linux guest. This is usually because
66
+
67
+ the "vboxsf" file system is not available. Please verify that
68
+
69
+ the guest additions are properly installed in the guest and
70
+
71
+ can work properly. The command attempted was:
53
72
 
54
73
 
55
74
 
75
+ mount -t vboxsf -o uid=`id -u vagrant`,gid=`getent group vagrant | cut -d: -f3` vagrant /vagrant
56
76
 
57
- vagatrantfileの
77
+ mount -t vboxsf -o uid=`id -u vagrant`,gid=`id -g vagrant` vagrant /vagrant
58
78
 
59
79
 
60
80
 
61
- config.vm.synced_folder ".", "/vagrant", type: "rsync",
81
+ The error output from the last command was:
62
82
 
63
- rsync__exclude: ".git/"
64
83
 
84
+
85
+ /sbin/mount.vboxsf: mounting failed with the error: No such device
86
+
87
+
88
+
65
- end
89
+ ```
90
+
91
+ と出てきたので
92
+
93
+ ```
94
+
95
+ vagrant plugin install vagrant-vaguest
96
+
97
+ ```
98
+
99
+ を実施しました。
100
+
101
+
66
102
 
67
103
 
68
104