I installed Ubuntu 20.04 alongside Windows 10 UEFI. To install it I used the option "Install alongside Windows bootloader". When I boot Ubuntu from the grub after shut down the PC, it freezes, but if I boot Ubuntu from grub after restarting from Windows 10, Ubuntu boots easily and fast enough without any problems.
Boot into Windows, restart and then select Ubuntu. Windows is powering on a device and leaving it powered up when restarting. Ubuntu is not powering up the device.
After starting Ubuntu open a terminal and use
sudo -H gedit /etc/default/grub.
Locate the line with:
quiet splash leaving the double quotes and everything else there.
Save the file, exit editor and run:
Now when you start your computer you will see status messages when grub calls Ubuntu. The last status message before computer freezes is the error we need to track down and fix.
Upon reviewing boot errors OP discovered problem was a duplicate of: