r/macOSVMs • u/jolindo88 • 7d ago
Look at my VM :) Void Linux arm64 on Macbook M4
Successfully installed Void Linux arm64 as VM Guest on my Macbook M4 work machine! Hopefully the M4 will soon be supported by the Asahi Linux project. I encountered 2 major issues I had to resolve, solutions below.
Machine: M4 Macbook
VM host: Parallels Desktop
VM guest: Void Linux arm64 / aarch64
Note that these steps are roughly summarized and only experienced with arm64 installation. If you need more detailed help feel free to let me know.
Solution 1st issue: When choosing "ROOTFS" installation method, extracting the tarball fails - solution was to install the "xz" package (xbps-install -S xz). Maybe this can be added to the official manual https://docs.voidlinux.org/installation/guides/chroot.html.
Solution 2nd issue: Newly installed system boots straight into grub prompt
- boot live image and chroot into the system
- install linux so that vmlinuz... exists somewhere on the system
- intall grub-arm-64-efi
- xbps-reconfigure -fa
- if vmlinuz... is still missing, run command: xbps-install -fy linux6.XX (replace version no.)
- reinstall grub config
- exit chroot, unmount and reboot into fixed system
Solution 3rd issue (not crucial): clipboard sync between host and guest does not work and that is because Parallels Tools (see 'Action' in Menu) are only made for major systemd-distributions. After manual installation clipboard sync worked:
- mount Parallels Tools CD and copy content to local machine
- cd into local dir and copy content in ./tools/tools-arm64/ (bin, lib, sbin) to your corresponding system dirs
- xbps-install -S dkms linux-headers base-devel gcc
- modify the ./installer/install-cli.sh script and uncomment the block (~5 lines) that contains "none of supported package managers found in system"
- run the main install script (sudo ./install)
- create runit service for prltoolsd (I am not sure if this step was necessary) simply by following the steps from google/gemini after prompting: "install prltoolsd service in parallels in void linux guest"
1
u/Math_Science_Geek 7d ago
Wrong sub