Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I connect USB (hard disk ) to my Linux machine

the USB recognized as /dev/sdb1 ( by fdisk –l)

The hard disk include some data as images , tar files etc……

How to mount the USB? (/dev/sdb1) in order to read the data from the USB?

share|improve this question

2 Answers 2

up vote 1 down vote accepted

Many distros automatically mount the drive. Check under /media for example.

If not, try sudo mount /dev/sdb1 /mnt

share|improve this answer

First check if the usb device is already mounted as this happens automatically on most modern linux machines:

mount | grep sdb1

should if return a line indicating where the device is already mounted, if the system automatically mounted it.

You should also look at

dmesg | grep sdb

output to see if a mount wa attempted and perhaps something went wrong.

If you don't see an automated mount, create a directory under /mnt and manually mount the device there:

sudo mkdir /mnt/usb
mount /dev/sdb1 /mnt/usb

(you only have to create the directory the first time you try this)

check under /mnt/usb to see if the mount worked. If not, check the dmesg output again to see if any diagnostic messages were logged.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.