#asahi · 2022-12-18 10:47
mps_please do, this channel is for official asahi distro discussion#asahi · 2022-12-18 10:44
mps_but I think we should move to #asahi-alt if we speak about alpine#asahi · 2022-12-18 10:44
mps_for QEMU_EFI.fd you can download http://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/ovmf-0.0.202011-r1.apk#asahi · 2022-12-18 10:43
mps_and -cdrom is also ok#asahi · 2022-12-18 10:42
mps_`-drive if=virtio,id=hd0,format=raw,file=alpine-virt-3.17.0-aarch64.iso'`#asahi · 2022-12-18 10:42
mps_yes, you have to use iso img#asahi · 2022-12-18 10:39
mps_kallisti: you don't need to write this iso to disk, use it as file param for qemu#asahi · 2022-12-18 10:37
mps_alpine iso for VM is here https://dl-cdn.alpinelinux.org/alpine/v3.17/releases/aarch64/alpine-virt-3.17.0-aarch64.iso#asahi · 2022-12-18 10:35
mps_right, this image is intended to boot apple silicon hardware, not VM#asahi · 2022-12-18 10:33
mps_no, it is intended for real machine#asahi · 2022-12-18 10:33
mps_about bootable usb image, yes it could be downloaded and decompressed and then dd-ed to usb stick#asahi · 2022-12-18 10:31
mps_I talked about QEMU_EFI#asahi · 2022-12-18 10:31
mps_answer to wrong question#asahi · 2022-12-18 10:31
mps_oh no#asahi · 2022-12-18 10:30
mps_yes, it is now broken, I see#asahi · 2022-12-18 10:28
mps_oh#asahi · 2022-12-18 10:28
mps_replace 'v3.12` with 'v3.17'#asahi · 2022-12-18 10:27
mps_read few first lines#asahi · 2022-12-18 10:27
mps_kallisti: how to get QEMU_EFI.fd, https://arvanta.net/alpine/install-aarch64-qemu/#asahi · 2022-12-18 10:26
mps_yes, that will also helpful#asahi · 2022-12-18 10:23
mps_and you will have ready usb rescue system in case you need it later#asahi · 2022-12-18 10:22
mps_kallisti: if you have usb-c stick just follow this https://arvanta.net/alpine/install-alpine-m1/ and you will have it in few minutes#asahi · 2022-12-18 10:18
mps_hm, so UTM doesn't have EFI file#asahi · 2022-12-18 10:12
mps_but if it works with alpine iso I don't see any reason it will not work with other distros iso#asahi · 2022-12-18 10:11
mps_I only tested with alpine iso and I know it works#asahi · 2022-12-18 10:10
mps_I have no experience with UTM, sorry can't help with it#asahi · 2022-12-18 10:09
mps_btw, this should be run as root on macos, or sudo#asahi · 2022-12-18 10:08
mps_I guess simply adding '-drive if=virtio,id=hd1,format=raw,file=/dev/disk0s6` to your UTM should be enough#asahi · 2022-12-18 10:07
mps_then when VM boot you can mount manually your asahi root partition and fix it#asahi · 2022-12-18 10:06
mps_you should boot VM image and adding your asahi partition#asahi · 2022-12-18 10:06
mps_no#asahi · 2022-12-18 10:05
mps_dgb: I think so#asahi · 2022-12-18 10:04
mps_and you don't need ' -drive if=virtio,id=hd3,format=raw,file=m1hfs'#asahi · 2022-12-18 10:04
mps_kallisti: in my script `-drive if=virtio,id=hd0,format=raw,file=m1` you have to replace with your VM disk#asahi · 2022-12-18 10:01
mps_kallisti: so looks like your asahi install is on the disk0s6#asahi · 2022-12-18 10:00
mps_kallisti: I posted script just as example and not as recipe, you have to adapt it to your use case#asahi · 2022-12-18 09:42
mps_for rescue I guess sound is not needed anyway ;)#asahi · 2022-12-18 09:42
mps_yes, iirc in last qemu this option is changed/removed#asahi · 2022-12-18 09:38
mps_kallisti: I have not much experience with macos, but I think diskutil can give you hints what is what#asahi · 2022-12-18 09:36
mps_I use plain qemu without any of these easy of use layers#asahi · 2022-12-18 09:35
mps_though, my advice is to use my usb image and boot it from usb-c#asahi · 2022-12-18 09:34
mps_ofc, you need to adapt it to your case#asahi · 2022-12-18 09:34
mps_kallisti: here is my complete qemu start script https://tpaste.us/vyPY#asahi · 2022-12-18 09:33
mps_yes#asahi · 2022-12-18 09:33
mps_something like '-drive if=virtio,id=hd1,format=raw,file=/dev/disk0s6`#asahi · 2022-12-18 08:45
mps_nicolas17: asahi kernel could be compiled to run in VM ofc, but it is not needed#asahi · 2022-12-18 08:44
mps_generic arm kernel, not asahi is needed in VM#asahi · 2022-12-18 08:44
mps_I tested with qemu on macos, and it is possible to mount linux partitions on it and do changes#asahi · 2022-12-18 08:18
mps_heh, that is why i built all basic drivers in-kernel and not as modules for alppine asahi kernel#asahi · 2022-12-18 08:16
mps_nicolas17: ah, driver is module and it is initramfs I guess