Impossible to mount swapfile during boot. [ 7.766831] swapon: swapfile has holes [ 7.768753] systemd[1]: Started Load/Save Random Seed. [ 7.769423] systemd[1]: swapfile.swap: Swap process exited, code=exited, status=255/EXCEPTION [ 7.769443] systemd[1]: swapfile.swap: Failed with result 'exit-code'. [ 7.769527] systemd[1]: Failed to activate swap /swapfile. [ 7.769540] systemd[1]: Dependency failed for Swap. [ 7.769553] systemd[1]: swap.target: Job swap.target/start failed with result 'dependency'. Issue happens also using sudo swapon /swapfile. Reproducible: Always Steps to Reproduce: 1. Boot Kernel 5.7.0 2. Impossible to mount swapfile 3. No swap Actual Results: Swapfile not mounted. Expected Results: Swapfile mounted.
Ok, using dd to recreate swapfile, then mkswap, then swap on works!
I read it as: Problem on local machine was fixed. And close here. Please reopen with full set of log if it was wrong.