I am using Ubuntu 16.04 (it's a dual boot to windows 10 if that matters) I could also do the renaming process on my mac. Also note that Ubuntu is on my computer hard drive, not the external.
I have an external hard drive with two partitions. One of them contains a large amount of important data (it would be difficult for me find a place to save this data while I do the partition). The other is empty.
I need to rename one of them (it can be the empty one) because they both have spaces in the name and this is interfering with some software and scripts I need to use.
Essentially, I want to know if it possible to rename the partition safely without backing up my files and, if so, how?