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
608 stars 51 forks source link

Ventora Installer failed at applying update #62

Closed funjay closed 1 year ago

funjay commented 1 year ago

OS macOS Ventura

Describe the bug Macos installer runs to about 16 minutes more and the apple logo disapears and the next screen is "failed to apply update" at update assistance

To Reproduce On Laption with WIFI, (dont know if this matters) Host machine = Fedora Qemu version = QEMU emulator version 7.0.0 (qemu-7.0.0-12.fc37) manual installation so i can increase the disk to 90gb and i used defaults including the disk name Runs the first 2hrs counting and restarts selected MacOs installer failed at applying updates

Expected behavior To complete the installation

Screenshots image

Desktop (please complete the following information):

notAperson535 commented 1 year ago

@funjay Please open the log, by going to "Window" in the topbar, and click show log or something like that. Make sure to select "show all logs"

funjay commented 1 year ago

magically it worked. I started it again hoping to re produce it, but not errors. I didnt do anything after it happened more thn 4 times yesterday my only theory could be apple server was down yesterday

thanks

notAperson535 commented 1 year ago

@funjay Strange, but great for you! Glad you got it fixed.

funjay commented 1 year ago

Tried to do the apple ID fix but the EFI mounts and cant see any file, ( i feel it is because i used the APFC) started all over again with journaled and the issue is back

in the window menu , there is no show logs, image below

image

notAperson535 commented 1 year ago

@funjay Sorrry, I think you have to click "view", just look through all the menu bar entries

funjay commented 1 year ago

nothing showing logs

  1. click on reinstall mac
  2. it loads (after the utility steps) from 2hrs to 12 mins and stays long at 12mins
  3. then it restarts and has two options, the base and the install mac , it loads the install mac and starts from 29 mins counting down
  4. at about 18mins it shows that error and that window, there is no place to show logs..

the show logs is at the first installer loads

at the 12mins before the restart i find this

image

notAperson535 commented 1 year ago

@funjay make sure to format as macOS extended journaled and make sure you have a stable internet connection.

funjay commented 1 year ago

i see this also

image

format is extended journaled and it didnt work (8 times, it kept adding data to the disk name anytime i retried) i decided to use the other one to see if that was the magic yesterday and u online, i guess that didnt change i have a very fast internet and stable ( i use a FTTH)

notAperson535 commented 1 year ago

@funjay try reformatting the Qemu disk in disk utility, and try again

funjay commented 1 year ago

Yes i dont get the extended journal option when i try reformating it. Tried this already though and it is the same. Some times recreate the qemu disk and i get the extended journal .

i feel it is my hard disk issue, i use an SSD on fedora ? does that ring a bell can i try pre allocating the size when creating the disk instead of dynamic allocation? i guess the speed of the expansion vs need? a race condition?

is it possible to preallocate the size when creating the image?

notAperson535 commented 1 year ago

@funjay ij terms of not seeing the macOS extended journaled option, click the drop-down in the top left of disk utility and click on show all devices. Then select the largest disk around 64gbs if that’s what you allocated, and then you can format it

funjay commented 1 year ago

fingers crossed Restarted the process created the disk preallocated 90G formatted with extended journaled currently running first stage.

notAperson535 commented 1 year ago

Ok, let’s see

funjay commented 1 year ago

Good news it worked

the 12mins this time didnt take long

Screenshot from 2022-12-31 16-19-57

the message is different at 12mins remaining finally worked , installation completed

thanks

Something to explore, why did the disk keep failing for dynamic allocation vs preallocation. is my physical disk getting bad?

funjay commented 1 year ago

Many thanks for your time and assistance.

Happy New year!

notAperson535 commented 1 year ago

Many thanks for your time and assistance.

Happy New year!

@funjay You too! Glad you got this fixed.