I’ve installed Fedora 38 with an encrypted system partition since I’ll be traveling with my device. OS is running fine but now I’d like to have a more human readable label in dolphin for that partition. All renaming attempts in the terminal with “e2label” and “btrfs filesystem label” failed. The KDE partition manager didn’t help either. Disks at least shows me the option to add a label, but can’t unmount the partition to do so (Error unmounting, udisks-error-quark, 14).

Does anyone have any experience and would like to share?

  • axzxc1236@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    You probably need to do this with a live system (not using a system that is on the partition you want to rename)

  • Fryboyter@discuss.tchncs.de
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    Changing the label should also work during operation.

    For example, it should be sufficient to run sudo btrfs filesystem label / newlabel to change the label of the root partition (/) to newlabel.

    If I’m not mistaken (can’t test it right now), you have to specify the mountpoint when the partition is mounted. And in unmounted state the device (e.g. /dev/sda).

    • ISOmorph@feddit.deOP
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      sudo btrfs filesystem label

      I did do just that to no avail. No error message either. I managed to find this however:

      I do not know what “lsblk requires a udevadm trigger” means but I’ll look into it