Latest response

haw to mount a dongle usb on host


If you insert the USB device into a host, it should pick it up automatically.

If you want to make that device available to a Virtual Machine, steps for this can be found in the documentation here -> 4.3. Configuring USB Devices

Abdelmoumen MAHMOUD

Along with the good tip from Marcus West above, additionally consider the following if required when mounting any USB storage.

After connecting the USB storage device (any USB storage), run lsblk (while logged in as root, in a terminal session) and examine the output (give it a moment to register the storage). It may be overkill, but you can run partprobe to force the kernel to "see" the storage.

You can run the command blkid to determine what if any file system is on the storage.

Know that if the USB device you connected is formatted with "ntfs" (windows file system), Red Hat/CentOS systems do not automatically have the ntfs drivers for windows formatted filesystems. The rpms to install it are available through EPEL That link allows you to brows the packages, and gives instructions to make EPEL (Extra Packages for Enterprise Linux) available to your system. So NTFS is available for example at this example mirror

ntfs-3g-2017.3.23-11.el8.x86_64.rpm                09-Oct-2019 20:13              287388
ntfs-3g-devel-2017.3.23-11.el8.x86_64.rpm          09-Oct-2019 20:13               88288
ntfs-3g-system-compression-1.0-2.el8.x86_64.rpm    09-Oct-2019 20:13               28060
ntfsprogs-2017.3.23-11.el8.x86_64.rpm              09-Oct-2019 20:13              410300

Another factor, some companies who are interested in blocking USB storage may have configured modprobe.conf to block USB storage, and also see this Red Hat solution to remove any directives (discuss with the appropriate people in your company if there is a policy for this).

After removing any modprobe directives for blocking usb-storage, reattempt the mount of your USB storage, examine the output of blkid and lsblk as needed to make sure your system can "see" the storage from those commands. If you are using a windows-formatted device, use the ntfs rpms I mentioned above from EPEL.