Add aarch64 support - #876
Conversation
…d asahi-audio for speaker support
dhh
left a comment
There was a problem hiding this comment.
I'm shocked how little change we actually need to support things! Love it.
|
Let's turn the install guide into a script ala |
|
Arch Linux only officially supports the x86_64 instruction set. Will adding Arm support fundamentally make the project too complicated that it's better we just fork of this repo and add arm-omarchy specific features? |
|
FYI, folks are currently able to one-shot their m1/m2 macs with my fork of nils fork. https://github.com/jondkinney/armarchy/tree/vm-testing
I'll be working with @nilszeilon on getting this merged in the near future. But it needs some cleanup. Here are the instructions that have worked for people:
This install script runs as root so it can create a user for you on your asahi-alarm partition, but then it switches to that user to run the "actual" omarchy installation. What that means is, if the installation fails, you'll want to re-run it locally by executing the local installer as your non-root user. The installer will auto-detect ARM architecture and set the correct flags. So if the install fails and you're still at a prompt that looks like it's logged in as root, figure out where it failed, and see if you have a local user you can login as instead to re-try the install. ~/.local/share/omarchy/install.sh I also have a guide in that branch for getting going with Parallels from scratch using ArchBoot which folks have been using successfully, too, on M3 and M4 macs (which can't work with Asahi-Alarm yet, if ever). https://github.com/jondkinney/armarchy/blob/vm-testing/full_install_guide.md |
|
I would love to get everything boiled down to a single script that does it all. |
|
We need to add a dedicated mirror added for https://archlinuxarm.org/ to deal with the aarch64 packages. |
@dhh are you saying you want to try to automate the asahi-alarm install as well? Or just once we get logged into linux on the m1/m2 a single omarchy install from there? If the latter, we have that right now with my |
|
@jondkinney I was able to make my installation work on my M1 as well through your fork, thank you for the effort. For me an |
|
@jondkinney tried your solution, the asahi-alarm installer kept on choking on this part I tried the following:
It just didn't work for me.. I'll guess I'll just have to wait for Omarchy to be mac M1 friendly |
|
@abbood This is an APFS problem that has long been known in the asahi community. A certain number of mac users encounter this. There's nothing asahi or omarchy can do about it. |
I just tested with VMware Fusion. I need to use But then I get the Both files are there as expected: Boot entry is this: Limine gets 0005 on my machine, and I adjusted the boot order and next boot settings accordingly. @jondkinney, do you have any idea what else I could be missing? |
|
@michapietsch check out #1897 for a more up to date branch that should be much easier to get fully installed, especially if you use the parallels image I reference in the PR description. It still includes all of the changes @nilszeilon made in this PR, by the way! Just more on top. |
|
@michapietsch It seems to be an issue with Fusion and Limine. I tried using VM Ware Fusion at first, since it's free and better alternative than UTM/QEMU. After hours of debugging I got this LocateHandle for BLOCK_IO_PROTOCOL failed. Machine not supported by Limine UEFI.That means the Limine EFI binary failed to access UEFI block devices on the VM. So the UEFI firmware inside VMware Fusion didn’t expose the Block I/O protocol in the way Limine expects, so Limine cannot enumerate/inspect volumes to locate/parse a So the alternative is to boot using GRUB, but I didn't try and went for @jondkinney's guide on my M1 MBP. Which I didn't have any problems, but the setup didn't finish successfully. After running the Omarchy install script I didn't get the final prompt confirming the user creation and other configs. My screen got pitch black and I had to force reboot. Once the system restarted I got into Omarchy but I didn't have a login screen, it logged in directly. I wonder if I should run the installation script again by doing so ~/.local/share/omarchy/install.sh @jondkinney any thoughts ? |
|
to clarify, will this support raspberry pi computers too, or just m-series macs? as all that has been discussed so far is asahi and macs... |
|
@balupton |
|
Have you ever considered dropping Arch Linux entirely and switching to something like Debian with Nix, so that Omarchy could run on a broader range of systems? Nothing in Omarchy really requires Arch AFAICT. |
|
I don't think Arch is the problem. In fact, Omarchy uses pacman to manage packages so it requires Arch |
|
yes arch is the problem as its not officially supporting aarch64, but hyperland is only tested and guaranteed to work on arch and nixOS. So there isnt really another option than arch. |
|
nixOS has full support for aarch64 |
|
@drlucaa @petejkim arch supports it https://archlinuxarm.org/platforms/armv8/broadcom/raspberry-pi-4 (see the Installation tab) so you can stop spamming about other distros and pretending that arch doesn't |
|
@balupton Arch Linux ARM is an independent, unofficial project that is maintained separately from the official Arch Linux. Also, see the following before you start putting 👎 emoji on every post, and be nice to others on the Internet. https://www.reddit.com/r/archlinux/comments/1j1a01o/is_archarm_pretty_much_dead/ |
|
@petejkim thanks for providing that context, hadn't recognised they were seperate projects and that arch linux on arm is not only an abandoned project (effort could be revived) but also an abandoned effort (may not be worth reviving), now it makes sense why different distros were being discussed |
|
@nilszeilon @dhh I'd like to add an omarchy variant for asahi-alarm as there seems to be enough interest. However, the scripts as they are now are interactive and I'm hitting many roadblocks (our installer build runs as root). Would there be a possibility of an unattended script/option? Also, our installer would already create a sudo user, install the required asahi packages etc |
|
@joske I've been working with @ryanrhughes on this effort, and this is the PR that will be ultimately be merged in #1897 so let's move the conversation over there. |
|
Closing in favor of #1897. We should continue to clean that up and whittle it down to only the required elements but it's the closest to 1-1 addition of aarch64 support at the moment. |

This will add support for installing Omarchy on aarch64 architecture and let you install on m-series macbooks!
Currently the m1 and m2 macbooks are supported by dual boot with asahi-alarm