3

I am using GParted.

It shows partition name and a label.

I found their difference in What is the difference between a name and a label in gparted?

I found how to change Partition label in How do I change the “label” reported by lsblk?

I want to change Partition Name stored in the partition table (not label). How can I do that?

Ahmad Ismail
  • 2,478
  • 1
  • 22
  • 47
  • 1
    [Naming a Partition - GParted Manual](https://gparted.org/display-doc.php?name=help-manual#gparted-name-partition) – frostschutz Jul 08 '19 at 14:12

1 Answers1

2

A) Make a list of partitions with lsblk -o NAME,FSTYPE,LABEL,SIZE,MOUNTPOINT

B) Unmount the partition with umount /xyz -l where /xyz is the partition to change. If it's your boot partition you wish to rename, well, boot with a LiveUSB. The process for making a LiveUSB will vary depending on your distro, but here's a Windows and Ubuntu process.

C) Launch gparted and do Choose: Partition then pick /xyz and select Name Partition which will show Set partition name in the /path-to-partition dialog.

D) Type in the name you want to use, then Apply the change.

E) Remount the partition with /mount /newname -l.

K7AAY
  • 3,696
  • 4
  • 22
  • 39