Howto mount USB drive in Linux - LinuxConfig.org


#1

Mounting USB drive is no different than mounting USB stick or even a regular SATA drive. The video example below will illustrate the entire process of mounting USB drive on Linux system. To gain more understating read the subsequent paragraphs.


This is a companion discussion topic for the original entry at https://linuxconfig.org/howto-mount-usb-drive-in-linux

#2

Eddie O’Connor

I’m having the problem where my USB external hard drive isn’t mounting at all. I get error messages stating something about NTFS?..I bought this and never formatted it. I assumed it was FAT…but somehow its’ now NTFS?..I have data on this drive that I would like to keep. But I have no idea how to get at it.


#3

Myname Eddie -> O’Connor

By that i mean a Windows VM, since NTFS is a partition that, IIRC, only windows OS’es can read


#4

Myname -> Eddie O’Connor

Try mounting it inside of a VM


#5

Shosholoza

Thank you very much. This is so useful. Pls keep it up.


#6

Capdeville

How in Ubuntu (for example) it mounted to /media/user_name/uid/ ?
It mean how it make a dir with UID of device and after umoun this device this dir is deleted? It making all via GDM?


#7

abdel

thank you very helpful


#8

Basil Williams

Thank you. I had some difficultly at first (Mint had already mounted the device elsewhere), but haven’t had a problem since I figured that out.


#9

mwoosley

Hello everyone. This tutorial is great, albeit I get a -bash error: permission denied when I try to echo the file into the mounted directory. As root, I have the correct permissions (directory permissions of drwxr-xr-x). I just want to figure out what needs to change in order for me to place this file into the directory using the echo command. I’m sure its about permissions, but as I stated, to the best of my knowledge, it looks like I have the right values in place.


#10

fstab -> mwoosley

You need drwxrw-rw-


#11

mih

I get 2 errors on centos 7 mount:

mount: /dev/sdb is write-protected, mounting read-only
unknown filesystem type '(null)' 

…and the usb still doesn’t mount.


#12

Frank

By far the most annoying think about this os. USB devices mysteriously all of the sudden can’t mount. Two days later after not touching said devices they mount without a hitch. What a joke.


#13

Seee

worst example ever


#14

Gary Fry -> Seee

… so you know better? Please share


#15

Doug Lawson

A specific manual mount command would be: mount /dev/sdb1 /mnt/sdb1

When done: umount /mnt/sdb1