So after some experimentation I figured out the solution. The problem wasn't anything I thought, but when searching for 'black screen after selecting ubuntu in GRUB' I stumbled upon this question and tried it.
What worked for me in the end was booting from USB, and then going to the kernel command line for the 'Ubuntu' option in GRUB (press 'e' when the right option is selected). In this terminal, I changed "quiet splash
" to "noacpi acpi=off
" as suggested in the first bullet of the answer I linked.
F10 to boot and it worked.
The 'install ubuntu' option then comes after it has booted.
EDIT1: Did not realise question may not be available in the future, so some context: The question is about installing Ubuntu, but after selecting 'install ubuntu' from GRUB, the screen stays black, similar to what happens when I select 'ubuntu'. The author names a few things they've tried:
I tried lot of stuff while I was searching for a solution. In UEFI I set SATA to AHCI, turned off Secure Boot and Fast Boot.
I tried edit the command from GRUB replacing quiet splash with nomodeset
, nvidia.modeset=0
or nouveau.modeset=0
. Nothing helped.
The answer that helped me was what I've described here, but I quote:
TL;DR - Add "acpi=off
" to kernel command line.
The nomodeset option is used for a "safe graphics" install, but maybe your issue isn't related to graphics.
In the past, I have had success in this situation by trial and error with the following:
modify kernel cmdline settings, press 'e' at the GRUB menu, and replace "quiet splash
" (as you have done) with "noacpi acpi=off
".
EDIT2: I got further with installing it, but near the end of installation, I get an error saying: 'Executing 'grub-install/dev/sda'failed. This is a fatal error.' Did not solve this one yet and am not sure this error is related.