Find the answer to your Linux question:
Results 1 to 3 of 3
I have been trying to access a USB Drive using FAT32 I have created mount directory /mnt/usbdrive I have tried running mount -t vfat /dev/sdb1 /mnt/usbdrive I get the following ...
  1. #1
    Just Joined!
    Join Date
    Apr 2007
    Posts
    10

    USB Drive

    I have been trying to access a USB Drive using FAT32

    I have created mount directory /mnt/usbdrive
    I have tried running mount -t vfat /dev/sdb1 /mnt/usbdrive

    I get the following message "/dev/sda1 is not a valid block device"

    How do I find out what string I should use for the block device ? How do I look up what linux has called the USB drive ?

    Thanks

    Ian

  2. #2
    Linux Guru jmadero's Avatar
    Join Date
    Jul 2007
    Location
    California
    Posts
    1,958
    I'd suggest just naming the device itself. Easiest way to do this, download gparted

    sudo apt-get install gparted

    open it from system-> administration -> partition editor

    then select the pen drive (upper right corner drop down menu)

    Right click the partition, unmount if mounted, make a label. Unplug and replug the pen drive and it'll mount at /media/LABEL (whatever Label name you give).

    Usually easier than getting you to post your fstab and fdisk -l
    Bodhi 1.3 & Bodhi 1.4 using E17
    Dell Studio 17, Intel Graphics card, 4 gigs of RAM, E17

    "The beauty in life can only be found by moving past the materialism which defines human nature and into the higher realm of thought and knowledge"

  3. #3
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Plug in USB Drive and execute this in Terminal :
    Code:
    sudo fdisk -l
    Check which device name has been assigned to USB Drive.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...