diff --git a/source/_posts/Generate-macOS-Installer-ISO.md b/source/_posts/Generate-macOS-Installer-ISO.md new file mode 100644 index 0000000..a0ec0ab --- /dev/null +++ b/source/_posts/Generate-macOS-Installer-ISO.md @@ -0,0 +1,21 @@ +--- +title: 使用 macOS 原版系统镜像生成 ISO +date: 2020-08-01 16:24:17 +tags: +--- +{% blockquote 应用帖子 http://bbs.pcbeta.com/viewthread-1862620-1-1.html [教程]原版镜像生成ISO文件和一键开启HIDPI %} +{% endblockquote %} + +``` +hdiutil create -size 13G -fs hfs+ -volname macOSInstaller -type SPARSEBUNDLE ~/macOSInstaller +``` +``` +hdiutil attach ~/macOSInstaller.sparsebundle +``` +``` +sudo /Applications/Install\ macOS\ Beta.app/Contents/Resources/createinstallmedia --volume /Volumes/macOSInstaller --nointeraction +``` +卸载镜像 +``` +hdiutil makehybrid -o ~/macOSInstaller ~/macOSInstaller.sparsebundle +``` \ No newline at end of file