Mount a USB flash drive to CentOS

Source: Internet
Author: User
1. log on to the root user and use fdisk-l to check whether the usb flash drive device is sda12. make sure that the folder/usb is created under the Directory/mnt. if not, enter the following command: mkdir/mnt/usb_disk. 3. run the following command to load the USB flash drive: mount/dev/s 1. log on as the root user.
Use fdisk-l to check the USB flash drive device.
Assume that the USB flash drive is sda1.


2. make sure that the folder/usb is created under the Directory/mnt. if not, enter the command mkdir/mnt/usb_disk and proceed to the next step.


3. to load the u disk, enter the following command: mount/dev/sda1/mnt/usb_disk
After success, you can use the u disk, and the file is under the Directory/mnt/usb.


4. unmount the USB flash disk: After the USB flash disk is used up, you need to press the unmount USB flash disk command before unplugging it.
Command: umount/mnt/usb


After copying the file, pay attention to detaching the USB flash drive. if my USB flash drive is unmounted, I can't read it after I plug it in. if I plug it into Windows, I will prompt you to reformat the USB flash drive.
Related Article

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.