1、用鼠標點一下vmware裡,把焦點轉移到vmware
2、插入u盤 系統會自動識別,然後點擊右下角的狀態欄或者vmware的虛擬機菜單 ,點擊連接到虛擬機(與主機斷開連接)---一些列自動設置
3、在超級用戶下,用fdisk -l命令 查看U盤 一般為sda或者sdb
Disk /dev/sda: 5368 MB, 5368709120 bytes
255 heads, 63 sectors/track, 652 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 574 4610623+ 83 Linux
/dev/sda2 575 652 626535 82 Linux swap
Disk /dev/sdb: 130 MB, 130416640 bytes
8 heads, 32 sectors/track, 995 cylinders
Units = cylinders of 256 * 512 = 131072 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 995 127344 b Win95 FAT32
4、建立掛載目錄,一般#mkdir /mnt/udisk
5、進行掛載 # mount /dev/sdb1 /mnt/udisk
進入/mnt/udisk ls命令即可查看U盤中的文件
6、卸載 umount /mnt/udisk