foxlet / macOS-Simple-KVM

Tools to set up a quick macOS VM in QEMU, accelerated by KVM.
13.63k stars 1.14k forks source link

Frozen on "Start Randomseed" #286

Open Cheesegriller opened 4 years ago

Cheesegriller commented 4 years ago

It's frozen on Start Randomseed it cant get past this step, I've waited hours and it still is on it.

here is my basic.sh

#!/bin/bash

OSK="ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc"
VMDIR=$PWD
OVMF=$VMDIR/firmware
#export QEMU_AUDIO_DRV=pa
#QEMU_AUDIO_DRV=pa
#-smp 4,cores=2 \

qemu-system-x86_64 \
    -enable-kvm \
    -m 4G \
    -machine q35,accel=kvm \
    -smp cpus=4,cores=4,threads=1,sockets=1 \
    -cpu Penryn,vendor=GenuineIntel,kvm=on,+sse3,+sse4.2,+aes,+xsave,+avx,+xsaveopt,+xsavec,+xgetbv1,+avx2,+bmi2,+smep,+bmi1,+fma,+movbe,+invtsc \
    -device isa-applesmc,osk="$OSK" \
    -smbios type=2 \
    -drive if=pflash,format=raw,readonly,file="$OVMF/OVMF_CODE.fd" \
    -drive if=pflash,format=raw,file="$OVMF/OVMF_VARS-1024x768.fd" \
    -vga qxl \
    -device ich9-intel-hda -device hda-output \
    -usb -device usb-kbd -device usb-mouse \
    -netdev user,id=net0 \
    -device e1000-82545em,netdev=net0,id=net0,mac=f9:65:80:bd:73:c5 \
    -device ich9-ahci,id=sata \
    -drive id=ESP,if=none,format=qcow2,file=ESP.qcow2 \
    -device ide-hd,bus=sata.2,drive=ESP \
    -drive id=InstallMedia,format=raw,if=none,file=BaseSystem.img \
    -device ide-hd,bus=sata.3,drive=InstallMedia \
    -drive id=SystemDisk,if=none,file=MyDisk.qcow2 \
    -device ide-hd,bus=sata.4,drive=SystemDisk \
Tunfisch96 commented 4 years ago

I have the same Problem on two different Machines. Any Solution jet?

512yottabytes commented 4 years ago

Mee too. Host: Intel® Core™2 Quad CPU Q6600 @ 2.40GHz × 4, RAM=12GB Tryed in KVM High Sierra, Mojave and Catalina. On every OS "Start RandomSeed" is the last message I see. [Ctrl]+[Alt]+[Del] works, so VM is not "completely" frozen, but no step forward. Only "Start RandomSeed"