VirtualBox 下Ubuntu10.04 自动挂载Windows文件夹

来源:互联网 发布:linux开机挂载分区 编辑:程序博客网 时间:2024/05/17 17:56

三个步骤:

1.在VirtualBox中设置Windows中共享文件夹的名称。

比如 需要将E:\software  设为共享文件夹,共享名 为  soft


2.ubuntu中修改/etc/rc.local文件。

在exit0前面加一行

/bin/mount -t vboxsf soft /mnt/s_soft, 其中s_soft文件夹需要先在/mnt下建好