Host os :winodws
Guest os :Linux 有些版本是掛載不起來的。
以下設定適用於各版本的Linux Distribution,兩個共用資料夾名稱要一致。
sh ./VBoxLinuxAdditions.run mkdir /mnt/Share (in Guest os)
sudo mount.vboxsf Share /mnt/Share
紅色「 Share 」為 VirtualBox 共用資料夾名稱 (in Host os)
藍色「 /mnt/Share 」為自己建立要掛載的目錄
To mount this every time linux boots, edit the file /etc/rc.local and put the following line at the start:
直接執行 mount.vboxsf ,而不透過 mount 調用。mount.vboxsf Share /mnt/Share
錯誤: mount -t vboxsf workspace /mnt/vbox/workspace 正確: mount.vboxsf workspace /mnt/vbox/workspace
在 /etc/rc.local 內 添加此指令,重開機後就會自動掛載了