
Workaround:
Please add the below lines in the file /etc/default/grub
#GRUB_CMDLINE_LINUX_DEFAULT=" nomodeset "
GRUB_TERMINAL=serial
GRUB_SERIAL_COMMAND="serial --speed=115200 --unit=0 --word=8 --parity=no --stop=1"
#GRUB_CMDLINE_LINUX=" console=tty0 console=ttyS0,115200n8 nvme_load=YES biosdevname=0 net.ifnames=0 "
GRUB_CMDLINE_LINUX_DEFAULT=" nomodeset "
GRUB_CMDLINE_LINUX=" console=tty0 console=ttyS0,115200n8 nvme_load=YES biosdevname=0 net.ifnames=0 "
GRUB_RECORDFAIL_TIMEOUT=2
and do below followed by the above
$ sudo update-grub