Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16

Thread: Can't change partition name in GParted

  1. #11
    Join Date
    May 2013
    Location
    Galiza
    Beans
    4,010
    Distro
    Ubuntu

    Re: Can't change partition name in GParted

    It depends.

    What exactly are you trying to do? Please explain that in detail, NOT what you think is a solution, the typical X-Y problem...

  2. #12
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Can't change partition name in GParted

    There now are two labels, if using gpt, file system & partition (partlabel).

    For ext4 formatted partitions, other tools for other formats:
    http://askubuntu.com/questions/27691...ame-partitions
    Easy way to label partitions
    System> Admin.> Disk Utility

    WARNING: mke2fs will reformat your partition and set a label at the same time. This will delete any data on the target partition.

    To see labels:
    lsblk -o name,fstype,size,fsused,label,partlabel,mountpoint

    To set a label without reformatting use e2label or tune2fs
    1. Make a label and format Do not use unless new partition:
    # mke2fs -L <label> <dev>
    2. Make a label
    e2label <dev> <label>
    tune2fs -L <label> <dev>
    sudo e2label /dev/sdb8 groovy
    sudo e2label /dev/sda4 focal

    For gpt partition's label you can use gdisk. see
    man gdisk

    sudo gdisk /dev/sda
    Command (? for help): c
    Partition number (1-7): 6
    Enter name: kubuntu
    w to write change


    Shows other tools also:
    https://help.ubuntu.com/community/RenameUSBDrive
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  3. #13
    Join Date
    Dec 2020
    Beans
    9

    Re: Can't change partition name in GParted

    all I'm trying to do is install Ubuntu on my external hard disk, but can't proceed as I can't name the partition, so can you share a tutorial on youtube which would help me install ubuntu
    Thanks for sticking lol

  4. #14
    Join Date
    Dec 2020
    Beans
    9

    Re: Can't change partition name in GParted

    Thankssssssss

  5. #15
    Join Date
    Dec 2020
    Beans
    9

    Re: Can't change partition name in GParted

    Finally found the correct phrase for it: I want to map a name to the partition!!!! Finallllyyyyy

  6. #16
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Can't change partition name in GParted

    If UEFI & gpt partitioning, you have to partition in advance.
    Are you now discussing mklabel which is different than labeling a partition.
    That is labeling a drive as either the 40 year old MBR (msdos) partitioning used with BIOS or the newer gpt partitioning used with UEFI (and with Linux can be used with BIOS also).

    This erases drive and converts it to gpt partitioning for UEFI type installs.
    sudo parted /dev/sdaX mklabel gpt # where sdX is your drive like sdb, sdc etc, not a partition like sdc5

    You can also use gparted but must change default partitioning first.
    Select gpt under device, advanced over msdos(MBR) default partitioning before starting.

    See link below in my signature for lots more info & links to even more details.

    Install Ubuntu in UEFI mode on second HDD without affecting first HDD
    http://ubuntuforums.org/showthread.php?t=2305876 &
    https://askubuntu.com/questions/7869.../942312#942312 &


    Note with UEFI installs, Ubuntu's Ubiquity installer only wants to install grub to first drive's ESP.

    https://askubuntu.com/questions/1296...296153#1296153
    Posted work around to manually unmount & mount correct ESP during install #23 & #26
    https://bugs.launchpad.net/ubuntu/+s...y/+bug/1396379
    Others suggest disconnecting all other drives physically or logically in UEFI settings, so install drive is first drive.
    Or removing boot flag/esp flag from first drive, so only ESP is install drive. (I have not had that work, but others have.)
    Or if you have ESP on second or external drive, you can just reinstall grub, either manually or using Boot-Repair's advanced mode & full reinstall to correct drive.
    Attached Images Attached Images
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

Page 2 of 2 FirstFirst 12

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •