
{"id":64,"date":"2022-11-25T12:43:26","date_gmt":"2022-11-25T10:43:26","guid":{"rendered":"https:\/\/nonhandig.nl\/?p=64"},"modified":"2025-05-07T16:31:15","modified_gmt":"2025-05-07T14:31:15","slug":"create-an-osx-rescue-usb-using-a-modern-m1-mac","status":"publish","type":"post","link":"https:\/\/nonhandig.nl\/en\/create-an-osx-rescue-usb-using-a-modern-m1-mac\/","title":{"rendered":"Create an OSx rescue USB using an M1 Mac"},"content":{"rendered":"<p>The requirement of creating an OSx recovery disk on a device being compatible with that OSx, can be overcome by using the method described here. <br><br>Please note a temporary image will be created on the desktop. Make sure you have sufficient disk space. In the end of the tutorial, this temporary directory will be deleted and a MacOSx rescue USB will have been created. <br>And please always double check any command coming from the internet before u execute them in your terminal.<\/p>\n\n\n\n<p>Successfully tested on a Mac M1: Mac OS High-Sierra and El Capitan.<\/p>\n\n\n\n<p>Download the OS-X dmg from this link :&nbsp;<a href=\"https:\/\/support.apple.com\/en-us\/HT211683\">https:\/\/support.apple.com\/en-us\/HT211683<\/a><\/p>\n\n\n\n<p>Open the dmg and copy InstallMacOSX.pkg to the desktop.<\/p>\n\n\n\n<p>Open Applications\/Utilities\/Terminal, and from the terminal, create a directory (in this example named Installer) and extract the InstallMacOSX.pkg file in this directory: <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>mkdir ~\/Desktop\/Installer\npkgutil --expand ~\/Desktop\/InstallMacOSX.pkg ~\/Desktop\/Installer<\/code><\/pre>\n\n\n\n<p>Then enter the InstallMacOSX.pkg newly created package:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cd ~\/Desktop\/Installer\/InstallMacOSX.pkg<\/code><\/pre>\n\n\n\n<p>Extract the package using tar:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>tar -xvf Payload<\/code><\/pre>\n\n\n\n<p>Move the just created InstallESD.dmg file to the desktop:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>mv InstallESD.dmg ~\/Desktop<\/code><\/pre>\n\n\n\n<p>Now format a GUID partition scheme USB disk of sufficient size named KEY (or any name) and execute the following instructions:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>hdiutil attach ~\/Desktop\/InstallESD.dmg -noverify -nobrowse -mountpoint \/Volumes\/install_app \nhdiutil convert \/Volumes\/install_app\/BaseSystem.dmg -format UDSP -o \/tmp\/Installer \nhdiutil resize -size 8g \/tmp\/Installer.sparseimage \nhdiutil attach \/tmp\/Installer.sparseimage -noverify -nobrowse -mountpoint \/Volumes\/install_build \n\nrm -r \/Volumes\/install_build\/System\/Installation\/Packages \ncp -av \/Volumes\/install_app\/Packages \/Volumes\/install_build\/System\/Installation\/ \ncp -av \/Volumes\/install_app\/BaseSystem.chunklist \/Volumes\/install_build \ncp -av \/Volumes\/install_app\/BaseSystem.dmg \/Volumes\/install_build \n\nhdiutil detach \/Volumes\/install_app \nhdiutil detach \/Volumes\/install_build \nhdiutil resize -size `hdiutil resize -limits \/tmp\/Installer.sparseimage | tail -n 1 | awk '{print $ 1}' `b \/tmp\/Installer.sparseimage \nhdiutil convert \/tmp\/Installer.sparseimage -format UDZO -o \/tmp\/Installer \n\nmv \/tmp\/Installer.dmg ~\/Desktop<\/code><\/pre>\n\n\n\n<p>At this point, plug the USB named KEY (or any name, just edit the command below), then:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo asr restore --source ~\/Desktop\/Installer.dmg --target \/Volumes\/KEY --noprompt --noverify --erase<\/code><\/pre>\n\n\n\n<p>Test the USB and if it is working, YAY!! Now delete the directories and files of this operation from the desktop.<\/p>\n\n\n\n<p><a href=\"https:\/\/apple.stackexchange.com\/questions\/418100\/create-an-el-capitan-rescue-usb-using-a-modern-m1-mac\">Source<\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>The requirement of creating an OSx recovery disk on a device being compatible with that OSx, can be overcome by using the method described here. Please note a temporary image will be created on the desktop. Make sure you have sufficient disk space. In the end of the tutorial, this temporary directory will be deleted&hellip;&nbsp;<a href=\"https:\/\/nonhandig.nl\/en\/create-an-osx-rescue-usb-using-a-modern-m1-mac\/\" rel=\"bookmark\">Read More &raquo;<span class=\"screen-reader-text\">Create an OSx rescue USB using an M1 Mac<\/span><\/a><\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"neve_meta_sidebar":"","neve_meta_container":"","neve_meta_enable_content_width":"","neve_meta_content_width":0,"neve_meta_title_alignment":"","neve_meta_author_avatar":"","neve_post_elements_order":"","neve_meta_disable_header":"","neve_meta_disable_footer":"","neve_meta_disable_title":"","_themeisle_gutenberg_block_has_review":false,"footnotes":""},"categories":[2],"tags":[],"class_list":["post-64","post","type-post","status-publish","format-standard","hentry","category-techie"],"_links":{"self":[{"href":"https:\/\/nonhandig.nl\/en\/wp-json\/wp\/v2\/posts\/64","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nonhandig.nl\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nonhandig.nl\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nonhandig.nl\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nonhandig.nl\/en\/wp-json\/wp\/v2\/comments?post=64"}],"version-history":[{"count":4,"href":"https:\/\/nonhandig.nl\/en\/wp-json\/wp\/v2\/posts\/64\/revisions"}],"predecessor-version":[{"id":1542,"href":"https:\/\/nonhandig.nl\/en\/wp-json\/wp\/v2\/posts\/64\/revisions\/1542"}],"wp:attachment":[{"href":"https:\/\/nonhandig.nl\/en\/wp-json\/wp\/v2\/media?parent=64"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nonhandig.nl\/en\/wp-json\/wp\/v2\/categories?post=64"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nonhandig.nl\/en\/wp-json\/wp\/v2\/tags?post=64"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}