MacOSX Host with vagrant initialization

Discussions related to using VirtualBox on Mac OS X hosts.
Post Reply
ShaunLin
Posts: 1
Joined: 7. Feb 2023, 05:49

MacOSX Host with vagrant initialization

Post by ShaunLin »

Device Information
macOS Monterey Version 12.5.1
Chip Apple M1 Pro
Memory 32GB

show log as follow

and even we launch virtualbox gui before,

it still not work ....

Code: Select all

vagrant init generic/debian11
virtualbox vagrant up --provider=virtualbox
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'generic/debian11'...
==> default: Matching MAC address for NAT networking...
==> default: Checking if box 'generic/debian11' version '4.2.8' is up to date...
==> default: A newer version of the box 'generic/debian11' for provider 'virtualbox' is
==> default: available! You currently have version '4.2.8'. The latest is version
==> default: '4.2.10'. Run `vagrant box update` to update.
==> default: Setting the name of the VM: virtualbox_default_1675741136060_97007
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
==> default: Forwarding ports...
    default: 22 (guest) => 2222 (host) (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
    default: SSH address: 127.0.0.1:2222
    default: SSH username: vagrant
    default: SSH auth method: private key
    default: Warning: Connection reset. Retrying...
The guest machine entered an invalid state while waiting for it
to boot. Valid states are 'starting, running'. The machine is in the
'aborted' state. Please verify everything is configured
properly and try again.

If the provider you're using has a GUI that comes with it,
it is often helpful to open that and watch the machine, since the
GUI often has more helpful error messages than Vagrant can retrieve.
For example, if you're using VirtualBox, run `vagrant up` while the
VirtualBox GUI is open.

The primary issue for this error is that the provider you're using
is not properly configured. This is very rarely a Vagrant issue.
granada29
Volunteer
Posts: 690
Joined: 3. Mar 2015, 07:27
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: Linux, macOS, Windows

Re: MacOSX Host with vagrant initialization

Post by granada29 »

You are out of luck I'm afraid. VirtualBox has only very limited functionality on Apple Silicon machines.

The issue is covered in M1/M2 Mac 7.0 Beta Status at the top of this forum
Post Reply