Get the App
SLTechnology News&Howtos  ›  Servers  › 

How to mount a flash drive in linux?

Shulou Source: shulou.com Published: 2022-06-03 06:19:29 11月14日 Update

This article mainly discusses the method of manually mounting U disk in linux. There is a certain reference value, friends in need can refer to, follow the editor to look at the methods and steps.

The specific steps are as follows:

1. Log in as root user

Load the USB module first

Modprobe usb-storage

Use fdisk-l to look at the device on the USB disk.

If the flash drive is sda1.

2. Make sure that the folder / usb_disk is established under the directory / mnt. If not, execute the following command

Mkdir / mnt / usb_disk

3. To mount the USB flash drive, type the following command:

Mount / dev/sda / mnt/usb_disk

After success, you can use the u disk, and the files are in the directory / mnt/usb.

The method of manually mounting a U disk in linux is shared here, and the solution to the problem is not just the method analyzed in the article and everyone, but the accuracy of the analysis method in this article is indisputable. If you like this article, you might as well share it for more people to see.

Tags: Methods articles commands manual files steps directories analysis references success no doubt value accuracy methods folders more friends modules users devices Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Information Shulou Technology Docker Microsoft macOS