1. Look in /etc/fstab and make sure the following line is there:
UUID=[UUID_of_the_swap_partition] none swap defaults 0 0
Copy the [UUID_of_the_swap_partition] before moving on to the next step.
2. In /etc/default/grub add: resume=UUID=[UUID_of_the_swap_partition] to GRUB_CMDLINE_LINUX
3. In /etc/mkinitcpio.conf add resume to HOOKS (after udev)
Then :x to edit out of the vim editor.
4. Reload the configurations by running:
sudo mkinitcpio -P && sudo update-grub
5. Hibernate and log back in to see if that fixed the problems.
I continue to research on it. But if someone can chime in with something to try or a fix, please do.
--- grub ---
GRUB_CMDLINE_LINUX="resume=UUID=32v045s7-745r-3w8u-qn65-1n46dgrt86b3"
--- mkinitcpio.conf ---
## NOTE: If you have /usr on a separate partition, you MUST include the
# usr, fsck and shutdown hooks.
HOOKS="base udev resume autodetect modconf block keyboard keymap consolefont resume filesystems fsck"
Hibernate is shutting the system down but saving the current state from RAM to disk, so that your session can resume.
So at least for hibernation, your swap partition must be 64 GB in size (so that in all memory can fit into it).
I guess, you didn’t plan for this, so your best choice would be not a swap partition but a swap file. (You can find the instruction in the Arch wiki.)
I know you are not meant to give me things on a silver spoon.
But i am worried to mess things up with something so critical.
Although I don’t want to redo all over again, my files are all backed up, so i can re-install manjaro if really needed.
In this case i should give it 64GB swap partition size, correct?
I followed the recommendations from an official Manjaro thread.
Can you please give me the pointer to the Arch wiki article explaining this?
Are you sure i can’t just increase the swap size? Isn’t the swap file not the best workaround?