-
Notifications
You must be signed in to change notification settings - Fork 44
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
VM Creation Step fails - 'VZErrorDomain error 1.' #17
Comments
It seems like vmcli is trying to boot an amd64 image on an arm64 machine. Line 24 in 3432e22
Is one of your bash / make running in amd64 instead of arm64?maybe arch -arm64 ... will help.
|
Good eye! Prefixing it with Do you know of anyone having successfully used this on a new M1 Mac? |
|
Okay thanks for confirming it runs on M1. Ill check that later on when I'm back home 👍 |
Okay yeah so that was exactly the issue. I'd originally compiled it as an amd64. Recompiled with the However, while creating ti still errors out at the following point:
The initial error seems to be that no root device is passed as a boot arg. Can I set that manually as a flag when running |
Oh the logs you are seeing is normal. It’s not mounting the rootfs but using initramfs directly and modifying /dev/vda to inject ssh-key and some other tasks to make the rootfs usable. |
Hey Everyone!
Im working with an M1 MBP 11.2.1
When trying to create an ubuntu vm (
make build/vm/ubuntu
), it gets through the first few steps, but then errors after the following command:spawn vmcli -k vmlinux --initrd=initrd -d disk.img --cmdline=console=hvc0 irqfixup
With the following output:
Screenshot for completeness:
Any idea whats going on here? Arm incompatability? Or have you guys been able to run this on m1/arm64 already successfully?
The text was updated successfully, but these errors were encountered: