Mount USB Drive in Ubuntu: Step-by-Step
You can mount a USB drive in Ubuntu by following these steps:
- First, insert the flash drive into the computer’s USB port.
- Open the terminal and enter the following command to view all storage devices in the system and their mount points:
lsblk
- Identify the device name of the USB drive in the system, typically labeled as /dev/sdX, with X representing a letter. For example, /dev/sdb.
- Create a directory for mounting a USB drive, for example:
sudo mkdir /media/usb
- climb
- The device name /dev/sdX
sudo mount /dev/sdX /media/usb
Your USB drive should now be successfully mounted to the /media/usb directory. You can access the files on the USB drive by navigating to that directory in the file manager. When finished, use the following command to unmount the USB drive:
sudo umount /media/usb