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
you cannot be booted from the partition you change the label of.
get a live usb and change the label when booted from that
is that a thing? i think i changed mine without live cd
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)
Arent bazzite mounting sysroot using uuid
Yes but I believe it's more a "just don't allow it on mounted partitions just in case"
so this worked
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
partition managers probably use mklabel or something
I think they tried to set label to /sysroot which is read only and failed