Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

As mentioned in the title, I'd like to automount usb drives to /media/volume_label in Ubuntu Server 11.10. I'd like to make this happen like it does with Ubuntu Desktop, but in an Ubuntu Server installation.

There's an old script here, but I don't think it's up to date. Once the volumes are automounted, I'll share them with samba and perhaps UPnP.

share|improve this question

closed as too localized by jrg Feb 28 '12 at 20:09

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

is your partition NTFS? –  Engels Peralta Nov 18 '11 at 16:01
Ok - I fixed the old script by replacing vol_id with blkid -o udev. I'm good to go. Hopefully this will help out someone else as well!… –  luckycharms Nov 18 '11 at 16:14
@Engels - it's fat32, but i'd like to be able to automount ntfs also. –  luckycharms Nov 18 '11 at 16:15
@luckycharms: plz add your modified script as answer –  binW Jan 24 '12 at 16:55
This question appears to be abandoned, if you are experiencing a similar issue please ask a new question with details pertaining to your problem. If you feel this question is not abandoned, please flag the question explaining that. I am flagging this for closure :) –  Ringtail Feb 28 '12 at 20:05

1 Answer 1

Read Here and Here

share|improve this answer
Thanks Engels. Note that the first link doesn't mount to /media/volume_label, and only talks about automount at boot (not at usb insertion, which is what I meant to ask for, but didn't specify in my question). The second link is largely geared toward Ubuntu desktop. I'll refer you and other readers to the link I posted (and added to) above again. Thanks!… –  luckycharms Nov 18 '11 at 16:35
While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. –  theDefector Aug 20 '12 at 20:18

Not the answer you're looking for? Browse other questions tagged or ask your own question.