Last active
November 16, 2023 05:49
-
-
Save kengonakajima/82c2729c01c8607d59c04f3afe2765e4 to your computer and use it in GitHub Desktop.
limaで、 m1 mac上で x86_64のLinuxを起動する手順
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# on m1 mac | |
1. brew install lima | |
2. limactl start # defaultという名前のマシンが作られる。これがarm64になっている。 | |
3. ~/.lima/default/lima.yaml を、 ~/.lima/x86_64.yaml にコピーする | |
4. limactl delete default でdefaultマシンを削除 | |
5. arch: null を、 arch: "x86_64" に変更して保存 | |
6. limactl start x86_64.yaml として新しくマシンを作成、起動 | |
7. limactl shell x86_64 | |
8. uname -a | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment