Example Virtualization fails with Error Domain=VZErrorDomain Code=1

Hey im trying this example: https://developer.apple.com/documentation/virtualization/running_linux_in_a_virtual_machine And downloaded the vmlinuz and initrd.img from here https://download.fedoraproject.org/pub/fedora/linux/releases/40/Everything/aarch64/os/images/pxeboot

but when trying to run i get this error:

The output of:  file vmlinuz

is

PE32+ executable (EFI application) Aarch64 (stripped to external PDB), for MS Windows

I tried to uncompress with gunzip but this did not work

if found this but this did not help eitehr https://developer.apple.com/forums/thread/709539

Answered by boiii in 795658022

using the images here it is working https://cloud-images.ubuntu.com/daily/server/jammy/current/unpacked/

using the images here it is working https://cloud-images.ubuntu.com/daily/server/jammy/current/unpacked/

So you’re all set then?

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Example Virtualization fails with Error Domain=VZErrorDomain Code=1
 
 
Q