How to change hard drive name

54,689

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

Share:
54,689

Related videos on Youtube

R_C
Author by

R_C

Updated on September 18, 2022

Comments

  • R_C
    R_C over 1 year

    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.

    • Sumeet Deshmukh
      Sumeet Deshmukh about 7 years
      if you want to do this through command, then please update your question with output of lsblk
    • Anwar
      Anwar about 7 years
    • Xen2050
      Xen2050 about 7 years
      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
  • Sumeet Deshmukh
    Sumeet Deshmukh about 7 years
    @DKBoss should I edit that in my answer?
  • DK Bose
    DK Bose about 7 years
    That's totally your call! If you feel it may improve your answer, do so. Otherwise, your answer is fine as it is.
  • R_C
    R_C about 7 years
    This worked, you guys are very helpful to Linux noobs like me, thank you!
  • Kvothe
    Kvothe almost 4 years
    Does this require a reboot to take effect? If so is there anything I can manually run to update this without a reboot. (I tried the above and it still gets mounted to the wrong Mount Point, I guess I will try rebooting but I would have preferred it if that weren't required.)
  • Kvothe
    Kvothe almost 4 years
    Okay that was not the issue. It still does not work. It is still mounting to the previous default location.