On 3/2/23 16:33, Adam Mizerski wrote:
W dniu 2.03.2023 o 21:49, Frank McCormick pisze:
I want to enlarge the file system on my Tumbleweed partition and even after Googling the situation, I feel the whole
procedure is definitely above my pay grade :)
//snip//
What is the best way to go about this? Partitions can be enlarged by appending free space at the end. If you want to delete sda5 and enlarge sda6, that's not directly supported. You can instead try to copy your sda6 to sda5 (using dd command; you're lucky that sda5 is not smaller than sda6) and then delete sda6 and enlarge sda5.
I assume that after the copy I'd have to update grub otherwise it would refer to the old installation.
Some filesystems can be enlarged even when mounted. ext4, btrfs, xfs and many others can do.
Before doing anything make sure to have a backup of important data. Also make sure that in /etc/fstab and /etc/default/grub there are no "/dev/sda*" but UUID. Otherwise your system will not boot if "/dev/sda*" numbering changes.
/etc/fstab is all UUID.
I suggest using YaST2 Partitioner or gparted. They make life easier.
To perform your changes from external system, I have 2 suggestions: - openSUSE Rescue LiveCD (go to https://get.opensuse.org/tumbleweed/ , select "Download" and then "Alternative Downloads") - SystemRescueCd https://www.system-rescue.org/ I now have openSUSE rescue on a flashdrive...
And for the future I suggest using LVM (you can't use it now, because you would need to wipe the whole disk). With it you wouldn't need to worry about partitions order.
I'll keep it in mind for next time. Thanks for all that information.