Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ubuntu Server 24.04 ARM64 Stuck at Grub #6815

Open
ghostplant opened this issue Nov 18, 2024 · 7 comments
Open

Ubuntu Server 24.04 ARM64 Stuck at Grub #6815

ghostplant opened this issue Nov 18, 2024 · 7 comments

Comments

@ghostplant
Copy link

Describe the issue
I downloaded Ubuntu Server 24.04.1 ARM64 ISO from official Ubuntu website, creating a new VM in UTM, selecting Display driver to be "virtio-ramfb-gl (GPU supported)".

I can boot the ISO and see the Grub2 interface, but after go to the next step for installation, graphic stucks at this page:

image

Configuration

  • UTM Version: 4.5.4
  • macOS Version: 15.1
  • Mac Chip (Intel, M1, ...): Apple M2
@martincerven
Copy link

I think I used noble-server-cloudimg-arm64.img and it works fine. Also with some images (20.04) you need Serial (another terminal from settings) to be turned on to proceed with install.

@ghostplant
Copy link
Author

I think I used noble-server-cloudimg-arm64.img and it works fine. Also with some images (20.04) you need Serial (another terminal from settings) to be turned on to proceed with install.

OK, it's strange that the Ubuntu official ISO-format Server works fine for VirtualBox for Mac Silicon. Can you explain more about configuring Serial (another terminal from settings)?

@martincerven
Copy link

You just see terminal output during initiaization and boot, there are these weird services (network/cups) that it looks like nothing is happening without Serial, but you can see continuation...I recommend adding them at least during setup

@ghostplant
Copy link
Author

@martincerven If serial is enabled, is it still compatible with graphic 2D like showing GNOME desktop?

@sav-valerio
Copy link

sav-valerio commented Nov 21, 2024

Yes, you can keep Serial enabled and video output should still be displayed - you might need to wait for a while though.

In my case the culprit was NetworkManager-wait-online.service so after logging in I was able to run sudo systemctl mask NetworkManager-wait-online.service and fix that.

Once in the UTM Serial terminal you are asked to input your credentials, wait 10/20 seconds more and the greeter should then be displayed.

Additionally, make sure to choose virtio-ramfb as the Emulated Display Cart in the VM settings.
I also tried virtio-ramfb-gl which is snappier but a lot more glitchy and unstable (maybe it's still related to #5749?)

FYI: I have used ubuntu-24.10-live-server-arm64.iso and then installed ubuntu-desktop.

@martincerven
Copy link

@sav-valerio there is nice writeup on utm subreddit and according to them:

virtio-gpu-gl-pci is typically your go-to card for modern Linux distros

Which kinda seems to make sense.

@ghostplant yeah GUI and Serials are unrelated, but if something breaks (you uninstall your ubuntu-desktop) your only choice is to have a terminal acess.

It seems that sudo systemctl mask NetworkManager-wait-online.service timeout is present on all 24.04 and it should be okay to just turn it off.

It's especially bad if u don't have terminal output so you don't see it's hanging on a weird service, and you only see black GUI.

@ghostplant
Copy link
Author

It works, but the systemd loading speed is too slow, much slower than VirtualBox for Mac M2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants