How to Change Linux Partition Label Names on EXT4 / EXT3 / EXT2 and Swap

Best Affordable Linux and WordPress Services For Your Business
Outsource Your Linux and WordPress Project and Get it Promptly Completed Remotely and Delivered Online.

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Get your own self-hosted blog with a Free Domain at ($3.45/month).
  4. Become a Supporter - Make a contribution via PayPal
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Gunjit Khera

Currently a Computer Science student and a geek when it comes to Operating System and its concepts. Have 1+ years of experience in Linux and currently doing a research on its internals along with developing applications for Linux on python and C.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

6 Responses

  1. kde35 says:

    Hi, this is exactly what I was looking for, but, you have a couple of questions. i) you advise to unmount the partitions before changing labels for reiserfs, but not for ntfs or extfs. Did you just forget, or is it safe for these fs’s? ii) is there a cli utility to do this for hfs partition?

  2. Melvin G. Lewis says:

    1.) e2label has a missing forward slash in the example e.g. dev/sda1 instead of /dev/sda1.

  3. Good information, but title of article says “how to change partition label”, but then in your article you did not change partition label, you changed the file system label.

    partition label = msdos, gpt for example
    file system label = bigdaddy, officeshare, whatever

  4. Jalal Hajigholamali says:

    Thanks a lot
    Very useful article…

Got something to say? Join the discussion.

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.