Long boot delay on Ubuntu loading/splash screen following regular dist-upgrade on clean SSD install (18.04)
This is a kernel related regression, the launchpad bug is: https://bugs.launchpad.net/ubuntu/+bug/1779827
As a workaround, press keys and/or move the mouse at boot.
In a nutshell services that use /dev/urandom or getrandom() now block until enough entropy is available. In the past much less entropy was required for /dev/urandom.
The latest status from https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1779961/comments/5 is that:
The meta-packages have been rolled back and the fix is in progress of being applied and uploaded.
The snapd team also looked into this and worked with bson upstream to ensure no /dev/unrandom is needed to startup (https://github.com/snapcore/snapd/pull/5464)
So this problem should be fixed via either a kernel or a snapd update soon.
You can move mouse or increase entropy in system.
sudo apt install haveged
haveged website
Works for default kernel and from ukuu. This allows the system to boot up correctly on kernel 4.17.4.
i've the same issue with 4.15.0-24-generic #26-Ubuntu SMP
user@nb:~$ systemd-analyze blame |head
4min 2s plymouth-quit-wait.service
1.440s systemd-udev-settle.service
562ms dev-sda1.device
313ms udisks2.service
240ms systemd-rfkill.service
231ms NetworkManager.service
194ms networkd-dispatcher.service
180ms systemd-backlight@backlight:acpi_video0.service
179ms systemd-journal-flush.service
147ms systemd-logind.service
For a temporary workaround, you just need to move your mouse / touchpad while booting, resulting in a "normal" boot time; in my case:
user@nb:~$ systemd-analyze blame |head
1.440s systemd-udev-settle.service
882ms plymouth-quit-wait.service
562ms dev-sda1.device
313ms udisks2.service
240ms systemd-rfkill.service
231ms NetworkManager.service
194ms networkd-dispatcher.service
180ms systemd-backlight@backlight:acpi_video0.service
179ms systemd-journal-flush.service
147ms systemd-logind.service
Fix Source: https://ubuntuforums.org/showthread.php?t=2395451&p=13780509#post13780509