Find the answer to your Linux question:
Results 1 to 5 of 5
hi all, i am using debian sarge, if anyone can help that wud be great. i've tried mount -t -vfat /dev/sda1 /mnt/usbkey but i get the error message "unknow filesystem ...
  1. #1
    Just Joined!
    Join Date
    Aug 2005
    Posts
    4

    usb key mounting

    hi all,

    i am using debian sarge, if anyone can help that wud be great.

    i've tried

    mount -t -vfat /dev/sda1 /mnt/usbkey

    but i get the error message "unknow filesystem type -vfat"

    thx

  2. #2
    Linux Guru techieMoe's Avatar
    Join Date
    Aug 2004
    Location
    Texas
    Posts
    9,496
    Try the same command as above, without the dash in front of "vfat":
    Code:
    mount -t vfat /dev/sda1 /mnt/usbkey
    Registered Linux user #270181
    TechieMoe's Tech Rants

  3. #3
    Just Joined!
    Join Date
    Aug 2005
    Posts
    4
    that doesn't work either i get the error

    mount: special device dev/sda does not exist

  4. #4
    Linux Guru techieMoe's Avatar
    Join Date
    Aug 2004
    Location
    Texas
    Posts
    9,496
    Quote Originally Posted by docetes
    that doesn't work either i get the error

    mount: special device dev/sda does not exist
    Are you sure your USB device is being identified as /dev/sda1? Is that what the output of dmesg is telling you?
    Registered Linux user #270181
    TechieMoe's Tech Rants

  5. #5
    Linux Guru antidrugue's Avatar
    Join Date
    Oct 2005
    Location
    Montreal, Canada
    Posts
    3,212
    Quote Originally Posted by docetes
    that doesn't work either i get the error

    mount: special device dev/sda does not exist
    Make sure you are using the right device.

    Upon inserting the USB key, type :
    Code:
    dmesg | tail
    to know the exact device.

    It will tell you a bunch of stuff like that :
    Quote Originally Posted by output of "dmesg | tail"
    sdb: Mode Sense: 03 00 00 00
    sdb: assuming drive cache: write through
    [...]
    FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
    Then you can mount the thing :
    Code:
    mount -t vfat -o iocharset=utf8,umask=0000,user /dev/sdb1 /mnt/usbkey
    EDIT: Oups, didn't saw your post techieMoe...
    "To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow."

    -Bruce Lee

Posting Permissions

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