Linux - Modify the partitions labels

December 2016

All these commands should be done by the administrator (root mode).
Give names of the simplest possible partitions (if possible using only alphanumeric characters (a. .. z and 0 ... 9) and - and _.

ext2/ext3 Partitions

There are two commands:
  • tune2fs -L my_label /dev/partition
  • /sbin/e2label /dev/partition my_label

FAT/FAT16/FAT32 Partitions

You must install the mtools utility package.

Then type:
  • sudo mlabel -i /dev/partition ::my_label

NTS Partitions

You must install the ntfsprogs package

The command to be used is:
  • ntfslabel /dev/partition my_label.

Related :

This document entitled « Linux - Modify the partitions labels  » from CCM ( is made available under the Creative Commons license. You can copy, modify copies of this page, under the conditions stipulated by the license, as this note appears clearly.