You are not logged in.

#1 2020-10-03 00:31:26

mcsimenc
Member
Registered: 2019-06-22
Posts: 16

[SOLVED] Possible to increase swap and keep current Arch installation?

This is probably a naive question, but is it possible to backup my current Arch installation, repartition the disk to increase my swap, then reinstate the backed up installation on the new partition?

Last edited by mcsimenc (2020-10-03 02:21:39)

Offline

#2 2020-10-03 01:10:53

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,516
Website

Re: [SOLVED] Possible to increase swap and keep current Arch installation?

Of course, why not?  But you would need to update anything (e.g., fstab and bootloader config) that refers to the partition UUID, and there are most likely better ways to acheive your goals.

You could likely just shrink the existing partition - though this depends a bit on the order / placement of the partitions.

But better yet would be to use a swap file instead of a swap partition unless there is some reason you need an actual partition for swap - there are fewer and fewer (if any remaining) reasons that swap would need to be on it's own partition.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2020-10-03 02:20:56

mcsimenc
Member
Registered: 2019-06-22
Posts: 16

Re: [SOLVED] Possible to increase swap and keep current Arch installation?

Great thank you! I will use a swap file.

Offline

Board footer

Powered by FluxBB