dockur / macos

OSX (macOS) inside a Docker container.
MIT License
680 stars 55 forks source link

Clean install of macOS ventura does not boot #93

Open HabaneroGabe opened 4 days ago

HabaneroGabe commented 4 days ago

Operating system

qnap QTS 5.1.8.2823

Description

Got this far: Start the container and connect to port 8006 using your web browser.

Choose Disk Utility and then select the largest Apple Inc. VirtIO Block Media disk.

Click the Erase button to format the disk, and give it any recognizable name you like.

Close the current window and proceed the installation by clicking Reinstall macOS.

When prompted where you want to install it, select the disk you just created previously.

After this, macOS reboot and then fails to boot.

Docker compose

services: macos: image: dockurr/macos container_name: macos environment: VERSION: "ventura" DISK_SIZE: "256G" devices:

Docker log

3h3h3hBdsDxe: failed to load Boot0080 "Mac OS X" from PciRoot(0x0)/Pci(0xA,0x0)/VenMedia(BE74FCF7-0B7C-49F3-9147-01F4042E6842,73000BF5A000AF4981E0DC65C47DA08D)/\0FACE32B-8D7C-4441-AA96-4636CD07E251\System\Library\CoreServices\boot.efi: Not Found BdsDxe: failed to load Boot0001 "UEFI Misc Device" from PciRoot(0x0)/Pci(0xA,0x0): Not Found BdsDxe: loading Boot0002 "UEFI Misc Device 2" from PciRoot(0x0)/Pci(0x5,0x0) BdsDxe: starting Boot0002 "UEFI Misc Device 2" from PciRoot(0x0)/Pci(0x5,0x0)

[EB|LOG:EXITBS:END] _

[EB.BST.FBS|-]

[EB|B:BOOT]

[EB|LOG:HANDOFF TO XNU] _

======== End of efiboot serial output. ========

Screenshots (optional)

No response

kroese commented 2 days ago

Can you see if it makes a difference if you add:

environment:
  CPU_CORES: "1"
HabaneroGabe commented 16 hours ago

Thanks, but it didn’t help. Same problem. ☹

Thanks,

Gabriel

From: Kroese @.> Sent: Saturday, October 12, 2024 12:36 PM To: dockur/macos @.> Cc: HabaneroGabe @.>; Author @.> Subject: Re: [dockur/macos] Clean install of macOS ventura does not boot (Issue #93)

Can you see if it makes a difference if you add:

environment:

CPU_CORES: "1"

— Reply to this email directly, view it on GitHubhttps://github.com/dockur/macos/issues/93#issuecomment-2408638038, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ATH2Q3LYL75WRCAMEQM3TU3Z3FMZLAVCNFSM6AAAAABPXXRZ42VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMBYGYZTQMBTHA. You are receiving this because you authored the thread.Message ID: @.**@.>>

kroese commented 16 hours ago

The QNAP version of Docker works really strange with permissions for volumes. Did you create the folder /Docker/macos yourself? Because it must be created by container manager otherwise you will get issues. Does it work when you specify no volumes at all?