notAperson535 / OneClick-macOS-Simple-KVM

Tools to set up a easy, quick macOS VM in QEMU, accelerated by KVM. Works on Linux AND Windows.
https://notAperson535.github.io/OneClick-macOS-Simple-KVM
MIT License
628 stars 49 forks source link

Bug Report: Boot crashes, then reboots system. #118

Closed BrattishRat384 closed 1 month ago

BrattishRat384 commented 1 month ago

MacOS Sonoma

Ran the MacOS Installer overnight, and found the system rebooted to the disk selection menu, the installer has now been replaced with an Recovery Menu, and an option for MacOS has appeared (where the OS was installed), the recovery does show the disk as having MacOS installed, but unable to boot the disk. When the disk is selected a menu shows 'Your computer restarted because of a problem. Press any Key or wait a few seconds to continue starting up.' The terminal only shows that failed to initialize DAC, and shows an error about pulseAudio. First Aid also shows no issues with the disk. The drive does show as bootable in the MacOS Recovery.

Steps to reproduce the behavior:

  1. Follow the one click installer guild, and select Sonoma.
  2. Once installed select the boot drive (In my case I named it MacOS)
  3. Wait for it to boot, and it should show the error menu.
  4. Terminal doesn't show any errors.

Desktop (please complete the following information):

Additional context

Just in testing while writing this, I rebooted the VM and it has now completly locked up after selecting the boot drive. Should I reinstall the system again? I did read somewhere that for mackintosh that there could be compatibility issues with my system (Gigabyte G5GD) But I've had no issues with Sosumi, I just wanted to update to the latest version of MacOS.


Screenshots Screenshot from 2024-08-31 10-22-11 image image

notAperson535 commented 1 month ago

@BrattishRat384 have you changed any core counts in the basic.sh file? Some configurations don’t work

BrattishRat384 commented 1 month ago

@BrattishRat384 have you changed any core counts in the basic.sh file? Some configurations don’t work

Hello, Yes, I have changed it to 4 cores and 16gb ram. Should I change it to something else?

notAperson535 commented 1 month ago

@BrattishRat384 revert all your changes to basic.sh and try again. If it seems to be the issue, you can try playing around with different core configurations.

BrattishRat384 commented 1 month ago

@notAperson535 I just tried, and I think the disk may be .qcow2 might be corrupted as no matter what I select I get that error menu, and a reboot. Should I try a fresh install?

notAperson535 commented 1 month ago

@BrattishRat384 Yes, and if you didn’t already, select macOS extended journaled while formatting the disk

BrattishRat384 commented 1 month ago

@notAperson535 Just followed the manual installation steps, just running the recovery installer, I used extended journal last time, I'll let you know how it goes. It's got about 4 hours left.

BrattishRat384 commented 1 month ago

@notAperson535 Ive just finished the installer (again) and now when I select any option I get this menu image

notAperson535 commented 1 month ago

@BrattishRat384 Your disk has enough space for this install right?

BrattishRat384 commented 1 month ago

@notAperson535 it's a fresh install of PopOS on an external 1tb HDD, I think it's only taking like 20gb for the install, and I've allocated 125gb for it, should have plenty of storage left. Next option would be to test it on windows I guess?

notAperson535 commented 1 month ago

@BrattishRat384 make sure that kvm is enabled properly on your machine.

BrattishRat384 commented 1 month ago

@notAperson535 Virtualization is enabled on my laptop, I'm going to test an install on windows instead, and Ill try port the current install to my server to make sure its not a problem with my laptop, as I've had no issues on the server.

BrattishRat384 commented 1 month ago

Just tried another project just to check if it's my system, I have Sosumi working in Bug-Sur, but I haven't been able to get Sonma to work at all, so I might trail a different version instead. Thanks so much for the support @notAperson535.