Mounting a USB device on Red hat Enterprise Linux 5 32-bit x86

Posted on 2009-02-20
Last Modified: 2012-05-06
Hi Experts,

I'm expiriencing problems in mount an external usb hdd from Transcend on my Linux system.
I have connected my usb device to my red hat system and managed to find it when excecuting tail -f /var/log/messages -n 25 and it appeared as a sdb scsi drive. I then checked my dmesg but could not find any scsi device. I then checked my /proc/scsi/scsi and could find my usd device details.I then created the following directory as my mount point /mnt/usb .

When I try to mount the device using the following command mount -t vfat /dev/sdb /mnt/usb then decive does not mount as it is unable to locate /dev/sdb.

Experts will you kindly assist me in providing me with a way of mount a usb device under Linux.

The Duke
Question by:LinuxDuke
    LVL 23

    Expert Comment

    by:Maciej S
    /dev/sdb is just device. You need to have some partition(s) on this device to mount it.
    If you have some already, you can check them with fdisk -l /dev/sdb
    If you don't have them - create them :) (start with fdisk "/dev/sdb" command, and then choose proper options).

    Then - assuming you have created one partition - it will be named /dev/sdb1. So, to mount your drive run:
    First, create mount point with command: "mkdir -p /mnt/sdb1", then mount your drive to this newly craeted directory: "mount /dev/sdb1 /mnt/sdb1"
    LVL 7

    Accepted Solution

    command mount -t vfat /dev/sdb1 /mnt/usb

    add the partition number  1

    check with  #  ls /dev/sd*
    also check #   mount

    to see if it has not been automatically mounted for you already.

    Author Closing Comment

    The usb is mount under /dev/sdb when you use fdisk -l /dev/sdb it  shows you and you get the device mount point from dmesg. To mount it you use mount -t vfat /dev/sdb /mnt/usb which is similar to diepes answer.
    LVL 23

    Expert Comment

    by:Maciej S
    I gave the same solution (fdisk instead of ls, but if you run this, you should see, that it doesn't matter). May I know, what diepes wrote, which I didn't?

    Featured Post

    Gigs: Get Your Project Delivered by an Expert

    Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

    Join & Write a Comment

    If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
    I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension ( This reminded me of questions tha…
    Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
    Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

    755 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now