Reason

I just have installed archlinux on a m1 mac. The reason is that I have a m1 mac.

How to install

Like this:

  1. Download the archlinux iso
  2. Mount the iso
  3. Copy the archlinux folder to the root of the iso
  4. Unmount the iso
  5. Boot the iso
  6. Install the archlinux
  7. Reboot the mac
  8. 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:

  1. Download the utm App
  2. Install the utm App
  3. Open the utm App
  4. Open the UTM Gallery
  5. Select the archlinux iso
  6. Click the Open In UTM button
  7. Wait for the installation to finish
  8. 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

Solution: just reinstall the linux.

Solution: give up utm.