12
submitted 1 year ago by ISOmorph@feddit.de to c/linux@lemmy.ml

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?

top 3 comments
sorted by: hot top controversial new old
[-] axzxc1236@lemmy.world 2 points 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 1 points 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.de 1 points 1 year ago* (last edited 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:

"btrfs filesystem show" works. I do not know what "lsblk requires a udevadm trigger" means but I'll look into it

this post was submitted on 29 Jun 2023
12 points (92.9% liked)

Linux

46611 readers
1027 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS