Automatical USB device mount fails in Ubuntu. Solve “unable to mount …: not authorized”

By neokrates, written on March 24, 2010

howto

Rate it
  • 1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
    Loading ... Loading ...
Ad
Poll
  • Your skill as shell programmer is?

    • No skill (35%, 7 Votes)
    • FreeTime coder (acceptable) (25%, 5 Votes)
    • Developer (good) (15%, 3 Votes)
    • Novice (15%, 3 Votes)
    • Admin (very good) (10%, 2 Votes)
    • Guru (perfect) (0%, 0 Votes)

    Total Voters: 20

    Vote

    Loading ... Loading ...
Feeds:
  • bodytext bodytext bodytext
Most popular search terms:

You insert a USB HDD device which your Linux fails to mount automatically. Here is how you can mount it manually

Works for:

[v] Ubuntu 9.10
[v] ntfs usb HDD device

Should also work for:

[v] Ubuntu distros
[v] Other Linux distros
[v] Any USB HDD storage device

1

List mount-able devices

sudo fdisk -l

 
In my case I get:

/dev/sdc1   *       1              2425    19478781      7   HPFS/NTFS
/dev/sdc2            2426        4863    19583235      f    W95 Ext´d (LBA)
/dev/sdc5            2426        4863    19583203+   b   W95 FAT32

2

Create a directory to mount to

sudo mkdir /media/external

3

Mount now

sudo mount -t ntfs /dev/sdc1 /media/external -o  uid=1000,gid=100,utf8,dmask=027,fmask=137
 
Does that help to solve your problem?
VN:F [1.8.5_1061]
Rating: -7 (from 19 votes)
6 votes 'YES'  13 votes 'NO'

LEARN MORE (amazon bookstore)

TAGS

RELATED
Pages
Posts
    nope :(

SOCIAL
Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • bodytext
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • BlinkList
  • Blogosphere News
  • E-mail this story to a friend!
  • Furl
  • LinkArena
  • Live
  • MisterWong
  • Print this article!
  • StumbleUpon
  • Technorati
  • Webnews.de
  • YahooMyWeb

INCOMING SEARCH TERMS


4 Responses to “Automatical USB device mount fails in Ubuntu. Solve “unable to mount …: not authorized””

  1. clayton says:

    what does ” -o uid=1000,gid=100,utf8,dmask=027,fmask=137″ mean? i didnt know so i left it out of the command and the drive seems to have mounted as intended. initially i was getting an error “unable to mount. no permission”

    Like or Dislike: Thumb up 0 Thumb down 0

  2. Eh, I guess this works. Calling it a solution is a little generous, though. It’s like walking across a desert instead of fixing the car. Maybe I’m just spoiled?

    Like or Dislike: Thumb up 1 Thumb down 0

    • admin says:

      Hello William,

      I think, calling something “solution” depends on two things

      - does it work at all and if so, how good it solves the problem. There are hotfixes, fixes, workarounds, patches, solutions which treat the symptoms or the reasons etc.

      - who gets to decide, how to call the proposed “fix”

      As ratings are not that good for the article it seems to work for some but for most not so good… You are welcome to post your “solution” to the problem.

       

      BR // D. Uwarov

      Like or Dislike: Thumb up 0 Thumb down 0

  3. [...] I’ve managed to stumble on this site which taught me how to manually mount the USB to my virtual [...]

    Like or Dislike: Thumb up 0 Thumb down 0

Leave a Reply