IntoGuide
Image default
macOS

How to Create macOS Monterey ISO Image using Terminal?

The new operating system replacing macOS Big Sur (macOS 11) is known as the macOS Monterey (macOS 12). Developers can access their account and download the macOS 12 installer, then simply they can test it on their computer. Among those developers who are curious about How to Create macOS Monterey ISO Image on macOS Big Sur, I am here to solve that curiosity.

There are various reasons for a person to Create a macOS Monterey ISO Image file. May you are interested in testing macOS Monterey on a Virtual machine such as VirtualBox, VMware, Qemu, or Parallel Desktop. Or maybe you are trying to create another installer on an External drive. Or maybe you are doing it just to learn.

Well, the good thing that the help of Apple’s built-in Terminal you can achieve it in no time. Just you have to prepare the required files which are the macOS Monterey Installer.app and the codes.

Steps to Create macOS Monterey ISO File using Terminal

First thing is first, you have to download the macOS Monterey Installer then you can follow the steps I am going to tell you. Well, there are several ways that you can download macOS Monterey, though I am recommending you to download it directly from Apple’s server. You can use the gibmacOS to download the macOS Monteray Assistant package where the macOS Monterey’s installer.app is located.

Also Read:

There are also developers who are providing the download link to the macOS Monterey InstallAssistant.pkg. For Instance, you can download it from the below link, but I warn you that these links are not stable. Soon enough the link will be changed and it won’t work.

If you have installed the Assistant package, the macOS Monterey installer will be added in the application’s directory.

Step 1. Launch Terminal

Run the following command to create a dmg file with the size of 15000 megabyte in the tmp directory, the file will be called Monterey.dmg

hdiutil create -o /tmp/Monterey -size 15000m -volname Monterey -layout SPUD -fs HFS+J

Mount the Monterey.dmg with the provided command, however, you can mount it graphically from the tmp directory.

hdiutil attach /tmp/Monterey.dmg -noverify -mountpoint /Volumes/Monterey

It is time for us to create a bootable dmg file of macOS Monterey, to do that, type the provided command. Or In most cases, users are facing problems here, type sudo in the terminal, and go to the applications directory. Right-click on the macOS 12 and click show content package> contents> resources and find their createinstallmedia. Drag it to the Terminal, the path will be there, after that type –volume /Volumes/Monterey –nointeraction

sudo /Applications/Install\ macOS\ 12\ Beta.app/Contents/Resources/createinstallmedia --volume /Volumes/Monterey --nointeraction

Use the below command to eject the macOS Monterey Bootable dmg file.

hdiutil detach /Volumes/Install\ macOS\ 12\ Beta

It is time to convert the Monterey.dmg to cdr and then move it to the desktop.

hdiutil convert /tmp/Monterey.dmg -format UDTO -o ~/Desktop/Monterey.cdr

Change the cdr extension to the Monterey.iso file.

mv ~/Desktop/Monterey.cdr ~/Desktop/Monterey.iso 

I have recorded a video about it, you can visit it if you don’t understand this post.

Here is the complete macOS Monterey commands applied on the terminal with the results.

intozoom@intozooms-Mac ~ % hdiutil create -o /tmp/Monterey -size 13350m -volname Monterey-layout SPUD -fs HFS+J
hdiutil: create: Only one image can be created at a time.
Usage:	hdiutil create <sizespec> [options] <imagepath>
	hdiutil create -help
intozoom@intozooms-Mac ~ % hdiutil create -o /tmp/Monterey -size 13350m -volname Monterey -layout SPUD -fs HFS+J
created: /tmp/Monterey.dmg
intozoom@intozooms-Mac ~ % hdiutil attach /tmp/Monterey.dmg -noverify -mountpoint /Volumes/Monterey
/dev/disk3          	Apple_partition_scheme         	
/dev/disk3s1        	Apple_partition_map            	
/dev/disk3s2        	Apple_HFS                      	/Volumes/Monterey
intozoom@intozooms-Mac ~ % sudo /Applications/Install\ macOS\ 12\ Beta.app/Contents/Resources/createinstallmedia --volume /Volumes/Monterey --nointeraction 
Erasing disk: 0%... 10%... 20%... 30%... 100%
Making disk bootable...
Copying to disk: 0%... 10%... 20%... 30%... 40%... 50%... 60%... 70%... 80%... 90%... 100%
Install media now available at "/Volumes/Install macOS 12 Beta"
intozoom@intozooms-Mac ~ % hdiutil detach /Volumes/Install\ macOS\ 12\ Beta 
"disk3" ejected.
intozoom@intozooms-Mac ~ % hdiutil convert /tmp/Monterey.dmg -format UDTO -o ~/Desktop/Monterey.cdr
Reading Driver Descriptor Map (DDM : 0)…
Reading Apple (Apple_partition_map : 1)…
Reading  (Apple_Free : 2)…
Reading disk image (Apple_HFS : 3)…
.....................................................................................
Elapsed Time:  1m 31.065s
Speed: 146.6Mbytes/sec
Savings: 0.0%
created: /Users/intozoom/Desktop/Monterey.cdr
intozoom@intozooms-Mac ~ % mv ~/Desktop/Monterey.cdr ~/Desktop/Monterey.iso  

Related posts

How to Recover Deleted Files on Windows and Mac?

Ghulam Abbas

How to Create macOS Catalina USB Installer?

Ghulam Abbas

How to Install macOS Catalina on VMware on Windows 10 on PC?

Ghulam Abbas

Leave a Comment