When I performed the GUI-based installation process of OpenSUSE Tumbleweed, I selected all 2 of my drives in Guided Partitioning. After I confirmed that I wanted both drives prepared (and thus wiped) it explained that it would place the swap partition on the secondary drive.
I neglected to read this. I do not want this configuration, because I want to use my secondary drive as a personal data-only drive for the purposes of safety.
Consequently, can KDE partitionmanager be used to dynamically resize the live system drive in order to transfer the SWAP partition to it? It seems like it would be a complex process, but I don’t know of any reason why it would be fundamentally impossible. If I should use a live image for this, I can, although that would be somewhat inconvenient.
Thanks lots. Apologies if this is somehow not the correct tool.
To be honest, having swap on a different drive than the OS is actually better - if you need to use it, it won’t slow things down to a crawl, or at least nowhere nearly as much.
I doubt you will be able to resize the partition while booted, with Partition Manager, GParted, or any command line tools. iirc the partitions in question need to be un-mounted. This is a general Linuxy thing, not related to any distro or desktop, at least for shrinking one to be able to create space.
You can also use a swap file instead of a partition, which does not involve re-partitioning at all. Put it wherever you wish.
Since this is on an NVME drive, wouldn’t you prefer to have a swap file instead of a partition that will write over the same spots over and over? The file can be moved around by the drive controller and avoid the repeated overwrites.
KDE Partition Manager will do what you need. Just highlight the swap partition and delete it. Then resize the other partition to take up that space.
You can shrink the partition on the other drive as much as you need and then put in a new partition and set it up as Swap. There are some things you cannot do to a drive “live,” but it can do this for you. It’s a pretty large drive and you are not shrinking the partition very much.
If you do decide to go the Swap File route, You can do it with zram. You will need the 3 following packages and you will probably have to go into services and set systemd-zram-service to start at boot.