Hello everybody,
Since my last update of Kicksecure (Morphing on Debian), I have a boot error:
Failed to start swap-file-creator.service.
I’ve looked in the documentation and it seems to me that this is due to the fact that I don’t have enough free space on the part of my hard disk where the programs are installed. I think this swap would like to be created on JNDebian-vg-root.
Is there a solution either to change the default swap size or to create it on JNDebian-vg-home, which has more free disk space?
Thanks for your help!
Jeronath
/dev/mapper/JNDebian–vg-home most likely isn’t a writeable folder.
Probably a bad idea to try SWAPFILE=/dev/mapper/JNDebian–vg-home/swapfile as setting.
SWAPFILE=/home/swapfile might work.
I am not sure complex storage path configurations will be possible. The device needs to be available before swap-file-creator runs. Or swap-file-creator systemd unit file needs to be adjusted. Best to look at the source code and see if it can be modified for your use case.
Should that seem to complicated I recommend to not use swap-file-creator, disable swap-file-creator (documented on the same wiki page). swap-file-creator isn’t designed to handle very complex swap setups. In that case it’s better to set up swap manually.
Thanks for your help! I’ve disabled the swap file creator. Sorry for the late thank you. I’m still short of time and for the moment I haven’t managed to study the swap configuration in depth… I’m not a linux system specialist…