I had to delete my encrypted Swap partition while solving some issues in chroot.
Now that I can boot back into Manjaro, I don’t need this partition back, but the problem is that loading the system takes and additonal 1:30 min as there’s
A start job is running for /dev/disk/by-uuid/<my-deleted-swap-partition>
which is pretty annoying. How can I get rid of this?
I already edited /etc/fstab
and removed the reference to my deleted swap partition UUID there, but the start job is still running every time.
I found that there’s another reference to the deleted partitoin’s old UUID in /etc/openswap.conf
:
## cryptsetup open $swap_device $crypt_swap_name
## get uuid using e.g. lsblk -f
swap_device=/dev/disk/by-uuid/<my-deleted-swap-partition>
crypt_swap_name=luks-<my-deleted-swap-partition>
## one can optionally provide a keyfile device and path on this device
## to the keyfile
keyfile_device=/dev/mapper/luks-<DISK_UUID>
keyfile_filename=crypto_keyfile.bin
## additional arguments are given to mount for keyfile_device
## has to start with --options (if so desired)
#keyfile_device_mount_options="--options=subvol=__active/__"
## additional arguments are given to cryptsetup
## --allow-discards options is desired in case swap is on SSD partition
cryptsetup_options="--type luks"
Can I just delete this file? I didn’t really find anything about it. I do not assume this alone would solve the issue though. How can I identify which part of systemd is responsible? What other references could there be that I should clean up? I already searched /etc/systemd
for the UUID but it didn’t reveal anything. Thank you for any insights