Author Topic: Labeling A Drive  (Read 1784 times)

Offline Georgetoon

  • Hero Member
  • *****
  • Posts: 3187
  • Don't rush the bacon.:)
    • Georgetoon Cartoons!
Labeling A Drive
« on: February 05, 2010, 08:46:53 AM »
I'm running PCLinuxOS KDE4 and have three SATA drives plugged into an Icy dock.  The first is running PCLinuxOS.  No issue or question there.

However, the two storage drives come up as "NTFS" and "VFAT."  The NTFS drive has WinXP on it.  This is merely for an emergency need for the accounting package I need for the family business.  I run WinXP in Virtualbox and it's amazing! 

The second drive is a Fat32 drive for files.

I'd like to label these drives so I know what I'm looking at.  I'd also like to lable the drives on the eSATA drive I have. I have two partitions there.  One is Fat32 and the other is EXT3.

Is there a way to label all these drives so when my system boots I can see what each drive is?  I'd like to give them common names like "Large Storage Drive", "Windows", "eSATA Fat32 Drive", etc.
Toonfully,

Mark
-----------
Lenovo 14" ThinkPad Edge (0578F5U) with Core i3 Processor(i3-370M) 2.40 GHz 4GB RAM
Acer Aspire 9300 Laptop
Desktop Icy Dock system with AMD PHENOM X4 QUADCORE 9650 2.3GHZ 4MB L1 , ‎NVidia GEFORCE 9400GT 1GB 2X DVI PCIE graphics card, 22" Chimei monitor.

Offline Was_Just19

  • Hero Member
  • *****
  • Posts: 6852
  • MLU
Re: Labeling A Drive
« Reply #1 on: February 05, 2010, 08:52:54 AM »
First I recommend that all names used are either one word or use underscore between words to attempt to keep compatibility.

It is not the "drives" that will be named, but the partitions, So if a drive has several partitions each will have a LABEL.

ext partitions can be labelled using

e2label  <device>  <name>

Also check out
ntfslabel

man:ntfslabel
man:e3label

typed into the Konqueror location bar will give the manual for each.

regards.

EDIT
            For VFAT partitions you might look at   mkfs.vfat  -n   <label>  option .........  I have never used this .....

Alternatively using Qparted you may be able to set the labels of the partitions ........

.
« Last Edit: February 05, 2010, 09:05:26 AM by JohnBoy »

Offline YouCanToo

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 5331
  • Location: Lebanon, OR., USA
    • Spreading the word.......
Re: Labeling A Drive
« Reply #2 on: February 05, 2010, 10:21:27 AM »
I do believe that you can do the same thing by going into PCC and choosing "Local Disks" and than selecting "Manage Disk Partitions"  than in the bottom right corner select "Toggle to Expert Mode"  Click on the partition that you want to add the label to. On the right hand side you will find a button "Label"   Just follow the instructions on screen.




Be sure to visit the NEW Knowledge Base


Linux is user-friendly- it's just picky who its friends are!

Offline Was_Just19

  • Hero Member
  • *****
  • Posts: 6852
  • MLU
Re: Labeling A Drive
« Reply #3 on: February 05, 2010, 10:31:49 AM »
I do believe that you can do the same thing by going into PCC and choosing "Local Disks" and than selecting "Manage Disk Partitions"  than in the bottom right corner select "Toggle to Expert Mode"  Click on the partition that you want to add the label to. On the right hand side you will find a button "Label"   Just follow the instructions on screen.


I have never been able to apply a Label to a partition using this method without completely formatting the partition at the same time.
Without formatting the Label has never been written for me.

Maybe it is a problem with my install, so I would be interested to hear if it works for others without formatting the partition.

..... over to you ......   ;)

Offline Bald Brick

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6377
  • I'm going South
Re: Labeling A Drive
« Reply #4 on: February 05, 2010, 12:07:02 PM »
I do believe that you can do the same thing by going into PCC and choosing "Local Disks" and than selecting "Manage Disk Partitions"  than in the bottom right corner select "Toggle to Expert Mode"  Click on the partition that you want to add the label to. On the right hand side you will find a button "Label"   Just follow the instructions on screen.


