I found it someone can run emulation on M1 Big Sur os.
https://forums.macrumors.com/threads/su ... .2280185/
I bought Mac mini 1M (Big Sur) last 3 weeks ago.
I tried install arch -x86_64 QEMU with brew but unable install it.
user@Mac-mini ~ % arch -x86_64 brew install qemu
Updating Homebrew...
Error: Cannot install under Rosetta 2 in ARM default prefix (/opt/homebrew)!
To rerun under ARM use:
arch -arm64 brew install ...
To install under x86_64, install Homebrew into /usr/local.
user@Mac-mini ~ %
How to install under x86_64? Where is /usr/local? I tried cd /usr/local but not found it.
Install qemu with brew under x86 in M1 Mac OS
Moderators: Cat_7, Ronald P. Regensburg
-
- Space Cadet
- Posts: 2
- Joined: Sun Feb 21, 2021 9:44 pm
Re: Install qemu with brew under x86 in M1 Mac OS
I guess you first need to install x86_64 brew to have it create the /usr/local folder etc:
arch -x86_64 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homeb ... install.sh)"
Then run:
arch -x86_64 brew install qemu
But I believe current Qemu can also be compiled directly under aarch64. So if you have all dependencies installed with brew, you can clone the Qemu repository and build qemu-system-ppc yourself.
Best,
Cat_7
arch -x86_64 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homeb ... install.sh)"
Then run:
arch -x86_64 brew install qemu
But I believe current Qemu can also be compiled directly under aarch64. So if you have all dependencies installed with brew, you can clone the Qemu repository and build qemu-system-ppc yourself.
Best,
Cat_7
-
- Space Cadet
- Posts: 2
- Joined: Sun Feb 21, 2021 9:44 pm
Re: Install qemu with brew under x86 in M1 Mac OS
I erased my mac mini then reinstalled Big Sur after stuck loading on privacy & data. I installed arch -x86_64 brew install qemu on terminal, It's worked and running working too! Thank you.
Last edited by violetrose20 on Thu Feb 25, 2021 10:07 pm, edited 2 times in total.
Re: Install qemu with brew under x86 in M1 Mac OS
Hi, this bother me too, I install the qemu by x86-brew and I can run the qemu-system-x86_64 with no accel, when I run with "--accel hvf", it broken . Do you have the same problem? thanks.violetrose20 wrote: ↑Thu Feb 25, 2021 10:05 pm I erased my mac mini then reinstalled Big Sur after stuck loading on privacy & data. I installed arch -x86_64 brew install qemu on terminal, It's worked and running working too! Thank you.