Refer: https://askubuntu.com/questions/1030867/how-to-diagnose-fix-very-slow-boot-on-ubuntu-18-04
To update GRUB so that it passes this option to the kernel automatically on boot:
Edit the file /etc/default/grub file so that the string noresume is included in the GRUB_CMDLINE_LINUX_DEFAULT line, for example:
sudo gedit /etc/default/grub
### GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX_DEFAULT=""
or if you want to ignore the SWAP file
GRUB_CMDLINE_LINUX_DEFAULT="noresume"
sudo update-grub
