How to mount a USB flash disk in linux

Source: Internet
Author: User
How to mount a USB flash disk in linux-general Linux technology-Linux technology and application information. For details, refer to the following section. Many usb devices, such as mp3, usb flash drives, and card readers, are not recognized on linux, for example, my card reader + 1g mmccard can be mounted by red hat linux Through the mount command, but my mp3 and Tsinghua USB flash drives cannot be identified. I searched many methods online, however, they are not successful. Now I will share my experience with you.

After inserting a USB flash drive, follow these steps:

1. fdisk-l/dev/sd *
Fdisk-l lists the partition table information of a specified device. The USB disk is automatically named as sd * because it is simulated as a scsi device *.

Generally, the USB flash drive can be found at this step. If the USB flash drive has an indicator light, it indicates it is found.

2. If the previous command does not respond, or some information display modules are not added

You can run lsmod to check whether the usb-storage scsi_mod sd_mod module is available.

Add the missing module if no module is available.

Then try again. OK.

3. mount the usb flash drive. Create a usb directory under the mnt directory.

Mount/dev/sda/mnt/usb
Some systems need to specify the file system type, you can use
Mount-t vfat/dev/sda/mnt/usb
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.