I installed Ubuntu 19.04 on my windows 10 machine this weekend with no problems. On my first windows boot since the Ubuntu install I got a memory management bsod after which windows booted up fine. However I havn't been able to successfully boot up Ubuntu since. I get a flashing cursor. I can hit ctrl+alt+f2 and log in, but I don't know what to do after this. I tried using boot repair which changed the boot menu but hasn't fixed the problem. The URL it gave me is http://paste.ubuntu.com/p/DYqmGMzQWc/ It also told me to make my BIOS boot on sda2/EFI/ubuntu/shimx64.efi file, but I'm not sure how to do that. Thanks for any help!
Update: I tried purging and reinstalling grub2 using instructions from here https://help.ubuntu.com/community/Grub2/Installing and I keep getting stuck with an error message "dpkg: unrecoverable fatal error, aborting: files list file for package 'linux-image-generic' is missing final newline" Is this related?