A common issue: after installing Ubuntu (v22.04-desktop-AMD64) on our our iMac (2009 model A1311), when it boots Ubuntu, after ~20sec of showing some text (eg. HDD repair such as "dangling journal" and such), the screen goes black - presumably it's still booting but the graphics driver isn't working properly.
Many hints out there mention setting "nomodeset" as a GRUB option, but they don't really say how to do that if the screen is going blank! (example hint)
We can boot off the USB installed disk by choosing the "Ubuntu (safe graphics)" mode, and graphics are fine the whole way through the install. But when booting off the Internal HDD we get the black screen.
We tried:
(this hint) Booting off the USB stick, and editing the local HDD's file /etc/default/grub and adding "nomodeset" but then we can't properly run "update-grub" since we're not booted off the internal HDD.
We can't get the grub boot loader options screen to show during boot. Tried right-shift, F6, F9 during boot. Presumably if we could get this grub boot loader screen to show, we could try hints like this hint.
We did NOT try "reFIND" yet (this hint), because we don't care if the graphics are accelerated - we just want it to work as well as the Installer USB disk! So I think our simplest solution is to enable "safe graphics mode" on our local HDD's installation - how do we do that? Is there a text file we can edit to enable that? We can access the internal HDD by booting off the USB install disk.
Thanks,