• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

rtrouton/create_macos_recovery: Tool for repairing the Recovery volume (APFS) or ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

rtrouton/create_macos_recovery

开源软件地址(OpenSource Url):

https://github.com/rtrouton/create_macos_recovery

开源编程语言(OpenSource Language):

Shell 100.0%

开源软件介绍(OpenSource Introduction):

create_macos_recovery

Tool for repairing the Recovery volume (APFS) or partition (HFS+) on Macs running macOS 10.13.x or later.

This script uses a macOS 10.13 and later installer application to repair the Recovery volume (APFS) or partition (HFS+).

Pre-requisites

  1. This script
  2. An installer from Apple's Mac App Store for one of the following versions of macOS:
  • 10.13.x
  • 10.14.x
  • 10.15.x

Note: macOS Big Sur (macOS 11.x) made significant changes to the Recovery volume and it is unlikely this script will support any version of macOS past macOS 10.15.x.

Running the script

Run the create_macos_recovery.sh script with one argument: the path to an "Install macOS.app".

/path/to/create_macos_recovery.sh "/path/to/Install macOS [Name].app"

Example usage:

If you have a macOS Catalina 10.15.x installer available, run this command:

sudo /path/to/create_macos_recovery.sh "/Applications/Install macOS Catalina.app"

This should replace the existing Recovery volume or partition with a fresh install, using the Recovery installation tools available from the macOS installer app.

What the script does:

  1. Downloads the following installer package from Apple's Software Update service: SecUpd2020-001HighSierra.RecoveryHDUpdate.pkg

  2. Expands SecUpd2020-001HighSierra.RecoveryHDUpdate.pkg into a directory in /private/tmp in order to get access to the dm tool included with this installer package.

  3. Uses the dm tool and the Recovery installation tools available from the macOS installer app to rebuild the Recovery volume or partition.

  4. Cleans up by removing the downloaded SecUpd2020-001HighSierra.RecoveryHDUpdate.pkg and expanded package contents.

This script has been tested with the following OS installers from the Mac App Store:

  • macOS 10.13.6
  • macOS 10.14.6
  • macOS 10.15.0



鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap