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

Installer closes suddently #96

Open ademar111190 opened 10 months ago

ademar111190 commented 10 months ago

Which operating system are you trying to install? macOS Ventura

Describe the bug The installer seems to crash in the middle of the installation (recorded it)

To Reproduce Steps to reproduce the behavior:

  1. Run the ./basic
  2. Select Ventura
  3. Proceed to the installation
  4. It didn't finish properly restarting the VM in the middle of the installation

Expected behavior Finish the installation process

Screenshots

Video

Desktop (please complete the following information):

System report & neofetch ``` # System Details Report --- ## Report details - **Date generated:** 2023-10-31 18:40:03 ## Hardware Information: - **Hardware Model:** Micro-Star International Co., Ltd. MS-7D78 - **Memory:** 128.0 GiB - **Processor:** AMD Ryzen™ 9 7950X × 32 - **Graphics:** AMD Radeon™ RX 6700 XT - **Disk Capacity:** 2.0 TB ## Software Information: - **Firmware Version:** 1.75 - **OS Name:** openSUSE MicroOS - **OS Build:** (null) - **OS Type:** 64-bit - **GNOME Version:** 45.0 - **Windowing System:** Wayland - **Kernel Version:** Linux 6.5.4-1-default distrobox: ...... ademar@macos.localhost.localdomain .,cdxxxoc,. .:kKMMMNWMMMNk:. ---------------------------------- cKMMN0OOOKWMMXo. A ;0MWk:' ':OMMk. OS: openSUSE Tumbleweed x86_64 ;WMK;' 'lKMMNM, :NMK' 'OMW; Host: MS-7D78 1.0 cMW; WMMMN ,XMK' oMM. Kernel: 6.5.4-1-default .MMc ''^*~l. xMN: KM0 Uptime: 1 hour, 49 mins 'MM. .NMO oMM Packages: 397 (rpm) .MM, .kMMl xMN Shell: bash 5.2.15 KM0 .kMM0' .dl>~,. .WMd Resolution: 3440x1440 'XM0. ,OMMK' OMMM7' .XMK DE: GNOME *WMO:. .;xNMMk' NNNMKl. .xWMx WM: Mutter ^ONMMNXMMMKx; V 'xNMWKkxllox0NMWk' Terminal: conmon ''''' ':dOOXXKOxl' CPU: AMD Ryzen 9 7950X (32) @ 5.881GHz Memory: 4154MiB / 127940MiB ```

Additional context It is the first time I'm using this script (I'm studying qemu) and that happened like 3 or 4 times using just the recovery. So to speed up; I used my MacBook to flash a USB installer, copy the image and I'm using the image in this recorded session. The bug is the same, it is just happening faster as the installation media is already downloaded.

notAperson535 commented 10 months ago

You accidentally formatted the disk as APFS instead of macOS extended journaled

ademar111190 commented 10 months ago

@notAperson535 that was a really dumb thing on my end :sweat_smile:

I just tried using macOS Extended Journaled and I got the same error

notAperson535 commented 10 months ago

@ademar111190 does trying to install sonoma also create this error?

ademar111190 commented 10 months ago

@notAperson535 I'll download Sonoma and try it

ademar111190 commented 10 months ago

@notAperson535 I had tried with Sonoma and got the same error. I've tried with Monterey as well; same thing.

Razzaline commented 10 months ago

I don't know if it's related, but I received the message "An error occurred while preparing the installation. Try running this application again." with no explanation as to what the error was, and then when I click "OK" it goes back to the recovery/install options. Then I tried again and had the same error. I can create a new issue for this if it's needed.

Razzaline commented 10 months ago

Okay, my issue was probably separate. I worked around it by installing Monterey instead of Sonoma, but I'll post it in its own issue.

notAperson535 commented 9 months ago

@ademar111190 could you provide more info about the host and vms specs like ram and cpu?

ademar111190 commented 9 months ago

@notAperson535 the host and distrobox info are added to the System report & neofetch section; what information else do you want? I didn't use vms