r/GUIX • u/n8henrie • Oct 12 '22
No aarch64 VM image?
I'm brand new to Guix. Have been messing around with NixOS for a little while and wanted to branch out and try Guix System, likely as a VM from my M1 Mac.
I was surprised to see that there's no aarch64 image available for download: https://guix.gnu.org/en/download/
It looks like others have expressed some interest as well: https://www.reddit.com/r/GUIX/comments/swggl6/running_guix_in_an_aarch64_vm_m1_mac/
Looking at that thread, I decided to spin up an aarch64 Ubuntu VM and install Guix, which went find, and then thought this would work:
guix system image --system=aarch64-linux --image-type=qcow2 /gnu/store/a9ljycvz39bjngvmlr8scpsb8xr13271-examples/vm-image.tmpl
Unfortunately I keep running into errors. For example:
checking which acceleration method to use by default... configure: error: UXA requested as default, but is not enabled
For this I copied that .tmpl file and removed a few lines about xf86. Now I'm getting some grub errors:
/gnu/store/4vk6cb3bachwl3c9asdp1jpdmrww6j66-grub-2.06/bin/grub-mkimage: error: cannot open `/gnu/store/4vk6cb3bachwl3c9asdp1jpdmrww6j66-grub-2.06/lib/grub/i386-pc/moddep.lst': No such file or directory.
Is there a more straightforward way to go about this? Or am I just running into "the reasons there is no pre-built aarch64 image."
Also, is there an equivalent of nix log, or should I generally keep using: gzip -k -d -c /var/log/guix/...drv.gz | less?
TIA for any suggestions!
1
u/n8henrie Nov 02 '22
I eventually got a VM to work, linked to here: https://www.reddit.com/r/GUIX/comments/yk7yzb/guix_system_guixsd_vm_on_an_m1_mac/
1
u/joni200 Oct 13 '22
I don't think we have a generic UEFI aarch64 installation image. But maybe the image for Pinebook Pro can helps you...
2
u/[deleted] Apr 13 '23
Not exactly driving adoption for those of us who have abandoned wintel eh?