quickemu-project / quickemu

Quickly create and run optimised Windows, macOS and Linux virtual machines
MIT License
10.95k stars 480 forks source link

bug: macOS Monterey won't boot after installation #657

Closed gfarrell closed 6 months ago

gfarrell commented 1 year ago

Expected behaviour

I would expect the MacOS instance to boot into some sort of desktop environment/greeter.

Actual behaviour

Boot process gets stuck in a loop as per the screenshot

image

Steps to reproduce the behaviour

  1. Create new macos-monterey instance
  2. Boot into it
  3. Wipe the drive and format as MacOS Extended (journaled)
  4. Run the installer
  5. Reboot and continue the installer
  6. Set the startup disc appropriately
  7. Reboot, select the right disc (or wait to start automatically)
  8. Hey presto, it gets stuck in a loop

Quickemu output

~ > quickemu

Usage
  quickemu --vm ubuntu.conf

You can also pass optional parameters
  --braille                         : Enable braille support. Requires SDL.
  --delete-disk                     : Delete the disk image and EFI variables
  --delete-vm                       : Delete the entire VM and it's configuration
  --display                         : Select display backend. 'sdl' (default), 'gtk', 'none', 'spice' or 'spice-app'
  --fullscreen                      : Starts VM in full screen mode (Ctl+Alt+f to exit)
  --ignore-msrs-always              : Configure KVM to always ignore unhandled machine-specific registers
  --screen <screen>                 : Use specified screen to determine the window size.
  --shortcut                        : Create a desktop shortcut
  --snapshot apply <tag>            : Apply/restore a snapshot.
  --snapshot create <tag>           : Create a snapshot.
  --snapshot delete <tag>           : Delete a snapshot.
  --snapshot info                   : Show disk/snapshot info.
  --status-quo                      : Do not commit any changes to disk/snapshot.
  --viewer <viewer>                 : Choose an alternative viewer. @Options: 'spicy' (default), 'remote-viewer', 'none'
  --ssh-port <port>                 : Set ssh-port manually
  --spice-port <port>               : Set spice-port manually
  --public-dir <path>               : expose share directory. @Options: '' (default: xdg-user-dir PUBLICSHARE), '<directory>', 'none'
  --monitor <type>                  : Set monitor connection type. @Options: 'socket' (default), 'telnet', 'none'
  --monitor-telnet-host <ip/host>   : Set telnet host for monitor. (default: 'localhost')
  --monitor-telnet-port <port>      : Set telnet port for monitor. (default: '4440')
  --monitor-cmd <cmd>               : Send command to monitor if available. (Example: system_powerdown)
  --serial <type>                   : Set serial connection type. @Options: 'socket' (default), 'telnet', 'none'
  --serial-telnet-host <ip/host>    : Set telnet host for serial. (default: 'localhost')
  --serial-telnet-port <port>       : Set telnet port for serial. (default: '6660')
  --keyboard <type>                 : Set keyboard. @Options: 'usb' (default), 'ps2', 'virtio'
  --keyboard_layout <layout>        : Set keyboard layout.
  --mouse <type>                    : Set mouse. @Options: 'tablet' (default), 'ps2', 'usb', 'virtio'
  --usb-controller <type>           : Set usb-controller. @Options: 'ehci' (default), 'xhci', 'none'
  --extra_args <arguments>          : Pass additional arguments to qemu
  --version                         : Print version
~ > quickget
ERROR! You must specify an operating system.
 - Operating Systems: alma alpine android archlinux archcraft arcolinux batocera cachyos centos-stream debian deepin devuan dragonflybsd elementary endeavouros fedora freebsd freedos garuda gentoo ghostbsd haiku kali kdeneon kolibrios kubuntu linuxmint lmde mageia manjaro mxlinux netboot netbsd nixos lubuntu macos openbsd opensuse oraclelinux popos reactos rebornos rockylinux slackware solus tails truenas-core truenas-scale ubuntu ubuntu-budgie ubuntukylin ubuntu-mate ubuntustudio ubuntu-unity void windows xubuntu zorin

Linux Distribution & Kernel

Run the following and paste the output.

~ > lsb_release --all
LSB Version:    n/a
Distributor ID: Arch
Description:    Arch Linux
Release:    rolling
Codename:   n/a
~ > uname -a
Linux anaximander 6.1.12-arch1-1 #1 SMP PREEMPT_DYNAMIC Tue, 14 Feb 2023 22:08:08 +0000 x86_64 GNU/Linux
jacktho commented 1 year ago

I am running into the exact same thing.

LSB Version: core-11.1.0ubuntu4-noarch:printing-11.1.0ubuntu4-noarch:security-11.1.0ubuntu4-noarch Distributor ID: Pop Description: Pop!_OS 22.04 LTS Release: 22.04 Codename: jammy

Edit: In my case, I formatted with APFS case sensitive.

alexdelorenzo commented 1 year ago

Running into the same issue on Linux 6.3.x and QEMU 8.0.0.

RaselHossen0 commented 1 year ago

No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 23.04 Release: 23.04 Codename: lunar same issue on ubuntu for monterey

flexiondotorg commented 6 months ago

Fixed via https://github.com/quickemu-project/quickemu/pull/1173