Home > Operation and Maintenance > Linux Operation and Maintenance > What to do if Linux cannot recognize USB

What to do if Linux cannot recognize USB

藏色散人
Release: 2020-05-20 11:10:46
Original
7370 people have browsed it

What to do if Linux cannot recognize USB

#What should I do if Linux cannot recognize USB? The solution to the problem that the USB disk cannot be recognized under Linux

We often encounter the situation that the USB disk cannot be recognized under Linux. Here is a record:

Recommended: "linux tutorial

1. The USB disk cannot be recognized in the virtual machine (vbox)

The use of the USB disk by vbox and the host machine is exclusive (that is, in Only one of the two can access the USB disk at a certain time, but not at the same time). When encountering the situation where Linux in vbox cannot recognize the USB disk, you can refer to the following:

1> Ensure that it can be accessed under the host machine Access the USB drive to ensure that there is no problem with the host's USB drive

2>When you need to access it under vbox, enter the Linux system in the virtual machine, and then allocate USB in the menu bar Device-> Find the corresponding USB device under the device and check

At this time, the USB disk can generally be recognized. If it is still not successfully recognized, it means that the Linux installed under the virtual machine is missing the USB-related driver ( This situation comes from the green version of the virtual machine, you can reinstall the USB driver or use the installation version of the virtual machine).

2. The USB disk cannot be recognized under the actual Linux system

When the USB disk cannot be recognized under the actual Linux system, you can refer to the following process:

1>Insert the USB disk

2>#fdisk -l /dev/sd* or #df

If you see the corresponding USB disk at this time, the USB disk has been correctly identified ;If you can't see it, perform the next operation.

3>#lsmod

Execute the above command to check whether the usb-storage scsi_mod sd_mod module has been added. If the above module is not found, execute #modprobe [module] to add it.

4>Establish a mount point, such as /mnt/usb, execute #mount /dev/sda /mnt/usb

Some systems need to indicate the file type to be mounted, execute #mount -t vfat /dev/sda /mnt/usb

The above is the detailed content of What to do if Linux cannot recognize USB. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template