0
Thanks

A few words of thanks would be greatly appreciated.

Linux - Modify the partitions labels






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.
0
Thanks

A few words of thanks would be greatly appreciated.

Ask a question
CCM is a leading international tech website. Our content is written in collaboration with IT experts, under the direction of Jean-François Pillou, founder of CCM.net. CCM reaches more than 50 million unique visitors per month and is available in 11 languages.
This document, titled « Linux - Modify the partitions labels », is available under the Creative Commons license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM (ccm.net).

Subscribe To Our Newsletter!

The Best of CCM in Your Inbox

Subscribe To Our Newsletter!