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
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