Modify partitions labels on linux

Last update on July 26, 2009 09:34 AM by jak58
Published by jad05

Modify partitions labels on linux












All these commands should be done by the administrator (root mode).
Give names of the simplest possible partitions (if possible only alphanumeric characters (a. .. z and 0 ... 9) and - and _.
This information is from a forum Fedora and Ubuntu forum.

Ext2/ext3 Partitions


There are two commands:

tune2fs -L mon_label /dev/partition

/sbin/e2label /dev/partition mon_label

FAT/FAT16/FAT32 Partitions


You must install the mtools packets.
Then type:

sudo mlabel -i /dev/partition ::my_label

NTS Partitions


You must install the ntfsprogs

The command is: ntfslabel /dev/partition my_label.
Best answers for « Modify partitions labels on linux » in :
Changing the label (name) of partitions. Show Changing the label (name) of partitions All commands must be given as administrator (root mode). Give the simplest names possible to partitions (if possible only alphanumeric characters (a. .. z and 0 ... 9) and - and _. Partition...
How to Resize a Partition using Gparted on Linux? Show How to Resize a Partition using Gparted on Linux? You have a partition and you want to enlarge or reduce it without losing data? It is possible and relatively easy with GParted, a LiveCD, ie a bootable CD, providing an interface...
Access rights to Windows partition Show Access rights to Windows partition Getting started Implementation Adding a user Modifying the /etc/fstab file Getting started When creating a Windows partition, it may happen that only the "root" has the necessary privileges, to have...
How to safely remove linux partition from Windows XP? ShowHow to safely remove linux partition from Windows XP? Removing Linux in Windows XP Restoring Master Boot Record You will be able to remove Linux using Windows XP if you have the two operating systems installed on your hard drive....
Print Screen (Windows, Mac OS X and Unix/Linux) ShowHow to make a Print Screen (Windows, Mac OS X and Unix/Linux) What is a Print Screen? How to make a Print Screen (Windows) How to make a Print Screen (Mac OS X) How to make a Print Screen (Unix/Linux) Screen Capture Softwares What is a...
How to resize a disk partition ShowHow to resize a disk partition For Windows Vista users Solution 1: Using Disk Management Solution 2: Using Command Prompt Software Download There are some simple ways to manage your disk partitions to either expand or reduce them....
Download Parted Magic LiveCD ShowParted Magic LiveCD is a program of partition of hard disk, of CD or of key USB. But under no circumstances, it is a means of maintenance of CD. The program allows to optimize nearly 45 Mb, it uses the processor of Gparted and Parted to take in hand...
Partition - Partitioning a hard drive ShowWhat is a partition? The partitioning of a hard drive occurs after the drive has been physically formatted but before it is logically formatted. It involves creating areas on the disk where data will not be mixed. It can be used, for example, to...
Linux - The Vi editor ShowIntroduction to Vi Despite its very limited ergonomics, Vi i is one of the most popular text editors texte under Unix type systems (with Emacs and pico). Under Linux, there is a free version of Vi called Vim (Vi Improved). Vi (pronounced vee-eye)...
Linux commands ShowTable of main Linux commands Command Description DOS equivalent ls lists the content of a directory dir cd change directory cd cd .. parent directory cd.. mkdir creates a new...