Copy the U-disk file to the Linux system on the virtual machine-"File Mount"

Source: Internet
Author: User

The operating system in the virtual machine. CentOs (no graphical interface)

Without the graphical interface of Linux, I also do not configure the network, now need to copy files to the Linux system above, I use the U-disk mounted way to obtain the files on the USB flash drive.

1. Setting USB properties in VMware

Edit System Information in virtual

All three USB messages must be checked

2. Turn on the VMware USB service

Remember to check whether to turn on the USB service (did not notice, the pit for a long time to find the reason), My Computer right-click Management-Services and applications->vmware USB Arbitration Service right-click Services

3, plug the USB stick, connect

Select VMware Virtual Machine--mobile device->usb-to start

  

Click OK

The following icon added to VMware indicates a successful USB connection

Or use Fdisk-l to view disk conditions

The connection was successful —————————————————————— here, and the following is a USB mount operation

4. Mounting

Enter Fdisk-l/DEV/SD Press the TAB key twice to appear below the screen

  

Complete the command, you can get my flash drive information

Create a directory (USB) in the/MNT directory

Cd/mntmkdir USB

mount the USB drive to the/MNT/USB directory ( note that the USB drive partition is mounted)----> here does not mount directly to the contents of the USB flash drive

Mount/dev/sdc1/mnt/usb

Enter the/MNT/USB directory to get the contents of the USB flash drive

Cd/mnt/usb #进去挂载的路径ls         #查看文件信息

Copying files

The path to the CP file name  

5. un-mount

CD/                  ###### back to the root directory unmount/mnt/usb           ###### #取消挂载

Here, the files on the USB drive have been imported into the virtual machine system.

Http://www.cnblogs.com/0201zcr/p/4921693.html

Copy the U-disk file to the Linux system on the virtual machine-"File Mount" (GO)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.