Ubuntu installation stuck at random crng init done

It's a kernel bug that can happen with different kernel.

"apt-get install rng-tools" run as root in a terminal should work.


This may happen after deleting the swap partition

Hanging before kernel: random: crng init done may happen after deleting a swap partition.

If a swap partition is deleted, the file /etc/initramfs-tools/conf.d/resume should be either completely empty or read RESUME=. Delete any UUID number. RESUME=NONE is not valid.

$ sudo nano /etc/initramfs-tools/conf.d/resume

The initial RAM filesystem requires updating for these changes to take effect:

$ sudo update-initramfs -u