Welcome!
Important information
-- Spectre and Meltdown vulnerabilities
-- Change in MX sources

News
-- MX Linux on social media: here
-- Mepis support still here

Current releases
-- MX-17.1 Final release info here
-- antiX-17 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

[Solved] About Renaming the partition

Help for Current Versions of MX
Post Reply
Message
Author
User avatar
vamsi
Forum Regular
Forum Regular
Posts: 453
Joined: Thu Apr 13, 2017 2:50 am

[Solved] About Renaming the partition

#1 Post by vamsi » Wed Dec 06, 2017 2:36 pm

I have 3 partitions on my Hard disk with blahblah name and i want to change the name of partition if ichange it through gparted will it erase all the data in the partition when i select to change the label

Thanks.. :happy: :happy:
Last edited by vamsi on Wed Dec 06, 2017 3:12 pm, edited 1 time in total.

User avatar
richb
Administrator
Posts: 17497
Joined: Wed Jul 12, 2006 2:17 pm

Re: About Renaming the partition

#2 Post by richb » Wed Dec 06, 2017 2:44 pm

vamsi wrote:I have 3 partitions on my Hard disk with blahblah name and i want to change the name of partition if ichange it through gparted will it erase all the data in the partition when i select to change the label

Thanks.. :happy: :happy:
Changing the label will do no harm. It is not the Name as gparted calls it, it is Label.
Forum Rules
Guide - How to Ask for Help

Rich
SSD Production: MX 17.1
AMD A8 7600 FM2+ CPU R7 Graphics, 16 GIG Mem. Three Samsung EVO SSD's 250 GB, 350 GB HD

User avatar
vamsi
Forum Regular
Forum Regular
Posts: 453
Joined: Thu Apr 13, 2017 2:50 am

Re: About Renaming the partition

#3 Post by vamsi » Wed Dec 06, 2017 2:47 pm

richb wrote:
vamsi wrote:I have 3 partitions on my Hard disk with blahblah name and i want to change the name of partition if ichange it through gparted will it erase all the data in the partition when i select to change the label

Thanks.. :happy: :happy:
Changing the label will do no harm. It is not the Name as gparted calls it, it is Label.
Oops :p :p yes you are right when i click on change label it is showing a message that the data on the partition may be lost then what is that

Thanks..

User avatar
richb
Administrator
Posts: 17497
Joined: Wed Jul 12, 2006 2:17 pm

Re: About Renaming the partition

#4 Post by richb » Wed Dec 06, 2017 3:00 pm

I have changed labels on a number of occasions without an issue. I think the error message is a standard caution whenever changes are made to partition information. Changing other parameters is more fraught with possible issues.
Forum Rules
Guide - How to Ask for Help

Rich
SSD Production: MX 17.1
AMD A8 7600 FM2+ CPU R7 Graphics, 16 GIG Mem. Three Samsung EVO SSD's 250 GB, 350 GB HD

User avatar
vamsi
Forum Regular
Forum Regular
Posts: 453
Joined: Thu Apr 13, 2017 2:50 am

Re: About Renaming the partition

#5 Post by vamsi » Wed Dec 06, 2017 3:11 pm

richb wrote:I have changed labels on a number of occasions without an issue. I think the error message is a standard caution whenever changes are made to partition information. Changing other parameters is more fraught with possible issues.
Okay if any problem occurs we have testdisk software ok i will give it a try

Thanks.. :happy:

User avatar
Richard
Posts: 2243
Joined: Fri Dec 12, 2008 10:31 am

Re: [Solved] About Renaming the partition

#6 Post by Richard » Wed Dec 06, 2017 3:29 pm

When you change the name of a partition,
you will have to edit /etc/fstab,
or the data it contains may appear to be lost, although it is only hidden.
Last edited by Richard on Wed Dec 06, 2017 3:44 pm, edited 1 time in total.
MX18b1: Lenovo T430: Intel Ivy Bridge i5-3320M, 8GB RAM, 4.9.0-8-amd64, 119 GB SSD
MX18b1: Eee&AA1 NBs: Dual Core Atom N270, 1GB RAM, 4.9.0-8-686, 150 GB HDD
DoubleCmd/Thunar, LibO613, Dropbox, Vivaldi/Firefox, CherryTree, Vbox. LinuxCounter #208633

User avatar
vamsi
Forum Regular
Forum Regular
Posts: 453
Joined: Thu Apr 13, 2017 2:50 am

Re: [Solved] About Renaming the partition

#7 Post by vamsi » Wed Dec 06, 2017 3:33 pm

Richard wrote:When you change the name of a partition,
you will have to edit /etc/fstab,
or the data it contains may appear to be lost, but it is only hidden.
Yes i will do that !

User avatar
richb
Administrator
Posts: 17497
Joined: Wed Jul 12, 2006 2:17 pm

Re: [Solved] About Renaming the partition

#8 Post by richb » Wed Dec 06, 2017 5:44 pm

Richard wrote:When you change the name of a partition,
you will have to edit /etc/fstab,
or the data it contains may appear to be lost, although it is only hidden.
We were talking about the partition label which does not appear in fstab. The UUID or device name does not change so no fstab change is required.
Forum Rules
Guide - How to Ask for Help

Rich
SSD Production: MX 17.1
AMD A8 7600 FM2+ CPU R7 Graphics, 16 GIG Mem. Three Samsung EVO SSD's 250 GB, 350 GB HD

User avatar
Richard
Posts: 2243
Joined: Fri Dec 12, 2008 10:31 am

Re: [Solved] About Renaming the partition

#9 Post by Richard » Wed Dec 06, 2017 11:32 pm

Apologies for not quoting.
I was addressing vamsi's original post.
#1 Post06 Dec 2017, 14:36
I have 3 partitions on my Hard disk with blahblah name and i want to change the name of partition if i havechange it through gparted will it erase all the data in the partition when i select to change the label
And yes, you are correct about the label.
I don't think you can change the partition name or mount point with gparted. I've never tried.
[...And maybe I read it too literally, and he really wants to change the label. In that case, all the rest of my post is superfluous.]

I always use a root file manager, unmount, then change the partition name, then edit fstab and reboot. If the file name existed before I sometimes have to remove the old name and reboot before the new name takes charge.

I use some non-standard names in /, for shorter path routes to type. Not recommend for general use.
MX18b1: Lenovo T430: Intel Ivy Bridge i5-3320M, 8GB RAM, 4.9.0-8-amd64, 119 GB SSD
MX18b1: Eee&AA1 NBs: Dual Core Atom N270, 1GB RAM, 4.9.0-8-686, 150 GB HDD
DoubleCmd/Thunar, LibO613, Dropbox, Vivaldi/Firefox, CherryTree, Vbox. LinuxCounter #208633

Post Reply

Return to “MX Help”