I have never been able to apply a Label to a partition using this method without completely formatting the partition at the same time.
Without formatting the Label has never been written for me.

Maybe it is a problem with my install, so I would be interested to hear if it works for others without formatting the partition.

..... over to you ......   ;)

It works for me, but for the system to recognize the label I have to reboot. At any rate restarting the haldaemon is not enough.

Also note that I've never tried to label a mounted partition.
« Last Edit: February 05, 2010, 08:32:16 PM by blackbird »
Feed the trolls!
They need it!

AMD Athlon 7450 Dual-Core Processor, 7.80 GiB RAM, Nvidia GeForce GT 120/PCIe/SSE2, OpenGL/ES-version: 3.3 0 NVIDIA 295.40, SBx00 Azalia (Intel HDA) soundcard, ‎Logitech B500 webcam, SAA7146 DVB card, HDDs: Seagate 250824AS, Western Digital WD10EAVS-00D

Offline Was_Just19

  • Hero Member
  • *****
  • Posts: 6852
  • MLU
Re: Labeling A Drive
« Reply #5 on: February 05, 2010, 12:40:24 PM »

It works for me, but for the system to recognize the label I have to reboot. At least restarting the haldaemon is not enough.

Also note that I've never tried to label a mounted partition.


Thank you  .....  it has been a while since I tried this, and yes indeed it works here for me now.
I haven't done anything I did not do previously, so whatever was the problem it seems it was only with my install and has been corrected.

Thanks for forcing me to try this again and showing me it can be done.

regards.   ;)

Offline Georgetoon

  • Hero Member
  • *****
  • Posts: 3187
  • Don't rush the bacon.:)
    • Georgetoon Cartoons!
Re: Labeling A Drive
« Reply #6 on: February 05, 2010, 12:47:40 PM »
So, do I need to unmount the drive before labeling?
Toonfully,

Mark
-----------
Lenovo 14" ThinkPad Edge (0578F5U) with Core i3 Processor(i3-370M) 2.40 GHz 4GB RAM
Acer Aspire 9300 Laptop
Desktop Icy Dock system with AMD PHENOM X4 QUADCORE 9650 2.3GHZ 4MB L1 , ‎NVidia GEFORCE 9400GT 1GB 2X DVI PCIE graphics card, 22" Chimei monitor.

Offline Was_Just19

  • Hero Member
  • *****
  • Posts: 6852
  • MLU
Re: Labeling A Drive
« Reply #7 on: February 05, 2010, 12:54:51 PM »
So, do I need to unmount the drive before labeling?

I used a USB drive and I was able to change the Label with the drive mounted or unmounted.

Either way, the new Label only showed after I Safely Removed the device and plugged it in again.
So for internal drives a reboot would be needed for the new Label to register I would suggest.

regards.

Offline sammy2fish

  • Hero Member
  • *****
  • Posts: 3286
  • from the Prairies... Canadian MLU
Re: Labeling A Drive
« Reply #8 on: February 05, 2010, 01:28:58 PM »
There are several variables here...

I dual-boot between windows & PCLinuxOS.  PCLOS is quite good on picking up the labels/names you give to the partitions in windows... (presuming that windoze was installed first).

As mentioned, use underscores or hyphens in the name in windows, and no re-naming in Linux will be required.

After that, it's just a matter of setting up permissions.  Many here, I'm sure can help you with that, if needed... :)
One of the few things I've learnt as growing older.  Is to choose your battles.. but never loose sight of the war..!

Offline Georgetoon

  • Hero Member
  • *****
  • Posts: 3187
  • Don't rush the bacon.:)
    • Georgetoon Cartoons!
Re: Labeling A Drive
« Reply #9 on: February 05, 2010, 05:33:15 PM »
Thanks, guys. Labels option is not coming up for the partitions/drives i'd like to label...not sure why.  I'll continue to investigate.
Toonfully,

