How to install archlinux on a m1 mac
Reason
I just have installed archlinux on a m1 mac. The reason is that I have a m1 mac.
How to install
Like this:
- Download the archlinux iso
- Mount the iso
- Copy the archlinux folder to the root of the iso
- Unmount the iso
- Boot the iso
- Install the archlinux
- Reboot the mac
- Enjoy your new linux
wait wait ??? right now is 2022, why the steps are so complicated?
dang dang dang
This time I just use the UTM to install it.
So the reallly steps are:
- Download the utm App
- Install the utm App
- Open the utm App
- Open the UTM Gallery
- Select the archlinux iso
- Click the Open In UTM button
- Wait for the installation to finish
- Enjoy your new linux
archlinux on a m1 mac
Performance is so good, I didn’t need to install gui tools. I just need a terminal. And I use Warp to connect to the archlinux ssh server.
Then I will try docker. And different softwares with the great gui mac provides.
Using pacman -Syu to go.
Problems && Solutions
1. can’t boot the iso, error is like __get_cpu_fpsimd_context+0x2c/0x38
Solution: Change the System->CPU Option from Default to ‘a64fx’.
2. pacman -Syu update error, like error key "xxx...xxx" could not be looked up remotely on ArchLinux
Solution: follow this one error key “xxx…xxx” could not be looked up remotely on ArchLinux.
pacman-key --init
pacman-key --populate archlinuxarm
3. network link dev lost, when I have multiple linux, and alter the first one network choices, the first one lost the network link
Solution: just reinstall the linux.
4. add a port forward, then network link dev lost
Solution: give up utm.
Read other posts