网站首页 美食营养 游戏数码 手工爱好 生活家居 健康养生 运动户外 职场理财 情感交际 母婴教育 生活知识 知识问答

技术篇:如何制作macOS Sierra可引导镜像文件

时间:2026-02-13 16:49:37

1、打开终端。注意!一定要使用root账户登录!

2、从App Store下载seirra安装器。链接:https://support.apple.com/zh-cn/HT208202

技术篇:如何制作macOS Sierra可引导镜像文件

3、在终端输入第一条命令:

hdiutil attach /Applications/Install\ macOS\ Sierra.app/Contents/SharedSupport/InstallESD.dmg -noverify -nobrowse -mountpoint /Volumes/install_app

4、稍后输入第二条:

hdiutil create -o /tmp/Sierra.cdr -size 7316m -layout SPUD -fs HFS+J

5、第三条:

hdiutil attach /tmp/Sierra.cdr.dmg -noverify -nobrowse -mountpoint /Volumes/install_build

6、第四条,可能需要一点时间:

asr restore -source /Volumes/install_app/BaseSystem.dmg -target /Volumes/install_build -noprompt -noverify -erase

7、第五条,可能需要一点时间:

rm /Volumes/OS\ X\ Base\ System/System/Installation/Packages

8、第六条,需要五分钟左右:

cp -rp /Volumes/install_app/Packages /Volumes/OS\ X\ Base\ System/System/Installation/

9、第七条,耐心等待写入:

cp -rp /Volumes/install_app/BaseSystem.chunklist /Volumes/OS\ X\ Base\ System/BaseSystem.chunklist

10、第八条,继续等待吧!

cp -rp /Volumes/install_app/BaseSystem.dmg /Volumes/OS\ X\ Base\ System/BaseSystem.dmg

11、第九条:

hdiutil detach /Volumes/install_app

12、第十条,还剩两条,马上就要成功了!

hdiutil detach /Volumes/OS\ X\ Base\ System/

13、最后一条,坚持就是胜利!

hdiutil convert /tmp/Sierra.cdr.dmg -format UDTO -o /tmp/Sierra.iso

我们到此为止,就转换完成了。注意查看注意事项!

© 2026 智德知识库
信息来自网络 所有数据仅供参考
有疑问请联系站长 site.kefu@gmail.com