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

Vm Wont Boot on Big Sur Xcode 12 using ARM #24

Open
jasric89 opened this issue Jul 22, 2021 · 1 comment
Open

Vm Wont Boot on Big Sur Xcode 12 using ARM #24

jasric89 opened this issue Jul 22, 2021 · 1 comment

Comments

@jasric89
Copy link

jasric89 commented Jul 22, 2021

A few issues here out the box from an xcodebuild I get permissions denied, I then have to CD to ~/vftool/build/Release then I am able to run the following command: ./vftool -k vmlinuz -i initrd -d focal-desktop-arm64.iso -m 4096 -a "console=hvc0" without getting permission denied.

Yet when the VM starts to load from the disk image: focal-desktop-arm64.iso I get the following error:

VM start error: Error Domain=VZErrorDomain Code=2 "The boot loader is invalid." UserInfo={NSLocalizedFailure=Invalid virtual machine configuration., NSLocalizedFailureReason=The boot loader is invalid., NSUnderlyingError=0x13e6187f0 {Error Domain=VZErrorDomain Code=2 "Failed to open the kernel file." UserInfo={NSLocalizedFailure=Invalid virtual machine configuration., NSLocalizedFailureReason=Failed to open the kernel file., NSUnderlyingError=0x13e704370 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}}}

OS Is Big Sur using Xcode 12

@jasric89 jasric89 changed the title Project won't build in Xcode even after forking your repo Vm Wont Boot on Big Sur Xcode 12 using ARM Jul 22, 2021
@m0t1x
Copy link

m0t1x commented Aug 1, 2021

Failed to open the kernel file - did you uncompress the kernel file ? You can check with file vmlinuz.
Do first mv vmlinux vmlinuz.gz than gunzip vmlinuz.gz. Then retry.

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

2 participants