I recently installed Ubuntu 20.04 on my laptop, single OS only, with full-disk encryption using the standard configuration. When booting, it takes 18-19 seconds from pushing the power key to get to the disk decryption passphrase prompt; after I enter the passphrase, it boots to the GUI quite quickly. How can I reduce the time it takes to get to the passphrase prompt?
There are lots of boot time threads out there, but they all seem to focus on one of two scenarios that do not apply in this case: (1) reducing GRUB time in a multi-OS environment, or (2) reducing time by uninstalling SNAPs, tweaking userspace parameters, etc.
The approximate times are as follows:
- 0 sec: Press power key
- 0-1 sec: Black screen
- 1-5 sec: Manufacturer splash with BIOS prompt
- 5 sec: GRUB beep
- 5-19 sec: Black screen
- 19-21 sec: Manufacturer splash
- 21 sec: Disk decryption prompt
My grub configuration is as follows:
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
Thanks in advance.