標籤:代碼 round 地址 comm jin oracle started log tab
1、 在本機系統設定一個共用資料夾,用於與Ubuntu互動的地區空間。
2、右擊狀態列上共用資料夾表徵圖或功能表列“裝置-共用資料夾”,開啟共用資料夾設定,示
3、點擊共用資料夾設定框,右上方的添加按鈕
選擇之前本機設定的共用資料夾
此時一定不可以勾選自動掛載
4、設定好共用名稱後,進入Linux系統,開啟終端,先執行命令,在掛載點目錄添加“Windows_Share”目錄,接著執行" mount -t vboxsf VirtureBox_Share /mnt/Windows_Share/",就能完成共用資料夾的設定。
[[email protected] ~]$ suPassword: [[email protected] oracle]# mkdir /mnt/Windows_Share[[email protected] oracle]# mount -t vboxsf VirtureBox_Share /mnt/Windows_Share/[[email protected] oracle]#
5、設定完成,可以建立幾個檔案,測試一下
(測試方法:
1. 在本地C:\Software\Oracle\VirtureBox_Share建立一個檔案,到mnt/ Windows_Share/目錄 查看。
2.在mnt/Windows_Share/目錄建立一個檔案,在本機C:\Software\Oracle\VirtureBox_Share進行查看)
[[email protected] oracle]# cd /mnt/Windows_Share/[[email protected] Windows_Share]# lswindow建立.txt[[email protected] Windows_Share]# touch linux.txt[[email protected] Windows_Share]# lslinux.txt window建立.txt[[email protected] Windows_Share]#
6、設定自動掛載
[[email protected] ~]$ suPassword: [[email protected] oracle]#vim /etc/fstab
添加
VirtureBox_Share /mnt/Windows_Share/ vboxsf rw,gid=110,uid=1100,auto 0 0
7、卸載掛載點命令:
umount -f /mnt/share
原文地址:
VirtualBox內Linux系統怎樣與Windows共用資料夾
虛擬機器Oracle VM VirtualBox linux系統如何訪問windows共用資料夾