utmapp / UTM

Virtual machines for iOS and macOS
https://getutm.app
Apache License 2.0
26.98k stars 1.35k forks source link

I cannot get macOS 12.6 iso boot #4462

Open amuuz opened 2 years ago

amuuz commented 2 years ago

I cannot get macOS 12.6 iso boot
Disable UEFI Boot failed: Could not read from CDROM (code 0005)

Enable UEFI will lead to the "Shell>" and stop booting.

Configuration

Frankly, I am a newbie for UTM and QEMU. I cannot see any information meaningful or related with booting from the debug log. Also, the ISO file it self. should be fine. I can boot from it without any problem both using vmware and vbox. I also cannot find the macOS 12.x option in vm creating menu.

Debug log
Enable UEFI Running: -L /Applications/UTM.app/Contents/Resources/qemu -S -qmp tcp:127.0.0.1:4001,server,nowait -nodefaults -vga none -spice "unix=on,addr=/Users/user/Library/Group Containers/WDNLXAD4W8.com.utmapp.UTM/98B9B3AC-F8F3-43CA-97D0-8BAC91967FD5.spice,disable-ticketing=on,image-compression=off,playback-compression=off,streaming-video=off,gl=off" -device virtio-vga -smp cpus=4,sockets=1,cores=4,threads=1 -machine q35,vmport=off,i8042=off -accel hvf -accel tcg,tb-size=1024 -global PIIX4_PM.disable_s3=1 -global ICH9-LPC.disable_s3=1 -drive if=pflash,format=raw,unit=0,file=/Applications/UTM.app/Contents/Resources/qemu/edk2-x86_64-code.fd,readonly=on -drive if=pflash,unit=1,file=/Users/user/vms/qemu/vm_macos.utm/Images/efi_vars.fd -boot menu=on -m 4096 -device intel-hda -device hda-duplex -name vm_macos -usb -device usb-tablet,bus=usb-bus.0 -device usb-mouse,bus=usb-bus.0 -device usb-kbd,bus=usb-bus.0 -device ich9-usb-ehci1,id=usb-controller-0 -device ich9-usb-uhci1,masterbus=usb-controller-0.0,firstport=0,multifunction=on -device ich9-usb-uhci2,masterbus=usb-controller-0.0,firstport=2,multifunction=on -device ich9-usb-uhci3,masterbus=usb-controller-0.0,firstport=4,multifunction=on -chardev spicevmc,name=usbredir,id=usbredirchardev0 -device usb-redir,chardev=usbredirchardev0,id=usbredirdev0,bus=usb-controller-0.0 -chardev spicevmc,name=usbredir,id=usbredirchardev1 -device usb-redir,chardev=usbredirchardev1,id=usbredirdev1,bus=usb-controller-0.0 -chardev spicevmc,name=usbredir,id=usbredirchardev2 -device usb-redir,chardev=usbredirchardev2,id=usbredirdev2,bus=usb-controller-0.0 -device ide-cd,bus=ide.0,drive=cdrom0,bootindex=0 -drive if=none,media=cdrom,id=cdrom0 -device virtio-blk-pci,drive=drive1,bootindex=1 -drive if=none,media=disk,id=drive1,file=/Users/user/vms/qemu/vm_macos.utm/Images/disk-0.qcow2,discard=unmap,detect-zeroes=unmap -device e1000,mac=FA:CA:AE:69:5B:BD,netdev=net0 -netdev vmnet-bridged,id=net0,ifname=en7 -device virtio-serial -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -chardev spicevmc,id=vdagent,debug=0,name=vdagent -device virtserialport,chardev=charchannel1,id=channel1,name=org.spice-space.webdav.0 -chardev spiceport,name=org.spice-space.webdav.0,id=charchannel1 -uuid 98B9B3AC-F8F3-43CA-97D0-8BAC91967FD5 -rtc base=localtime -device virtio-rng-pci qemu-x86_64-softmmu: warning: host doesn't support requested feature: CPUID.80000001H:ECX.svm [bit 2] qemu-x86_64-softmmu: warning: host doesn't support requested feature: CPUID.80000001H:ECX.svm [bit 2] qemu-x86_64-softmmu: warning: host doesn't support requested feature: CPUID.80000001H:ECX.svm [bit 2] qemu-x86_64-softmmu: warning: host doesn't support requested feature: CPUID.80000001H:ECX.svm [bit 2] qemu-x86_64-softmmu: warning: global PIIX4_PM.disable_s3=1 not used qemu-x86_64-softmmu: warning: Spice: playback:0 (0x7fa79a019130): setsockopt failed, Operation not supported on socket qemu-x86_64-softmmu: warning: Spice: record:0 (0x7fa79a0191d0): setsockopt failed, Operation not supported on socket

