Например, пропиши в файле fstab монтирование нужного тебе свапа.
Сейчас нахожусь в Xubuntu 22.04 и здесь:
andrei@andrei-desktop:~$ cat /proc/swaps
Filename Type Size Used Priority
/dev/sda7 partition 2097148 12628 -2
andrei@andrei-desktop:~$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda6 during installation
UUID=28cc6641-c4bb-4bd4-bca3-a4e2b4d6cbac / ext4 errors=remount-ro 0 1
# swap was on /dev/sda8 during installation
UUID=14f7423b-9f15-4fb0-a322-11b8e6cb57b2 none swap sw 0 0
Что нужно прописать находясь в Lubuntu?