Find the answer to your Linux question:
Results 1 to 4 of 4
So I was mounting my USB drive, and the following came up: Code: $ mount -t vfat /dev/sda1 /usbdrive/ mount: special device /dev/sda1 does not exist So I went to ...
  1. #1
    Linux Engineer Javasnob's Avatar
    Join Date
    Jul 2005
    Location
    Wisconsin
    Posts
    942

    A little issue with mount...

    So I was mounting my USB drive, and the following came up:

    Code:
    $ mount -t vfat /dev/sda1 /usbdrive/
    mount: special device /dev/sda1 does not exist
    So I went to /dev, and no sd* devices were there...What gives? Is this because I recently upgraded my kernel?

    Thanks for the help!

  2. #2
    Just Joined!
    Join Date
    Jan 2005
    Location
    Topeka, KS, USA
    Posts
    88
    I don't know why they'd be missing, but you should be able to use the MAKEDEV command to recreate any that you need. I think running
    Code:
    /dev/MAKEDEV /dev/sda
    should do the trick.

  3. #3
    Linux Engineer Javasnob's Avatar
    Join Date
    Jul 2005
    Location
    Wisconsin
    Posts
    942
    This is the output I got from that:
    Code:
    root@Rob:/dev# ./MAKEDEV /dev/sda
    ./MAKEDEV: don't know how to make device "/dev/sda"
    Do I need some sort of special modules loaded to do this?

  4. #4
    Linux User
    Join Date
    Aug 2005
    Location
    Italy
    Posts
    401
    Code:
    cd /dev
    MAKEDEV sda
    See the man page of MAKEDEV for further informations.

    Then, when you attach the USB drive, see the dmesg output (as root). You will see messages about your USB drive. The messages specify wich device you should mount to use that USB drive.
    When using Windows, have you ever told "Ehi... do your business?"
    Linux user #396597 (http://counter.li.org)

Posting Permissions

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