Trouble changing the name of my the p3 partitions.

One of my partitions is "bazzite-nvidia_modem" . I tried to change this in the kde partition manager, but got this: Set label for partition ‘/dev/nvme0n1p3’ from "bazzite-nvidia_modem" to "bazzite" Job: Set the file system label on partition ‘/dev/nvme0n1p3’ to "bazzite" Command: btrfs filesystem label /sysroot bazzite Set the file system label on partition ‘/dev/nvme0n1p3’ to "bazzite": Error Set label for partition ‘/dev/nvme0n1p3’ from "bazzite-nvidia_modem" to "bazzite": Error
8 Replies
HikariKnight
HikariKnight2mo ago
you cannot be booted from the partition you change the label of. get a live usb and change the label when booted from that
asen23
asen232mo ago
is that a thing? i think i changed mine without live cd
HikariKnight
HikariKnight2mo ago
Filesystem limitation from what I remember. There are some that can relabel while mounted but most can't (since your disk might be mounted "by label" which will then be invalid and removed once you rename)
asen23
asen232mo ago
Arent bazzite mounting sysroot using uuid
HikariKnight
HikariKnight2mo ago
Yes but I believe it's more a "just don't allow it on mounted partitions just in case"
asen23
asen232mo ago
so this worked
sudo btrfs filesystem label / "New Label"
sudo btrfs filesystem label / "New Label"
i tried it on vm and it works after reboot, i've done it to my system few month ago using partition manager(tried now and it wont work too), but this possess some risk and i recommend backing up any important data Oh, I just noticed the guy aren't here anymore lol
HikariKnight
HikariKnight2mo ago
partition managers probably use mklabel or something
asen23
asen232mo ago
I think they tried to set label to /sysroot which is read only and failed
Want results from more Discord servers?
Add your server