This is a journal of running HaikuOS on Macbook M5. It should apply generally to all aarch64 platform.
Although HaikuOS-aarch64 does work, it is not yet good enough. Therefore, I will use qemu-system-X86_64 to run the x86_64 version of HaikuOS. Even without KVM, it runs reasonally smooth and takes only 10-20% of CPU.
$ qemu-img create -f qcow2 haiku.qcow2 30G
qemu-system-x86_64 -m 8G -hda haiku.qcow2 -cdrom haiku-r1beta5-x86_64-anyboot.iso -boot d
It will boot the install disk. Installation is quite straight forward. During partition, select the new disk and format it BeFS. Quit partition and close the qemu after installation.
qemu-system-x86_64 -m 8G -hda haiku.qcow2
That's it. Very easy.
-netdev user,id=net1,hostfwd=tcp::2222-:22 \
-device virtio-net-pci,netdev=net1
Then run ssh -p 2222 user@localhost.
Adjust screen size at Preferences > Screen. Adjust text size in Preferences > Appearance. Need to reboot to show full effect.
Try run pkgman full-sync to update everything.
If mouse pointer in Haiku moves differently from the host one, try add this line to qemu:
-usbdevice tablet
Use virto-scsi instead:
-device virtio-scsi-pci,id=scsi0 \
-drive if=none,id=drive0,file=haiku_disk.qcow2,cache=writeback \
-device scsi-hd,drive=drive0,bus=scsi0.0 \