Announcement

Collapse
No announcement yet.

[SOLVED]Labeling Partition?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [SOLVED]Labeling Partition?

    Hi All,

    I have quite much partitions. I want to label them, so I can identify them a lot easier.
    I have tried to do that with Partition Manager but I could not find option for labelling partition.

    Is there any application for partition labelling?
    At gnome I use gparted, and what is similar application in KDE?

    #2
    Re: Labeling Partition

    you can simply use gparted with kde if you want. (incase you didn't know).

    there is also a system settings "plugin" call partition manager.
    (sudo apt-get install partitionmanager). this is basicly a qt front end for parted (the back end gparted uses)
    Mark Your Solved Issues [SOLVED]
    (top of thread: thread tools)

    Comment


      #3
      Re: Labeling Partition

      First, list the partition tables: sudo fdisk -l
      Code:
      ubuntuku@satellite:~$ sudo fdisk -l                                                    
                                                                             
      Disk /dev/sda: 200.0 GB, 200049647616 bytes                                                 
      255 heads, 63 sectors/track, 24321 cylinders                                                 
      Units = cylinders of 16065 * 512 = 8225280 bytes                                               
      Sector size (logical/physical): 512 bytes / 512 bytes
      I/O size (minimum/optimal): 512 bytes / 512 bytes
      Disk identifier: 0xfb589fc4
      
        Device Boot   Start     End   Blocks  Id System
      /dev/sda1  *      1    6178  49616864+  7 HPFS/NTFS
      /dev/sda2      11857    24322  100127417+  5 Extended
      /dev/sda3      6751    11856  41009152  83 Linux
      /dev/sda4      6178    6751   4606976  7 HPFS/NTFS
      /dev/sda5      11857    18840  56098948+  7 HPFS/NTFS
      /dev/sda6      18841    18962   979933+ 82 Linux swap / Solaris
      /dev/sda7      18963    24322  43048471+ 83 Linux
      show current label: sudo e2label device
      Code:
      ubuntuku@satellite:~$ sudo e2label /dev/sda3
      LINUX
      change the label: sudo e2label device newlabel
      Code:
      sudo e2label /dev/sda3 myporncollection
      ASROCK Z87 Pro4 - i5 4670K - R9 270x ☞ Triple Boot: KDE NEON ★ Windows 10 ★ Windows 7

      Comment


        #4
        Re: Labeling Partition

        Originally posted by sithlord48
        you can simply use gparted with kde if you want. (incase you didn't know).

        there is also a system settings "plugin" call partition manager.
        (sudo apt-get install partitionmanager). this is basicly a qt front end for parted (the back end gparted uses)
        Gparted has g on it, i think i prefer something with k on kubuntu
        Partition Manager is installed by default and I don't see option for labeling partition

        Originally posted by ubuntuku
        First, list the partition tables: sudo fdisk -l
        Code:
        ubuntuku@satellite:~$ sudo fdisk -l                                             
        
        change the label: [b]sudo e2label device newlabel[/b] 
        [code]
        sudo e2label /dev/sda3 myporncollection
        [/code]
        Code:
        Wow, I learn something new today!
        I didn't know if this job can be done easily from command line ;)
        
        Nice label, I will use it for my next partition :P
        And nice website, I will surely read it for improving my Kubuntu Fu  8)

        Comment


          #5
          Re: Labeling Partition

          In the default (KDE) Partition Manager application you should be able to change the label of a partition through the Properties dialog.
          Kubuntu 20.04(AMD64)/KDE 5

          Comment


            #6
            Re: Labeling Partition

            FYI for ntfs file system you need to use ntfslabel command, and mlabel for fat16/32. See manpage for details:
            Code:
            man ntfslabel
            man mlabel
            you should also read here: https://help.ubuntu.com/community/RenameUSBDrive
            ASROCK Z87 Pro4 - i5 4670K - R9 270x ☞ Triple Boot: KDE NEON ★ Windows 10 ★ Windows 7

            Comment


              #7
              Re: Labeling Partition

              Some filesystems vary on how you label them, for example btrfs cannot be labeled except at creation.

              Please Read Me

              Comment


                #8
                Re: Labeling Partition

                Originally posted by quarkslot
                In the default (KDE) Partition Manager application you should be able to change the label of a partition through the Properties dialog.
                OMG!, yes it's there. At the first line!
                How could I missed that...
                Thanks for telling me.

                Originally posted by ubuntuku
                FYI for ntfs file system you need to use ntfslabel command, and mlabel for fat16/32. See manpage for details:
                Code:
                man ntfslabel
                man mlabel
                you should also read here: https://help.ubuntu.com/community/RenameUSBDrive
                Originally posted by oshunluvr
                Some filesystems vary on how you label them, for example btrfs cannot be labeled except at creation.
                I started this thread because of my silly mistake
                But thanks for you guys, I learn a lot from this.
                Attached Files

                Comment

                Working...
                X