I've recently got a new laptop(Dell XPS 9510) and purchased a new SSD(samsung 980 pro 1tb) and installed Ubuntu 20.04.3 on the newly purchased ssd.
I initially had this issue(EXT4-fs error after Ubuntu 17.04 upgrade) and when I followed the instruction given in the answer.. now I face grub prompt whenever I boot Ubuntu.
Inside (hd0,gpt1)/efi, I have ubuntu/, Microsoft/ Boot/, and dell/. But I don't see "grub" directory. It seems like I need to do something like
set prefix=(hd0,msdos5)/boot/grub
set root=(hd0,msdos5)
insmod normal
normal
but I don't have grub directory. Anyone help
sudo initramfs -u && sudo update-grub