You are not logged in.
i have a Gpt partitioned disk. I recently started getting these journal entries:
Device dev-disk-by\x2dpartlabel-Basic\x5cx20data\x5cx20partition.device \ appeared twice with different sysfs paths
I would like to change the PARTLABEL via gdisk to eliminate these log entries by using gdisk 'c' command.
when I get to the point to save my changes in gdisk, i get the usual warning:
About to write GPT data. THIS WILL OVERWRITE EXISTING PARTITIONS!!
will the data on this existing partition be safe or will it be lost if I proceed?
Last edited by hamhock (2016-04-23 19:18:47)
Offline
Changing the label won't trash the data. I've done it, and for the same reason you are.
Offline
Changing the label won't trash the data. I've done it, and for the same reason you are.
that's good to hear. I'll give it a try as soon as I get over my paranoia of doing it.
Offline
You don't have to use gdisk or similar 'overkill' to change partition label.
e2label for ext2/3/4, dosfslabel for FAT, ntfslabel, and so on for other file systems.
Offline
You don't have to use gdisk or similar 'overkill' to change partition label.
e2label for ext2/3/4, dosfslabel for FAT, ntfslabel, and so on for other file systems.
That will change the filesystem label. The partlabel is different.
Offline
Hmm, somehow I was convinced that they're the same. Thanks for the correction.
Offline
i can confirm that changing a partition's name via gdisk is safe.
Offline