Debug log
Disable UEFI Running: -L /Applications/UTM.app/Contents/Resources/qemu -S -qmp tcp:127.0.0.1:4001,server,nowait -nodefaults -vga none -spice "unix=on,addr=/Users/user/Library/Group Containers/WDNLXAD4W8.com.utmapp.UTM/98B9B3AC-F8F3-43CA-97D0-8BAC91967FD5.spice,disable-ticketing=on,image-compression=off,playback-compression=off,streaming-video=off,gl=off" -device virtio-vga -smp cpus=4,sockets=1,cores=4,threads=1 -machine q35,vmport=off,i8042=off -accel hvf -accel tcg,tb-size=1024 -global PIIX4_PM.disable_s3=1 -global ICH9-LPC.disable_s3=1 -boot menu=on -m 4096 -device intel-hda -device hda-duplex -name vm_macos -usb -device usb-tablet,bus=usb-bus.0 -device usb-mouse,bus=usb-bus.0 -device usb-kbd,bus=usb-bus.0 -device ich9-usb-ehci1,id=usb-controller-0 -device ich9-usb-uhci1,masterbus=usb-controller-0.0,firstport=0,multifunction=on -device ich9-usb-uhci2,masterbus=usb-controller-0.0,firstport=2,multifunction=on -device ich9-usb-uhci3,masterbus=usb-controller-0.0,firstport=4,multifunction=on -chardev spicevmc,name=usbredir,id=usbredirchardev0 -device usb-redir,chardev=usbredirchardev0,id=usbredirdev0,bus=usb-controller-0.0 -chardev spicevmc,name=usbredir,id=usbredirchardev1 -device usb-redir,chardev=usbredirchardev1,id=usbredirdev1,bus=usb-controller-0.0 -chardev spicevmc,name=usbredir,id=usbredirchardev2 -device usb-redir,chardev=usbredirchardev2,id=usbredirdev2,bus=usb-controller-0.0 -device ide-cd,bus=ide.0,drive=cdrom0,bootindex=0 -drive if=none,media=cdrom,id=cdrom0 -device virtio-blk-pci,drive=drive1,bootindex=1 -drive if=none,media=disk,id=drive1,file=/Users/user/vms/qemu/vm_macos.utm/Images/disk-0.qcow2,discard=unmap,detect-zeroes=unmap -device e1000,mac=FA:CA:AE:69:5B:BD,netdev=net0 -netdev vmnet-bridged,id=net0,ifname=en7 -device virtio-serial -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -chardev spicevmc,id=vdagent,debug=0,name=vdagent -device virtserialport,chardev=charchannel1,id=channel1,name=org.spice-space.webdav.0 -chardev spiceport,name=org.spice-space.webdav.0,id=charchannel1 -uuid 98B9B3AC-F8F3-43CA-97D0-8BAC91967FD5 -rtc base=localtime -device virtio-rng-pci qemu-x86_64-softmmu: warning: host doesn't support requested feature: CPUID.80000001H:ECX.svm [bit 2] qemu-x86_64-softmmu: warning: host doesn't support requested feature: CPUID.80000001H:ECX.svm [bit 2] qemu-x86_64-softmmu: warning: host doesn't support requested feature: CPUID.80000001H:ECX.svm [bit 2] qemu-x86_64-softmmu: warning: host doesn't support requested feature: CPUID.80000001H:ECX.svm [bit 2] qemu-x86_64-softmmu: warning: global PIIX4_PM.disable_s3=1 not used qemu-x86_64-softmmu: warning: Spice: playback:0 (0x7fec3d075930): setsockopt failed, Operation not supported on socket qemu-x86_64-softmmu: warning: Spice: record:0 (0x7fec3d0759d0): setsockopt failed, Operation not supported on socket

amuuz commented 2 years ago

I also tried using CentOS iso to boot the vm, without any problem.

amuuz commented 2 years ago

I have tried UTM 4.0.6 (65), still not working.

jaraco commented 1 year ago

I have a similar problem. I'm trying to use UTM to install macOS 13.1 to an x86_64 virtualized install. I'm trying to emulate an Intel mac on an Apple Silicon host (so I can test some behaviors that are unique to that architecture). I've configured a custom VM using the default system (Standard PC) and generated a bootable ISO using https://techsviewer.com/how-to-create-macos-ventura-iso-image/, but I've been unsuccessful in getting the machine to boot that image (with and without UEFI).

Is what I want to achieve supported? Possible? Any other advice?

jaraco commented 1 year ago

Configuration:

paulrouget commented 1 year ago

@jaraco did you manage to get this to work?

jaraco commented 1 year ago

Nope.

deepcoder commented 8 months ago

This problem still exists!