windows主机 + virtualbox + ubuntu宿机共享文件夹

1. 先在virtualbox里配一下

2. 启动ubuntu后,sudo vi /etc/rc.local, 有exit 0之前加上:

引用

mount.vboxsf -o rw,uid=1000,gid=1000 KentLinuxTools /home/kent/dev/tools

3. 执行:sudo /etc/rc.local

Leave a Comment

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.