Linux mount USB flash drive

Source: Internet
Author: User

Note: The following actions are to be performed in the root case;

  1. Create a new USB directory in the/mnt/directory;
  2. cd/mnt/
  3. mkdir USB
  4. sudo fdisk–l view hard disk information, plug in the USB stick, fdisk–l, see if there is a new hard drive to add up
  5. Then mount: sudo mount–t vfat/dev/sdb/mnt/usb (-t vfat refers to the fat format,/DEV/SDB refers to the USB stick,/mnt/usb is the place to mount)
  6. Cd/mnt/usb viewing the contents of a USB flash drive
  7. If you do not create a new file, then sudo umount/dev/sdb if the file disappears, and then mount, and display, it means that the mount was successful;
  8. When mounting the USB stick on the development Board, pay attention to whether the Development Board supports NTFS-formatted USB flash drive, does not support the NTFS-formatted Development Board, and can view the USB drive information with the FDISK-L command, but the mount is unsuccessful and will report an error;

Linux mount 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.