I'm able to erase a partition using the Disk Utility, but I want to change the name without losing data. How is it possible?

link|improve this question

feedback

1 Answer

up vote 6 down vote accepted

To rename the volume, enter the following in Terminal:

/usr/sbin/diskutil rename oldname newname

for example:

/usr/sbin/diskutil rename "Macintosh HD" "Mac Disk"

You can also right-click a partition in Finder (in Computername at the top level of the hierarchy), select Get Info, and enter the new name there.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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