corpnewt / gibMacOS

Py2/py3 script that can download macOS components direct from Apple
MIT License
5.93k stars 781 forks source link

How do i create a ISO for virtualization? [Windows 10] #267

Open T0bycat opened 2 years ago

T0bycat commented 2 years ago

Hello! I was just wondering how i would create an ISO out of the files I've downloaded with the script.

I want to create a MacOS VMware VM, but I don't have anything to actually put into it.

Any ideas?

Medizinmann-MD commented 2 years ago

https://www.insanelymac.com/forum/topic/342603-guide-simple-steps-to-create-macos-installer-for-vmware-on-linux-or-windows/

michelle1574 commented 1 year ago

Not a VMDK but an ISO (installable ISO)

tianyehuakai commented 1 year ago

这是来自QQ邮箱的假期自动回复邮件。   您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。

Medizinmann-MD commented 1 year ago

Not a VMDK but an ISO (installable ISO)

The OP wanted something to use with VMWare - VMDK works and the solution in the linked tutorial is IMHO the easiest way. There is actually no need for a bootable ISO in this context.

Here is a guide to create a bootable ISO for Linux: https://askubuntu.com/questions/477290/can-i-convert-a-dmg-file-to-iso-in-terminal

You can get an ISO using this with qemu in Windows: qemu-img convert BaseSystem.dmg -O raw BaseSystem.img ...and later rename the file to .iso.

But this is more like a RAW-Image you could use with i.e. Proxmox and not exactly an bootable ISO. But again – you wouldn’t need a "real" bootable ISO.

michelle1574 commented 1 year ago

But what about converting InstallAssistant to a DMG?

corpnewt commented 1 year ago

That's not how it works. The info within the pkg can't just be converted to a dmg, and if it could, it would not be a bootable installer.

michelle1574 commented 1 year ago

Then how can I convert all the downloaded data into a DMG -> ISO? (Windows)

tianyehuakai commented 1 year ago

这是来自QQ邮箱的假期自动回复邮件。   您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。

yzhpxd commented 1 year ago

How to convert the downloaded folder to iso and install it with vmware

Medizinmann-MD commented 1 year ago

Then how can I convert all the downloaded data into a DMG -> ISO? (Windows)

GibMacOS is/was good up to Catalina - now I would recommend a different method!

I would recommend guide and script from https://www.nicksherlock.com/2022/10/installing-macos-13-ventura-on-proxmox/ to get a installer. But you need to install WSL2 as you need some form of Linux to use it.

I would also prefer using KVM over VMware - or use Proxmox (see above): https://oneclick-macos-simple-kvm.notaperson535.is-a.dev/docs/start-here