How to Mount a USB Hard Drive in Linux

Techwalla may earn compensation through affiliate links in this story. Learn more about our affiliate and product review process here.

Before you can use a USB hard drive in the Linux operating system (such as Ubuntu, Kubuntu, Fedora or Linux Mint) you must first "mount" the drive. This is a process where you associate the drive with a folder on the computer so that the operating system can recognize the drive and allow you to write files to and from the folder that it is associated with.

Advertisement

Step 1

Log in to your operating system and open a terminal shell from the desktop "Terminal" shortcut.

Video of the Day

Step 2

Type "fdisk -l" to see a list of drives on your computer and to get the name of the USB hard drive (this name is usually "/dev/sdb1" or similar).

Advertisement

Step 3

Create a folder to associate with your USB hard drive by typing "mkdir /mnt/usbdrive" and pressing "Enter."

Advertisement

Step 4

Type "mount -t /dev/sdb1 /mnt/usbdrive" and press "Enter" to mount your USB hard drive to the folder you created.

Video of the Day

Advertisement

Advertisement

references