Hi again @pebcak
Sorry i was distracted and pressed post before i’d uploaded the files.
They should be there now as per the orig post.
sudo parted -l
and the fstab entry for the swap partition should already be uploaded.
Yes, i want a swap partition (as per the entry in the uploaded fstab).
I normally set a swap partition during the install and with prev distro’s it’s just been there. This time i was surprised to see it wasn’t there - today!
So after changing the “0 0” entries to “0 2” for the swap in fstab and rebooting (rem this all started with me trying to stop this check).
Then changing it back to “0 0” and rebooting again …it’s around here that i “noticed” that it wasn’t using the swap partition.
After looking at fstab, shouting at it and generally getting frustrated, i took this positive step, i started gparted, looked, pondered then i set “swapon”. Gparted presumably wiped the drive (maybe reformatted it even though the part was already formatted before the install as type “swap”) then it showed as “swapon”. Before i closed gparted i cli’d a quick “swapon --show” command and i showed as on at this point.
When i set the swap as on in gparted it must have reformatted the partition as the UUID is now different.
A far i i was concerned it was job done but i wanted to make sure that it would still be there after a reboot. I also wondered if it was still going to do the check.
So i rebooted and the swap file vanished - after again doing the check i didn’t want.
my arthritic fingers were faster than my brain tonight - i clicked “post” before i’d uploaded the stuff i’d intended to…DUH.
I’ll have to read your link tomorrow …sorry.
However, hopefully there should be enough details already uploaded (rather belatedly) .
Hi again @pycrk.
The fstab entry you show is what i am using except the i am using the UUID=<…> instead of /swapfile.
Isn’t UUID preferred in fstab? I had seen some posts using /swapfile but i had assume that, as the UUID was recommended for fstab generally then /swapfile was probably the “old” way of doing it.
TBH i’ve used the UUID for swap since i first started using UUID - all for one and one for all ’ ’
Attached is my previous distro’s fstab entry:
Also, with the greatest respect, the link you posted shows this:
Which is exactly what is in my fstab.
That Einstein moment:
As i was typing i realised that gparted changed the UUID then switched the swapon.
HOWEVER, i did NOT change the UUID to the new one that gparted had just created before i rebooted.
Therefore, after the reboot, as fstab showed what is now a nonexistent UUID then the boot process would not have been able to use it as a swap drive.
Maybe i’ve sorted that part of the problem… to be tested!!!
However, there is still the question of why the boot process is performing a check EVERY reboot.