My EndeavourOS installation went perfectly and I am really pleased with it.
It was only later that I discovered that I had accidentally created a swap partition of 30GB instead of 2GB. I blame it on sausage fingers!
I can either:
(a) Get rid of my 32GB swap partition completely and give the whole of the 32GB to /home
OR
(b) Give 30GB to /home and create a new swap partition of 2GB.
In any event, I am fully aware that I first need to temporarily disable swap, edit /etc/fstab and remove the swap partition.
It is what happens next that is giving me considerable concern and where I need help.
I am happy using GParted Live for resizing partitions etc but I am concerned about the necessary changes for UUIDs, edits to /etc/fstab and GRUB amongst other things.
I really do not wish to end up with an unbootable device.
I think I would prefer option (a), but if option (b) is less hassle, then I will go with that.
By the way, I have 8GB of RAM and a 128GB SSD.
Your considered advice would be greatly appreciated.
I like option A since there are other swaps you can build down the road of the Z variety, etc. Listen the these gents ^^^ and dot the i’s and cross the t’s first.
I see you chose dos partition table for your disk. I think MS Surface Go 2 should support UEFI boot mode. Why not GPT disk?
If you had a GPT disk, systemd should have detected and activated your swap partition.
But you have a msdos disk. You need to make an entry for swap partition in /etc/fstab.
Regarding deleting the swap partition. I can see it is between your system(root) partition and home partition.
This makes things a little awkward if you want to add that space to home. You need to first delete the swap partition, move your home partition to left and finally expand it to the right.
Not impossible but little risky if you have lots of data on your home partition. These sort of operations, if gone bad, can cause data corruption or loss. Having a good backup is a must.
If you have the possibility, my suggestion is to reinstall. This time make a GPT disk. I think you can already choose swapfile in the installer. It is easy to make one after installation too.