Linux does not see a flash drive

Anonim

Linux does not see a flash drive

Method 1: Manual Mounting

Sometimes the flash drive is not detected in Linux due to problems with automatic mounting. Then this operation will have to produce this operation independently by performing the appropriate actions that are responsible for connecting disks. More detailed instructions on this topic on the example of several methods you will find in another material on our website by clicking on the link below.

Read more: Mounting disks in Linux

Method 2: Marking a new flash drive

Sometimes problems with the detection of media in Linux are associated with the lack of sections on it. Most often it concerns new flash drives of certain models. In such situations, you need to use one of the available utilities to create a partition. If you only purchased the device and encountered a similar problem, make the following actions.

  1. Open the application menu and find the standard Gparted application there. If it is missing in the default in the shell, pre-install the installation through the official repositories, enters the Sudo Apt-Get Install command or sudo yum install gparted.
  2. Running the Gparted utility in Linux to solve problems with flash drive detection

  3. Starting the utility will have to confirm by specifying the superuser password.
  4. Confirmation of the launch of the GParted utility in Linux to solve problems with flash drive detection

  5. If now the flash drive space has no partitions, in one of the lines you will see the inscription "not marked". Then it should be fixed. Click on this string with the right mouse button.
  6. Finding a problem flash drive in Gparted in Linux to solve problems with its detection

  7. In the context menu that appears, select the "New" option.
  8. Creating a new partition for a problem flash drive in Gparted in Linux

  9. Pay special attention to the right column with "Create as" and "File System" items. Here, select "Main section" and the required FS, which is set by default as ext4.
  10. Setting up a new section for a problem flash drive in gparted in Linux

  11. After adding a job, only click on the icon in the form of a green tick to run the execution of the operation.
  12. Running a section of creating a section for a problem flash drive in gparted in Linux

  13. Confirm this process by clicking on the "Apply" button.
  14. Confirmation of the starting section for a problem flash drive in Gparted in Linux

  15. Wait for the end of creating the main partition.
  16. Waiting for the end of creating a section for a problem flash drive in gparted in Linux

  17. You will be notified of the successful completion of the operation.
  18. Successful creation of a section for a problem flash drive in gparted in Linux

  19. If after that the device was not configured automatically, click on the PCM section and select "Mount" in the context menu.
  20. Mounting a flash drive in the gparted utility in Linux after it is fixed

As can be seen, there is nothing complicated to use the Gparted utility, because in most of the actions are made automatically. It remains only to choose a problem flash drive and create the main partition on it to get rid of the error.

Method 3: Installing the utility for automatic disk mounting

For Linux, there is a specialized utility without a graphical interface that functions in the background. It is designed to automatically mount the disks, including flash drives, when connecting to the system. By default, it may not be established, which is why the problem under consideration occurs today. It is possible to solve it:

  1. Open the "Terminal" through the application menu or the standard hot key Ctrl + Alt + T.
  2. Running the terminal to solve problems with flash drive detection in Linux

  3. Here enter the Sudo Apt Install UDiskie command, which is responsible for installing the utilities you need.
  4. Command for installing automatic mounted utilities in Linux

  5. This action will have to confirm by specifying the password of the superuser.
  6. Confirmation of the installation utility to automatically mount disks in Linux

  7. Additional Select option D to start downloading archives.
  8. Confirmation of downloading utilities for automatic mounted disks in Linux

  9. Expect the end of downloading and installing files. During this operation, do not close the console, otherwise all progress will be automatically reset.
  10. Waiting for downloading utilities for automatic mounted disks in Linux

  11. After the installation is completed, use the UDiskie -A -N -T command to set the basic work parameters of the utility.
  12. Using the utility for automatic disk mounts in Linux

  13. Now you can connect a flash drive to check its work, or it will be enough to enter the UDiskSctl mount -B / DeV / SDC1, replacing the name of the disk to the necessary to make mounted in the current session.
  14. Mounting a problem flash drive through the installed utility in Linux

As a result, each device connected to the computer will be mounted automatically, so the more topic under consideration should not disturb you.

Method 4: Formatting flash drive

Formatting a drive with full file system restore is the best way to get rid of all errors related to the detection of equipment. As you know, usually a flash drive is displayed in various utilities or can be seen in the list of disks by entering the corresponding commands, but it is not available in the file manager. If you can easily part with the data stored on the device or they simply are sitting there, it does not interfere with the full formatting through the available system tools. Read more about it in another material on our website by clicking on the link below.

Read more: Formatting flash drive in Linux

In this material you learned about the methods for solving problems with the flash drive detection in Linux. As you can see, there are a wide variety of options that will be optimal in certain situations.

Read more