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

Error message Error Domain=VZErrorDomain Code=1 "The virtual machine failed to start." UserInfo={NSLocalizedFailure=Internal Virtualization error., NSLocalizedFailureReason=The virtual machine failed to start.} appears when following instruction on Intel Mac #1

Closed
amit-bst opened this issue Feb 1, 2022 · 8 comments
Labels
question Further information is requested

Comments

@amit-bst
Copy link

amit-bst commented Feb 1, 2022

Tried all the steps mentioned in README and getting

.build/TinyLinux.xcarchive/Products/usr/local/bin/TinyLinux --vmlinux ubuntu/vmlinux --initrd ubuntu/initrd --commandline "console=hvc0 root=/dev/vda1" --image ubuntu/ubuntu-20.04.3-live-server-arm64.iso

Error Domain=VZErrorDomain Code=1 "The virtual machine failed to start." UserInfo={NSLocalizedFailure=Internal Virtualization error., NSLocalizedFailureReason=The virtual machine failed to start.}

@niw
Copy link
Owner

niw commented Feb 1, 2022

Try without ubuntu/ to kernel and ramdisk path.

.build/TinyLinux.xcarchive/Products/usr/local/bin/TinyLinux --vmlinux vmlinux --initrd initrd --commandline "console=hvc0 root=/dev/vda1" --image ubuntu/ubuntu-20.04.3-live-server-arm64.iso

As the pervious instructions described, ./ubuntu directory is a temporary one, just a mounting point to extract kernel and ramdisk to ./, and after umount, it doesn't hold anything.
I also updated README.md as 59d342a to clarify it.

@amit-bst
Copy link
Author

amit-bst commented Feb 2, 2022

I mounted on test folder and placed them under ubuntu folder and gave the path from there. So that doesn't seem to be the issue.The paths are correct and still getting the above error. I am on macOS x86_64 does that matter in this case ?

@amit-bst
Copy link
Author

amit-bst commented Feb 2, 2022

Things are discussed here. evansm7/vftool#2 But its not clear. I just want to boot ubuntu desktop iso file using virtualization.framework.

@niw
Copy link
Owner

niw commented Feb 2, 2022

Please read the instruction carefully, the one written in README is for Apple Silicon (M1, arm64) mac.

You need to modify it for your x64 mac.

@amit-bst
Copy link
Author

amit-bst commented Feb 2, 2022

Do, I need to download the x86_64 image of ubuntu and try the same steps will it work ?

@niw
Copy link
Owner

niw commented Feb 2, 2022

Yes, it may not be exactly same, but mostly same. Download x64 version of iso like normal Ubuntu Desktop iso and follow same steps. You don't need to ungzip, and can use vmlinuz bzImage file as-is.

@amit-bst
Copy link
Author

amit-bst commented Feb 2, 2022

@niw thanks a lot mate. I was able to boot amd64 ubuntu desktop from the advice you gave me. Thanks, much appreciated!!

@niw
Copy link
Owner

niw commented Feb 2, 2022

Glad to hear that you could boot Ubuntu up. I also updated README to mention about x64 mac usage.
I will close this issue now.

@niw niw closed this as completed Feb 2, 2022
@niw niw changed the title Error Domain=VZErrorDomain Code=1 "The virtual machine failed to start." UserInfo={NSLocalizedFailure=Internal Virtualization error., NSLocalizedFailureReason=The virtual machine failed to start.} Error message Error Domain=VZErrorDomain Code=1 "The virtual machine failed to start." UserInfo={NSLocalizedFailure=Internal Virtualization error., NSLocalizedFailureReason=The virtual machine failed to start.} appears when following instruction on Intel Mac Feb 3, 2022
@niw niw added the question Further information is requested label Feb 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants