On 12/1/24 9:08 PM, Robin Laing wrote:
Hello,
On upgrade to Fedora 41, I got stuck due to lack of space on "/"
partition. I had an unused partition that was more than double the size
of the present root partition.
I rsyncd the data across to the new partition
sudo rsync -avPAHXx --numeric-ids --exclude="lost+found" -
exclude="home" --exclude="boot" / /mnt/TEMP/
The above line was recommended on a web page.
That might work, but you'll have to force a relabel at boot and probably
need selinux not enforcing. You'll need to change the UUID in the fstab
and the kernel command line.
I made sure the partition was in the crypttab file.
It's encrypted? That's an extra layer of trouble for changes.
I did other stuff and finally changed /etc/default/grub to point to the
new partition and remade the grub.cfg file.
That's not enough. You have to change the bootloader entries as well.
There must be an "official" procedure to do this.
There is no official procedure.
The easy way is to boot a live image and use gparted to either copy the
root partition to the other partition (and wipe the original one) or if
the partitions are adjacent, you can remove the larger partition and
resize the root partition to take the space.
--
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue