renaming partition

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read this

renaming partition

Postby mohammad_gouda on Tue Aug 26, 2008 2:29 pm

How to rename partitions? I created a new ntfs partition and it was named "16 gb media" by default , how can i rename it?
mohammad_gouda
Level 1
Level 1
 
Posts: 7
Joined: Sat Aug 16, 2008 12:16 pm

Linux Mint is funded by ads and donations.
 

Re: renaming partition

Postby Acid_1 on Wed Aug 27, 2008 2:45 am

I don't think you do... sorry mate. 8)
Website: Forkwhilefork
User avatar
Acid_1
Level 5
Level 5
 
Posts: 817
Joined: Thu Nov 01, 2007 11:12 pm
Location: Saskatchewan, Canada

Re: renaming partition

Postby Missed on Wed Aug 27, 2008 4:30 am

mohammad_gouda wrote:How to rename partitions? I created a new ntfs partition and it was named "16 gb media" by default , how can i rename it?


If you have windows, use that to rename it. (In "my computer").
Missed
Level 2
Level 2
 
Posts: 74
Joined: Thu Sep 06, 2007 4:46 am
Location: New Zealand

Re: renaming partition

Postby Acid_1 on Wed Aug 27, 2008 6:53 pm

but doesn't it still show up as Xgb partition in Linux?
Website: Forkwhilefork
User avatar
Acid_1
Level 5
Level 5
 
Posts: 817
Joined: Thu Nov 01, 2007 11:12 pm
Location: Saskatchewan, Canada

Re: renaming partition

Postby Missed on Thu Aug 28, 2008 4:04 am

Acid_1 wrote:but doesn't it still show up as Xgb partition in Linux?


I renamed my second HD as 80GBACKUP, and my windows drive (C) as WINDOZE, by using "rename" in "my computer", and that is what they show up as in Mint. I think you may be stuck with upper case, but it works. Try it!
Missed
Level 2
Level 2
 
Posts: 74
Joined: Thu Sep 06, 2007 4:46 am
Location: New Zealand

Re: renaming partition

Postby jordan on Thu Aug 28, 2008 3:17 pm

mohammad_gouda wrote:How to rename partitions? I created a new ntfs partition and it was named "16 gb media" by default , how can i rename it?


Try this out:

1. Open a terminal and type in:

Code: Select all
sudo fdisk -lu


This is will bring up a list of your devices. A specific partion device output should be similar to this:

Code: Select all
Disk /dev/sdb: 1015 MB, 1015021568 bytes
32 heads, 61 sectors/track, 1015 cylinders, total 1982464 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0xfc88d38b

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1              61     1981279      990609+  83  Linux


2. Find your partition with this information (You will see all your partition info, I posted only one information for one partition for the example):

A number should follow it. In my example above mine would is the following:

Code: Select all
/dev/sdb1


4. Rename it using that info by typing this into terminal:

Code: Select all
e2label /dev/sdb1 myNewPartionNameHere


Sometime you have to unmount it then remount it to see the change.
jordan
Level 1
Level 1
 
Posts: 40
Joined: Mon Jun 02, 2008 5:45 pm

Re: renaming partition

Postby Acid_1 on Thu Aug 28, 2008 5:37 pm

Sweet I think I'll do that for my . Thanks man
User avatar
Acid_1
Level 5
Level 5
 
Posts: 817
Joined: Thu Nov 01, 2007 11:12 pm
Location: Saskatchewan, Canada

Linux Mint is funded by ads and donations.
 

Return to Newbie Questions

Who is online

Users browsing this forum: Bing [Bot], scryan, slipstick and 25 guests