Mark
-----------
Lenovo 14" ThinkPad Edge (0578F5U) with Core i3 Processor(i3-370M) 2.40 GHz 4GB RAM
Acer Aspire 9300 Laptop
Desktop Icy Dock system with AMD PHENOM X4 QUADCORE 9650 2.3GHZ 4MB L1 , ‎NVidia GEFORCE 9400GT 1GB 2X DVI PCIE graphics card, 22" Chimei monitor.

Offline Archie

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8583
  • Aurum nostrum non est aurum vulgi.
Re: Labeling A Drive
« Reply #10 on: February 05, 2010, 07:15:09 PM »
Have you tried Dolphin with the mounted partitions then right clicking on the partition you want to label and selecting edit?
Since 2006 | LiCo 401868 | Bare Metal | What is necessary is never unwise. --Sarek, 2258.42


Offline Georgetoon

  • Hero Member
  • *****
  • Posts: 3187
  • Don't rush the bacon.:)
    • Georgetoon Cartoons!
Re: Labeling A Drive
« Reply #11 on: February 05, 2010, 08:24:12 PM »
Have you tried Dolphin with the mounted partitions then right clicking on the partition you want to label and selecting edit?

I tried this just now in root. I got the following message:

"Could not start process Cannot talk to klauncher: The name org.kde.klauncher was not provided by any .service files."
Toonfully,

Mark
-----------
Lenovo 14" ThinkPad Edge (0578F5U) with Core i3 Processor(i3-370M) 2.40 GHz 4GB RAM
Acer Aspire 9300 Laptop
Desktop Icy Dock system with AMD PHENOM X4 QUADCORE 9650 2.3GHZ 4MB L1 , ‎NVidia GEFORCE 9400GT 1GB 2X DVI PCIE graphics card, 22" Chimei monitor.

Offline Was_Just19

  • Hero Member
  • *****
  • Posts: 6852
  • MLU
Re: Labeling A Drive
« Reply #12 on: February 06, 2010, 02:50:20 AM »
Thanks, guys. Labels option is not coming up for the partitions/drives i'd like to label...not sure why.  I'll continue to investigate.

In PCC - Local Disks - Manage Disk Partitions  ........  be sure to select 
Toggle to Expert Mode

and when finished in there select
Done

Offline Georgetoon

  • Hero Member
  • *****
  • Posts: 3187
  • Don't rush the bacon.:)
    • Georgetoon Cartoons!
Re: Labeling A Drive
« Reply #13 on: February 06, 2010, 09:18:13 AM »
Thanks, guys. Labels option is not coming up for the partitions/drives i'd like to label...not sure why.  I'll continue to investigate.

In PCC - Local Disks - Manage Disk Partitions  ........  be sure to select 
Toggle to Expert Mode

and when finished in there select
Done

Yes. i toggled expert mode. I'm only getting the label optionfor the local drive that PCLinux resids on.  the other two SATA drives are not giving me this opton.

Or, I simply do not understand how the disks and partitions are formatted. 

It's not  big deal. I know where everything is. it'd just be nice to have a more familiar label.
Toonfully,

Mark
-----------
Lenovo 14" ThinkPad Edge (0578F5U) with Core i3 Processor(i3-370M) 2.40 GHz 4GB RAM
Acer Aspire 9300 Laptop
Desktop Icy Dock system with AMD PHENOM X4 QUADCORE 9650 2.3GHZ 4MB L1 , ‎NVidia GEFORCE 9400GT 1GB 2X DVI PCIE graphics card, 22" Chimei monitor.

Offline pirate

  • Hero Member
  • *****
  • Posts: 523
  • aka-pirate
Re: Labeling A Drive
« Reply #14 on: February 06, 2010, 09:27:06 AM »
The easiest way for me to add labels is with Gparted. unmound then add label..do from live cd or different install
The best way to save face is keep the bottom half shut.