How to load USB flash drives in Linux

Source: Internet
Author: User

How to load USB flash drives in Linux
1. When using RedHat 8.6 For the first time, you may encounter the following situations when loading a USB flash disk;
1. I do not know if the linux operating system on the virtual machine has identified the USB flash disk;
2. How to mount a USB flash drive to the system;
3. Solve Chinese garbled characters;
Ii. solution:
1. Run the fdisk-l command to check the hard disk status in the current system;
2. Insert the USB flash disk and run the fdisk-l command (keep the focus in the virtual machine operating system) to view the corresponding device;
3. Create a folder to load the usb flash drive: mkdir/mnt/usb
4. Attach a USB flash drive:
(1) the loading method varies with the USB flash drive format. The following methods are generally used:
(A) mount-t msdos/dev/sdb1/mnt/usb
(B) mount-t vfat/dev/sdb1/mnt/usb
(C) mount-t ext2/dev/sda1/mnt/usb
Note: [dev/sdb1] is the corresponding USB flash drive device. Different systems may be different. Do not stick them together );
5. view the content under the USB flash disk
Ls/mnt/usb
6. the USB flash drive command is displayed:
Umount/dev/sdb1
Note: Same as above.
Iii. troubleshooting of garbled data

Author "xueyue"
 

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.