-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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 20 AArch64 image from gallery can't boot on Apple M1 "BdsDxe: failed to load Boot0001" #2333
Comments
Same issue, same hardware. |
Same here, can also confirm this happens on other arm64 virtual machines |
@scubachristopher @F4zii I was able to overcome this issue by:
See attached video for the sequence that worked for me. successful_boot.mov |
@djwhatle -- you're the man! |
...or you can spam |
In Drives, change the Interface from VirtIO to NVMe. I think there might be a problem in the EFI drivers. I'll look more into it. EDIT: oh this is before installing Ubuntu? So it's failing to boot from the ISO? |
I was able to get to install by doing this and pressing esc at startup + using boot manager. I also got there with virtio though, so no difference in that respect. Unfortunately NVMe gives this error at install time, virtio doesn't have the same problem.
Yes, failing to boot from ISO unless you manually select the USB drive for boot through boot manager. Even doing that, the Ubuntu image worked, but Fedora 33 still wouldn't boot. For some reason after I got Ubuntu installed finally (by following these steps), default network connection wasn't working. I tried to swap it out for an intel network adapter but that triggered failure to start the VM. |
I got past this screen by waiting a few seconds, but YMMV. |
So the winning combination for me that resulted in Ubuntu 20 installed with internet working:
Seems to be working, also worked for Fedora 33 (was using .xz instead of .iso before) |
I think the problem is at some point I updated the OVMF to a newer version that broke support for |
Reopening because after testing on a M1 mac, the error persists even after the fix. Even weirder, I went back to 2.0.15, which was used to create the guide and I'm now getting the same error there as well! But on Intel Macs, there's no issue. On M1 Mac with force emulation, it's still broken! Even weirder, I go into EFI shell and use Does anyone have a M1 mac running macOS 11.0? That's the version I was on when the guide was created. |
I updated the guide for a workaround: https://mac.getutm.app/gallery/ubuntu-20-04#troubleshooting In the meantime I will continue to investigate why the emulated USB disk drive is not seen as a boot device on ARM64 builds of QEMU. |
I am able to boot an aarch64 VM from a USB CD drive on my iPad Pro, however I am using a custom compiled OVMF EFI. I've attached it here. The files are named "High Res" because I modified the resolutions available in the OVMF configuration to include up to 5K. EDIT: Other than the resolutions array, I didn't touch the OVMF code. It's from the stable branch. EDIT 2: it's up to 5K. |
I was able to debug the failure by logging from EDK2. There is a race condition in QEMU's (emulated) USB device reset and OVMF enumerating the boot options. M1 macs are too fast and can enumerate the boot options before QEMU sets up the device. This race condition is why it occurs for some people and not others and also why it stops appearing if you enable debug logging. Without thinking too hard how to prevent the race, the hack around is to have a 1 second wait between the device enumeration and boot option enumeration. |
This issue isn’t about network? |
It's happened to me after installing. I changed from VirtIO to NVMe and it worked! |
Hi - followed the instructions in the troubleshooting section and when I enter M1 Mac mini running macOS Big Sur 11.4, and pointing to the Ubuntu Server download from the support article at https://mac.getutm.app/gallery/ubuntu-20-04 What am I missing? |
I ran into the same issue when installing Kali Linux on host Macbook M1, Big Sur. Apparently, boot sequence was looking for the missing file At EFI cli, you can type When on the OS, hope onto |
Thanks @hva314 for this solution, however just to make sure: are you using the ARM version of Kali or the x86_64 version? The ARM bootloader file is |
I went through the installation process from scratch for what I think is the third time, and this time did not get dumped into UEFI Interactive Shell, and it proceeded to function properly. Wish I could identify what I did differently, but I can't. |
Does it continue to work after you’ve shut it down once? (Close the VM window and start it again with the Play button) |
Yes, it works consistently after shutdown. |
@Henrb Thank you so much! Also, just to expound on your answer, once the vm is booted and you are presented with the From here you can navigate to |
GOD!! |
I'm trying to do this on my MB Pro with a M1 pro and i can't manage to do it. Every time i click on the file to boot it simply opens a black screen and instantly comes back to the menu. Is anyone having the same error? |
I think I am having the same error, @tiagovalePT . To clarify: I'm getting into the boot manager and select the 'USB' option, I get a lightening quick flash of black screen and then the boot manager again. I'm guessing it's the problem that @osy mentioned and linked to a solution. I'm too much of a newb to understand how to execute that code in this context. Can anybody please clarify if the one-second delay is a viable path? I am attempting to install Ubuntu. When I get to the shell, I'm seeing a mapping table, and FS0 is there, as the instructions I'm following say to look for. I have tried to run the following commands from the shell:
all of which result in a message saying that it is they are not recognized as an internal or external command, operable file, or script file. It's just occurring to me it have something to do with incorrect permission settings on the host? I'll investigate and update if I solve it, but any help on here (on this already-closed thread - mea culpa. Please redirect me if there was a more appropriate place for this) would be appreciated. |
I met a similar issue and fail to install Ubuntu20.04 in a VM/KVM on Raspberry Pi 3. I plan to install Ubuntu 20.04 Server in KVM on Raspberry Pi3. I follow the instructions and video but the issue can't be resolved. Besides, there is no FS0. ##Can't start the Ubuntu installation process ubuntu20.04.on.QEMU_KVM.2021-11-19.12-10-00.mp4Here are the conditions and environment:
Does anyone meet the same issue?? how to fix it?? Thanks for help very much
|
Same issue here |
@richlife98 |
In case it's helpful to anyone else: I had mistakenly been trying to use the wrong iso. I was trying to install the AMD version of Ubuntu when it's the ARM version that's required. A silly mistake, but thankfully an easy one to correct. |
this video helped me resolve the issue. For me the problem was also the wrong iso version. The one linked in the description solved my problem. |
@ShilvySusan @tinywolf3 |
same problem here, ive tried waiting but it doesnt get past this screen |
I suggest a permanent fix in #4002 |
This is work for me! see more: https://linuxhint.com/use-uefi-interactive-shell-and-its-common-commands/ |
Same problem here. From one of the other day, all VMs (Ubuntu 20.04 on Mac M1) stopped working. They run properly on console mode, but not on Full Graphics. Did not update mac nor UTM. They stopped working since I tried to launch them while mac was not connected to a docking station. |
I solved the issue with downloading Ubuntu Server 22.04 for ARM, it seems that I either was trying to install amd version or the iso just not compatible for now. |
I spent 4 hrs for try to solve this problem. |
I am fed up facing problems in Mac. I also have the same problem!!! |
have you try use the install file as follow? |
|
I solved the issue with downloading Ubuntu Server 20.04
|
I solved this problem on arm architecture.follow this steps,it's worked for me.
|
I figured out a workaround, see below
Describe the issue
Followed directions from gallery to install Ubuntu 20 AArch64. Resulted in this error:
(Note, I had same result trying to install Fedora 33 AArch64 in the same way)
Eventually goes to this screen
Configuration
Crash log
N/A
Debug log
debug.log
Upload VM
config.plist.txt
The text was updated successfully, but these errors were encountered: