Quickly and easily create a Mac system ISO format image macOS Sonoma

In fact, it is not difficult to make an image in ISO format. The following Apple System Home will teach you how to quickly and easily make an image in ISO format. The tutorial uses official Mac commands. The produced ISO format image can be used for virtual machine installation or created to a USB flash drive or directly opened in Mac for installation and upgrade.

Prepare system image

First download the macOS image. You can download the DMG format image from this site. Then open the DMG package and drag the macOS Sonoma image to the "Applications" folder. Or you can download the Sonoma image directly from the App Store. Download the App Store The Sonoma image will also appear in the "Applications" folder.

Start making tutorial

1. Open the terminal tool

Quickly and easily create ISO format images of Mac systems - macOS Sonoma

2. Enter or copy the following command into the terminal

The number after -size here is the size of the created image. Here our default is 14500m which is 14.5G

hdiutil create -o ~/Desktop/Sonoma.cdr -size 14500m -layout SPUD -fs HFS+J

After entering the command, press Enter to start creating a blank image file.

3. Then mount the blank image file just created, copy the following command to the terminal tool and continue running;

hdiutil attach ~/Desktop/Sonoma.cdr.dmg -noverify -mountpoint /Volumes/Sonoma

4. Then copy the following command to the terminal and run it. Familiar netizens may recognize this command as the command to create an installation image.

sudo /Applications/Install\ macOS\ Sonoma.app/Contents/Resources/createinstallmedia --volume /Volumes/Sonoma

When the Password prompt appears, enter your Mac administrator password (power-on password), and then press the Return key again. When entering a password in this position, the "Terminal" will not display any characters.

When the If you wish to continue type (Y) then press return: prompt appears again, please type and press the Enter key  Y again to confirm the operation and start making the installation image. When the following prompt appears on the terminal, it means that the image production is completed.

Copying to disk: 0%… 10%… 20%… 30%… 40%… 50%… 100%
Making disk bootable…
Copying boot files…
Install media now available at "/Volumes/Install macOS Xxxxx 1"

After creating the installation image, right-click the install macOS Sonoma installation image on the desktop and select "install macOS Sonoma" to launch. If you do not launch it, an error "hdiutil: convert failed – the resource is temporarily unavailable" will appear during the conversion.

5. Continue to enter the following command in the terminal to run

mv ~/Desktop/Sonoma.cdr.dmg ~/Desktop/InstallSystem.dmg

6. The last step is to convert the image to iso format. Copy the following command to the terminal and run it. After the conversion is completed, you can see the created .iso image on the desktop.

TPS: If there is an extra .cdr suffix, just rename and delete the .cdr suffix.

hdiutil convert ~/Desktop/InstallSystem.dmg -format UDTO -o ~/Desktop/macOS.Sonoma.iso

In general, the key is to operate the above five commands. If you are familiar with it and copy and paste it to the terminal with your eyes closed, you can get an iso format image.

macOS 14 Sonoma official version

Guess you like

Origin blog.csdn.net/2301_77962762/article/details/133377271