mac_hdd_ng_auto #223

Open
opened 2025-12-29 00:20:50 +01:00 by adam · 5 comments
Owner

Originally created by @alicera on GitHub (Jul 19, 2021).

How can I solve it ?
Thanks

wget https://images2.sick.codes/mac_hdd_ng_auto.img

docker run -it
--device /dev/kvm
-p 50922:10022
-v "${PWD}/mac_hdd_ng_auto.img:/image"
-v /tmp/.X11-unix:/tmp/.X11-unix
-e "DISPLAY=${DISPLAY:-:0.0}"
sickcodes/docker-osx:naked

+avx,+aes,+xsave,+xsaveopt,check, -machine q35,accel=kvm:tcg -smp 4,cores=4 -usb -device usb-kbd -device usb-tablet -device 'isa-applesmc,osk=ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc' -drive if=pflash,format=raw,readonly,file=/home/arch/OSX-KVM/OVMF_CODE.fd -drive if=pflash,format=raw,file=/home/arch/OSX-KVM/OVMF_VARS-1024x768.fd -smbios type=2 -audiodev alsa,id=hda -device ich9-intel-hda -device hda-duplex,audiodev=hda -device ich9-ahci,id=sata -drive id=OpenCoreBoot,if=none,snapshot=on,format=qcow2,file=/home/arch/OSX-KVM/OpenCore-Catalina/OpenCore-nopicker.qcow2 -device ide-hd,bus=sata.2,drive=OpenCoreBoot -drive id=MacHDD,if=none,file=/image,format=qcow2 -device ide-hd,bus=sata.4,drive=MacHDD -netdev user,id=net0,hostfwd=tcp::10022-:22,hostfwd=tcp::5900-:5900, -device vmxnet3,netdev=net0,id=net0,mac=52:54:00:09:49:17 -monitor stdio -vga vmware
qemu-system-x86_64: -drive if=pflash,format=raw,readonly,file=/home/arch/OSX-KVM/OVMF_CODE.fd: warning: short-form boolean option 'readonly' deprecated
Please use readonly=on instead
qemu-system-x86_64: warning: dbind: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-PCaEeg9pkW: Connection refused
qemu-system-x86_64: -drive id=OpenCoreBoot,if=none,snapshot=on,format=qcow2,file=/home/arch/OSX-KVM/OpenCore-Catalina/OpenCore-nopicker.qcow2: Could not open '/home/arch/OSX-KVM/OpenCore-Catalina/OpenCore-nopicker.qcow2': No such file or directory

Originally created by @alicera on GitHub (Jul 19, 2021). How can I solve it ? Thanks wget https://images2.sick.codes/mac_hdd_ng_auto.img docker run -it \ --device /dev/kvm \ -p 50922:10022 \ -v "${PWD}/mac_hdd_ng_auto.img:/image" \ -v /tmp/.X11-unix:/tmp/.X11-unix \ -e "DISPLAY=${DISPLAY:-:0.0}" \ sickcodes/docker-osx:naked +avx,+aes,+xsave,+xsaveopt,check, -machine q35,accel=kvm:tcg -smp 4,cores=4 -usb -device usb-kbd -device usb-tablet -device 'isa-applesmc,osk=ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc' -drive if=pflash,format=raw,readonly,file=/home/arch/OSX-KVM/OVMF_CODE.fd -drive if=pflash,format=raw,file=/home/arch/OSX-KVM/OVMF_VARS-1024x768.fd -smbios type=2 -audiodev alsa,id=hda -device ich9-intel-hda -device hda-duplex,audiodev=hda -device ich9-ahci,id=sata -drive id=OpenCoreBoot,if=none,snapshot=on,format=qcow2,file=/home/arch/OSX-KVM/OpenCore-Catalina/OpenCore-nopicker.qcow2 -device ide-hd,bus=sata.2,drive=OpenCoreBoot -drive id=MacHDD,if=none,file=/image,format=qcow2 -device ide-hd,bus=sata.4,drive=MacHDD -netdev user,id=net0,hostfwd=tcp::10022-:22,hostfwd=tcp::5900-:5900, -device vmxnet3,netdev=net0,id=net0,mac=52:54:00:09:49:17 -monitor stdio -vga vmware qemu-system-x86_64: -drive if=pflash,format=raw,readonly,file=/home/arch/OSX-KVM/OVMF_CODE.fd: warning: short-form boolean option 'readonly' deprecated Please use readonly=on instead qemu-system-x86_64: warning: dbind: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-PCaEeg9pkW: Connection refused qemu-system-x86_64: -drive id=OpenCoreBoot,if=none,snapshot=on,format=qcow2,file=/home/arch/OSX-KVM/OpenCore-Catalina/OpenCore-nopicker.qcow2: Could not open '/home/arch/OSX-KVM/OpenCore-Catalina/OpenCore-nopicker.qcow2': No such file or directory
Author
Owner

@sickcodes commented on GitHub (Jul 21, 2021):

This was removed upstream, Ill fix it shortly.

You can force the boot disk to be created, using -e GENERATE_UNIQUE=true \

@sickcodes commented on GitHub (Jul 21, 2021): This was removed upstream, Ill fix it shortly. You can force the boot disk to be created, using `-e GENERATE_UNIQUE=true \`
Author
Owner

@moschlar commented on GitHub (Oct 14, 2021):

Might I ask about the state of this?

I'm still getting that error (without GENERATE_UNIQUE).

@moschlar commented on GitHub (Oct 14, 2021): Might I ask about the state of this? I'm still getting that error (without GENERATE_UNIQUE).
Author
Owner

@sickcodes commented on GitHub (Oct 15, 2021):

Add NOPICKER=true as I have added this back to the repo

@sickcodes commented on GitHub (Oct 15, 2021): Add NOPICKER=true as I have added this back to the repo
Author
Owner

@moschlar commented on GitHub (Oct 15, 2021):

Ah - I think I found a clue (at least for me)!
The auto tagged docker image hasn't been updated as recently as the others:
https://hub.docker.com/r/sickcodes/docker-osx/tags

@moschlar commented on GitHub (Oct 15, 2021): Ah - I think I found a clue (at least for me)! The `auto` tagged docker image hasn't been updated as recently as the others: https://hub.docker.com/r/sickcodes/docker-osx/tags
Author
Owner

@sickcodes commented on GitHub (Oct 18, 2021):

Thank you @moschlar, I am doing a build now, I hope Docker has not reduced the image size limits :( as I would've expected it to build, rebuilding as we speak.

@sickcodes commented on GitHub (Oct 18, 2021): Thank you @moschlar, I am doing a build now, I hope Docker has not reduced the image size limits :( as I would've expected it to build, rebuilding as we speak.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Docker-OSX#223