I also wanted to make the owner and group cdf like multipass mounts do. projects/cdf: Network dropped connection on resetĭrwxr-xr-x 4 503 dialout 128 Mar 24 07:26. projects/yoco: Network dropped connection on reset projects/.: Network dropped connection on reset projects: Network dropped connection on reset I can access the share, however I can't write changes to the share: ll. On the instance, I have created an entry in /etc/fstab to mount projects projects /home/cdf/projects 9p trans=virtio 0 0Īnd this seems to be working. The only thing I can't get right is how to share a folder as you can see above I'm trying: -fsdev local,id=projects,path=/Users/cdf/Projects,security_model=none \ This starts up a very simple ubuntu machine, works great I can forward ports. device virtio-9p-pci,fsdev=projects,mount_tag=projects The Apple M1 is an aarch64 SoC found in MacBook Air (M1, 2020), MacBook Pro 13 (M1, 2020), MacBook Pro 14'/16' (M1 Pro/Max, 2021), and in the Mac mini (M1, 2020). fsdev local,id=projects,path=/Users/cdf/Projects,security_model=none \ drive file=edk2-aarch64-code.fd,if=pflash,format=raw,readonly=on \ So I created a very simple qemu machine, modeled off the way multipass emulates their instances here it is: qemu-system-aarch64 \ Yay brew install qemu Step 2: Create a disk image You can specify a path in fron to fthe image, but I just used the default pathing. Multipass seemed like a great idea, until I was struggling to forward ports. Step 1: Install QEMU Now that there's a universal binary for QEMU for x86 and Apple Silicon, we can install it using the same commands on both architectures. I've recently started deving on a M1 mac, and I wanted to get a simple linux system virtualized.
0 Comments
Leave a Reply. |