Download macOS ISO
Step 1: On a Mac, start by downloading gibMacOS from GitHub. Extract the contents of the downloaded .zip file and enter the folder.
Step 2: Enter the extracted directory and double-click the
gibMacOS.command file
Step 3: Once the script finishes installing Python, you will see a screen in the terminal asking which version of macOS you want to download. In this example, macOS Sequoia 15.7.1 is used, so option 7 will be selected.
Step 4: Once the download is complete, go to the created folder.
If you ran the file from the Downloads folder, the path will look like
this:
~/Downloads/gibMacOS-master/macOS Downloads/publicrelease/093-52107-15.7.1 macOS Sequoia (24G231)/
Your version numbers may be different.
Inside this folder, double-click InstallAssistant.pkg and follow
the instructions. This will install the application needed to build the
ISO image compatible with Proxmox.
Step 5: Now we will build the ISO image for Proxmox. In a new terminal window, create a temporary disk image. Make sure it is larger than the downloaded image. For macOS Sequoia 15.7.1, a 20GB image worked.
Step 6: Mount the temporary image you just created.
Step 7: Use the program installed earlier to create the ISO image compatible with Proxmox. This will take a few minutes.
sudo /Applications/Install\ macOS\ Sequoia.app/Contents/Resources/createinstallmedia --volume /Volumes/macOSISO --nointeraction
Step 8: Unmount the image using the following command:
Step 9: Convert the unmounted image into an ISO file to upload to Proxmox.
Step 10: Change the extension from .cdr to .iso.
Step 11: Finally, remove the temporary image.