In /etc/fstab I notice I don’t have a swap memory.
According to this url: Swap - Manjaro
I should see if I have a swap memory if I type the command in terminal:
swapon
However this command does not return anything. does this mean I don’t have a swap memory? Or does it mean I edited some settings incorrectly?
there are several ways to know the status of the swap memory
cat /proc/swaps
swapon -s
free -m
etc
1 Like
Wollie
4 December 2020 18:19
3
You can establish a swap partition or a swap file acc. to the guide(s):
https://wiki.manjaro.org/index.php?title=Swap
https://wiki.archlinux.org/index.php/Swap
At the moment you do not seem to have a swap partition.
1 Like
systemd can find the necessary partition when they have the correct partition type uuid
A systemd based system can boot even you don’t have the partitions defined as long as the partition types are set correctly e.g. using cgdisk
efi partition -> 0xef00
linux x86_64 root (/) -> 0x8304
swap -> 0x8200
1 Like
I downloaded and configured an automated Swap Management with systemd-swap
the command swapon now gives me:
NAME TYPE SIZE USED PRIO
/var/lib/systemd-swap/swapfc/1 file 256M 3.8M 50
however lynis still thinks I don’t have a swap because it’s not defined in fstab