10

This question already has an answer here:

my hard drive is located in /media/ronin_cunningham/408242E58242DED2 and I want to change the name 408242E58242DED2 to StorageDevice. How would I do this from the terminal?

Thanks.

marked as duplicate by Anwar, Community Apr 14 '17 at 5:43

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 1
    if you want to do this through command, then please update your question with output of lsblk – Sumeet Deshmukh Apr 14 '17 at 3:04
  • or this one askubuntu.com/questions/147319/… – Anwar Apr 14 '17 at 4:02
  • Unclear if you want to change the partition / file system label, or just change the mountpoint. The answer below sounds like what you want (mountpoint only), though the "duplicate" question changes the label too – Xen2050 Apr 14 '17 at 7:11
19

The easiest way to do this would be to do it with GUI

  • Go to disk app (through Unity Dash or terminal with gnome-disks command)
  • Choose your partition
  • Click the little gear icon Gear icon
  • Select Edit mount options
  • Toggle Automatic Mount Option to Off
  • Edit mount point to /media/ronin_cunningham/StorageDevice

On a side note, this will also enable your partition to be mounted automatically on start up, If you don't want that to happen then make sure to

  • Un-mark Mount at Startup

You'd want to do this if your Bootup times are slow


screenshot of gnome-disk app Theme might not look exactly like this

  • If you want, you can also mention the name for "disk app" which is gnome-disks when invoked from a terminal. – DK Bose Apr 14 '17 at 4:20
  • @DKBoss should I edit that in my answer? – Sumeet Deshmukh Apr 14 '17 at 4:27
  • That's totally your call! If you feel it may improve your answer, do so. Otherwise, your answer is fine as it is. – DK Bose Apr 14 '17 at 4:31
  • 1
    This worked, you guys are very helpful to Linux noobs like me, thank you! – R_C Apr 14 '17 at 5:43

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