I've finally found a solution for this problem.
All I did was changing '/dev/random' to '/dev/urandom' in the /etc/crypttab and now the swap works.
I've finally found a solution for this problem.
All I did was changing '/dev/random' to '/dev/urandom' in the /etc/crypttab and now the swap works.