Jump to content

How to update (10.13.2) with enoch/Chameleon bootloader


  • Please log in to reply
9 replies to this topic

#1
gabryele

gabryele

    InsanelyMac Protégé

  • Members
  • PipPip
  • 61 posts
  • Gender:Male

I try to update to 10.13.2

At restart, start installation screen, but then, the system back to 10.13.1

When can I do to make update successfully?



#2
bluenote56

bluenote56

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 167 posts
  • Gender:Male
  • Location:ROME ITALY
  • Interests:Music, movies, books, hi-end hi fi, computers, electronics.

I try to update to 10.13.2

At restart, start installation screen, but then, the system back to 10.13.1

When can I do to make update successfully?

 

Actually you can't with Enoch unfortunately. You need a Clover usb pen to see the mac os installation partition from which you can update to 10.13.2. The cool guys of Enoch are working on it.



#3
cl1k

cl1k

    InsanelyMac Protégé

  • Members
  • Pip
  • 18 posts

The cool guys of Enoch are working on it.

:gathering:   :thumbsup_anim:



#4
gabryele

gabryele

    InsanelyMac Protégé

  • Members
  • PipPip
  • 61 posts
  • Gender:Male

Actually you can't with Enoch unfortunately. You need a Clover usb pen to see the mac os installation partition from which you can update to 10.13.2. The cool guys of Enoch are working on it.

 

If I create a USB with enoch, what's the procedure?



#5
cl1k

cl1k

    InsanelyMac Protégé

  • Members
  • Pip
  • 18 posts

If I create a USB with enoch, what's the procedure?

I used the method in this video to make my macOS USB installers with Enoch for Capitan and Sierra: 



#6
gabryele

gabryele

    InsanelyMac Protégé

  • Members
  • PipPip
  • 61 posts
  • Gender:Male

I used the method in this video to make my macOS USB installers with Enoch for Capitan and Sierra

 

sorry :rofl: I don't want ask for this  :drool:

 

My error, I wrote enoch than clover!

I correct myself: :)

 

I know how to create USB installer with enoch, but after that, after I created the USB installer what I must do to update Mac Os?



#7
gabryele

gabryele

    InsanelyMac Protégé

  • Members
  • PipPip
  • 61 posts
  • Gender:Male
we can still use Disk1mbrInstaller(any 10.13 version from MBR method) and set "macOS Install Data" with script to update without dowloading the new full install app.

 

tell us the instructions



#8
gabryele

gabryele

    InsanelyMac Protégé

  • Members
  • PipPip
  • 61 posts
  • Gender:Male

I do not understand anything :rofl:

What are the steps to update (one by one)?

We need only the Q9-MBR-Update1013 folder?

We need to edit the combo-update pkg files?



#9
gabryele

gabryele

    InsanelyMac Protégé

  • Members
  • PipPip
  • 61 posts
  • Gender:Male

I read How to but it's a big confusion,

I want only update, not other things. you MUST divide.

NOT, you don't want help me, you don't want to be simpler.

 

 

----------------------------------------------------------------------------------------------------

This patch can install with DOS MBR partition tables, instead of GUID.

----------------------------------------------------------------------------------------------------

What is this patched OSInstaller doing?

1. Patch the MBR check, allow macOS 10.13 installation on MBR partition.
2. Patch the Firmware check, bypass the error of "An error occurred while verifying firmware".
3. This patched MBR OSInstaller method works with both MBR and GPT partition (GPT+recovery).
No longer need to set new SMbiosversion, FirmwareFeatures, and FirmwareFeaturesMask with this MBR-patch.

----------------------------------------------------------------------------------------------------

Works under macOS for 10.13.

Clover r4084+

        add to /EFI/CLOVER/config.plist as below.

        <key>RtVariables</key>
        <dict>
            <key>BooterConfig</key>
            <string>0x28</string>
            <key>CsrActiveConfig</key>
            <string>0x67</string>
        </dict>

Chameleon Enoch r2885+

        add to /Extra/org.chameleon.Boot.plist as CsrActiveConfig=103 (Hex 0x67:01100111)

        <key>CsrActiveConfig</key>
        <string>103</string>

        add to /Extra/kernel.plist for kernel patch to load kexts.

        <key>KernelBooter_kexts</key>
        <string>Yes</string>

Need a /Extra/SMBIOS.plist supported with BaseSystem.dmg/System/Library/CoreServices/PlatformSupport.plist.
Set a SMBIOS with Chameleon Wizard.
http://www.insanelym...-for-chameleon/

----------------------------------------------------------------------------------------------------

How to make MBR installer with 10.13

Read first:

Not the old basesystem method,
the new OSInstaller removed the manual partition selection and keep only automated installation.

It's new basesystem MBR method to load stage2 disk with /MBR-partition/macOS Install Data/ to install to the target /MBR-partition/ automatically.

Install to MBR directly with stage2 automated partition which made by "Install macOS High Sierra.app".
Need to make Basesystem boot disk with MBR patch to load the stage2 automated partition with /macOS Install Data/ to finish the MBR installation.

Additional tools:

Disk2UUIDmodify       Step C, Script to modify the UUID, Target, and TargetName automatically.

ShowAllFiles.app      Show all files to see the hidden files, such as ".IAProductInfo"

                      or use the terminal command as below.

                      defaults write com.apple.finder AppleShowAllFiles TRUE;\killall Finder
                      defaults write com.apple.finder AppleShowAllFiles FALSE;\killall Finder

13MBRinstallerMaker   You can use script 13MBRinstallerMaker to make MBR installer automatically.
                      (Need to do step A4, A5, B4, B5, B6, after script finished.)

----------------------------------------------------------------------------------------------------

The 10.13 MBR installer is different with 10.12, need to follow the steps as below.

Open "Install macOS High Sierra.app/Contents/SharedSupport/" first, and you will find the files.

AppleDiagnostics.chunklist
AppleDiagnostics.dmg
BaseSystem.chunklist
BaseSystem.dmg
InstallESD.dmg
InstallInfo.plist

----------------------------------------------------------------------------------------------------

Open ShowAllFiles.app, and click "SHOW" to show all files before start.

You need to see the hidden files, ".IAProductInfo" as "Disk2InstallData/.IAProductInfo"

You need two partitions,
one for A.Disk1mbrInstaller, minimal size: 2.5 GB, this is the mbrinstaller boot disk.
one for B.Disk2InstallData, minimal size: 25.0 GB, this is which you want to install 10.13 now.

Do not put all files on Disk1mbrInstaller, it doesn't work.

----------------------------------------------------------------------------------------------------

You can use script 13MBRinstallerMaker to make MBR installer automatically.
(Need to do step A4, A5, B4, B5, B6, after script finished.)

----------------------------------------------------------------------------------------------------

A.  (Disk1mbrInstaller, minimal size: 2.5 GB)
    Make BaseSystem partition to boot the MBR-installer.

A1. Use Disk Utility.app to restore BaseSystem.dmg to HFS partition and rename the partition’s name as Disk1mbrInstaller as /Volumes/Disk1mbrInstaller/

A2. Remove /Volumes/Disk1mbrInstaller/System/Installation/Packages first (since DB6),
    make directory of /Volumes/Disk1mbrInstaller/System/Installation/Packages,
    and copy InstallESD.dmg/Packages/OSInstall.mpkg to /Volumes/Disk1mbrInstaller/System/Installation/Packages/OSInstall.mpkg

A3. OSInstaller replace to
    /Volumes/Disk1mbrInstaller/System/Library/PrivateFrameworks/OSInstaller.framework/Versions/A/OSInstaller

A4. (Needn't with Clover, Need only if you use Chameleon with -f to boot Disk1mbrInstaller, use Pacifist v3.2.14+ to access Core.pkg.)
    Make directory of /Volumes/Disk1mbrInstaller/System/Library/Kernels first.
    Copy InstallESD.dmg/Packages/Core.pkg/System/Library/Kernels/kernel to /Volumes/Disk1mbrInstaller/System/Library/Kernels/kernel

A5. (Needn't with Clover, Need only if you use Chameleon with -f to boot Disk1mbrInstaller, use Pacifist v3.2.14+ to access Core.pkg.)
    Replace InstallESD.dmg/Packages/Core.pkg/System/Library/Extensions to /Volumes/Disk1mbrInstaller/System/Library/Extensions

    Remove the graphics kexts as below if you can’t boot to the installer GUI with graphics card issue.
    /Volumes/Disk1mbrInstaller/System/Library/Extensions/AMD*
    /Volumes/Disk1mbrInstaller/System/Library/Extensions/ATI*
    /Volumes/Disk1mbrInstaller/System/Library/Extensions/AppleIntelBDW*
    /Volumes/Disk1mbrInstaller/System/Library/Extensions/AppleIntelCPU*
    /Volumes/Disk1mbrInstaller/System/Library/Extensions/AppleIntelFramebuffer*
    /Volumes/Disk1mbrInstaller/System/Library/Extensions/AppleIntelHD*
    /Volumes/Disk1mbrInstaller/System/Library/Extensions/AppleIntelHSW*
    /Volumes/Disk1mbrInstaller/System/Library/Extensions/AppleIntelIVB*
    /Volumes/Disk1mbrInstaller/System/Library/Extensions/AppleIntelKBL*
    /Volumes/Disk1mbrInstaller/System/Library/Extensions/AppleIntelSKL*
    /Volumes/Disk1mbrInstaller/System/Library/Extensions/AppleIntelSNB*
    /Volumes/Disk1mbrInstaller/System/Library/Extensions/NVDA*
    /Volumes/Disk1mbrInstaller/System/Library/Extensions/GeForce*

    If you want to boot with Clover, you can rebuild new prelinkedkernel as below, works fine under 10.11.6.
    sudo kextcache -u /Volumes/Disk1mbrInstaller

A6. Done for Disk1mbrInstaller.

----------------------------------------------------------------------------------------------------

B.  (Disk2InstallData, minimal size: 25 GB)
    Make macOS Install Data MBR-partition to install MBR-system, this MBR-partition is which you want to install 10.13 now.
    You can install to a blank partition, or update to earlier version like as 10.12.6

    Open ShowAllFiles.app, and click "SHOW" to show all files before start.
    You need to see the hidden files, ".IAProductInfo" as "Disk2InstallData/.IAProductInfo"

B1. Select one HFS+j, Mac OS Extended (Journaled) partition and rename as Disk2InstallData as /Volumes/Disk2InstallData/, empty it is better.

B2. Make directory of "/Volumes/Disk2InstallData/macOS Install Data", and copy the files come with MBR-patch file OSInstallerXXX.zip
    to "/Volumes/Disk2InstallData/macOS Install Data" as below.

    /Volumes/Disk2InstallData/.IAProductInfo
    /Volumes/Disk2InstallData/macOS Install Data/index.sproduct
    /Volumes/Disk2InstallData/macOS Install Data/MacOSXInstaller.choiceChanges
    /Volumes/Disk2InstallData/macOS Install Data/minstallconfig.xml

B3. Copy all the files of "Install macOS High Sierra.app/Contents/SharedSupport/" to "/Volumes/Disk2InstallData/macOS Install Data" as below.

    /Volumes/Disk2InstallData/macOS Install Data/AppleDiagnostics.chunklist
    /Volumes/Disk2InstallData/macOS Install Data/AppleDiagnostics.dmg
    /Volumes/Disk2InstallData/macOS Install Data/BaseSystem.chunklist
    /Volumes/Disk2InstallData/macOS Install Data/BaseSystem.dmg
    /Volumes/Disk2InstallData/macOS Install Data/InstallESD.dmg
    /Volumes/Disk2InstallData/macOS Install Data/InstallInfo.plist

B4. Remove all other /Volumes/partitions/.IAProductInfo if exist, keep only /Volumes/Disk2InstallData/.IAProductInfo.

B5. Remove all other /Volumes/partitions/macOS Install Data/ if exist, keep only /Volumes/Disk2InstallData/macOS Install Data/.

B6. Make sure you have only one partition with ".IAProductInfo" and "/macOS Install Data/" inside.

B7. Done for Disk2InstallData.

----------------------------------------------------------------------------------------------------

C.  Modify the UUID, Target, and TargetName before start to boot MBR-installer.
    You can use the script of Disk2UUIDmodify come with zip to do it automatically.

C1. Find your Target UUID with terminal commend as below, you will get it look like as "Volume UUID: 313E43C9-9385-3590-8A72-D69BFA952064".

    diskutil info /Volumes/Disk2InstallData/

C2. Replace the UUID to the files as below.

    /Volumes/Disk2InstallData/.IAProductInfo
    <key>Product URL</key>
    <string>x-osproduct://22222222-2222-2222-2222-222222222222/macOS%20Install%20Data</string>

    /Volumes/Disk2InstallData/macOS Install Data/minstallconfig.xml
    <key>TargetUUID</key>
    <string>22222222-2222-2222-2222-222222222222</string>

C3. Replace the Target, and TargetName to the file as below, if you use Disk2InstallData or something else.

    /Volumes/Disk2InstallData/macOS Install Data/minstallconfig.xml
    <key>Target</key>
    <string>/Volumes/macOSmbr</string>
    <key>TargetName</key>
    <string>macOSmbr</string>

    Replace "macOSmbr" to be "Disk2InstallData" if you use it.
    <key>Target</key>
    <string>/Volumes/Disk2InstallData</string>
    <key>TargetName</key>
    <string>Disk2InstallData</string>

C4. Done for modify the UUID, Target, and TargetName,
    and you can start to boot /Volumes/Disk1mbrInstaller to install to /Volumes/Disk2InstallData now.

----------------------------------------------------------------------------------------------------

D.  Q/A

Q1. If you get the error "System/Installation/Packages/OSInstall.mpkg" appears to be missing or damaged?
A1. 1.Make sure you have done the steps right.
      step A3
      step B2
      step B4
      step B5
      step C1
      step C2
      step C3
    2.Remove /EFI/CLOVER/drivers64UEFI/EmuVariableUefi-64.efi and /NVRAM.plist, you can move back after finish installation.
      (Find on EFI partition if you use GPT)
    3.Remove all other HHD and SSD, or disable on BIOS, keep only the Target disk.
    4.If you still get the same error of OSInstall.mpkg, use mouse to find the top side tool bar on the screen of error of OSInstall.mpkg,
      Windows -> Log -> Show All Logs, upload the install log to forum to look at solution.
      You may need to follow step A4, A5 to make usb mouse works when get error of OSInstall.mpkg.

Q2. Is this patched MBR OSInstaller only used for MBR? Does it work for GPT?
A2. This patched MBR OSInstaller method works with both MBR and GPT partition (GPT+recovery).

Q3. If you want to install to GPT, but still get the error of "An error occurred while verifying firmware".
A3. All you need to do is, boot the Disk1mbrInstaller, and it will automatically load to install the "GPT-partition/macOS Install Data"
    which you installed with "Install macOS High Sierra.app" of createinstallmedia installer method at first stage. And check step C1~C4 is better.

Q4. How to stop converting to APFS automatically during installation?
A4. Erase as HFS+j, Mac OS Extended (Journaled). Before stage 2 start to install, edit true to be false. It will stop converting to APFS.
    /macOS Install Data/minstallconfig.xml
        <key>ConvertToAPFS</key>
        <false/>

Q5. Have the problem of "Still waiting for root device", "disk1:I/O error", "hot-plug didn’t work" for ICH10 ?
A5. 10.13.pb1 works fine here, but the db3 original installer is dead here too, need to replace AppleAHCIPort.kext(v328) from S/L/E with 10.13.pb1.
    http://www.insanelym...leahciportkext/
    Here is HowTo to rebuild prelinkedkernel.
    1. restore BaseSystem.dmg to a partition.
    2. copy /System/Library/Kernels/kernel from Core.pkg
    3. replace all /System/Library/Extensions from Core.pkg.
    4. replace AppleAHCIPort.kext from 10.13.pb1
    5. sudo kextcache -u /Volumes/BaseSystemName
       (works fine under 10.11.6.)
    Then, you get new prelinkedkernel to boot the installer now. Just replace to be the new prelinkedkernel as you needed.

    or
    patch the AppleAHCIPort.kext (10.13.0)
    For this we need two binary patches.
    First patch fix "Still waiting for root device", "disk1:I/O error" for ICH10:
        4585F60F 95C289C8 83E0FE66 85C9780F 84D2750B -> 89C883E0 FE6685C9 0F98C141 08CC9090 9090750B
    With second patch will work hot-plug:
        89C82540 6002003D 40200000 750C81E1 BF7FFFFF 898B5101 0000 -> 90909090 90909090 90909090 90909090 90909090 90909090 9090
    http://www.insanelym...a365/?p=2505086

Q6. What's different between 10.13 beta and final ?
A6. 10.13 final release, the following value is removed.
    /macOS Install Data/minstallconfig.xml
    <key>SeedingProgramForTarget</key>
    <string>DeveloperSeed</string>

Q7. How to install in different computer?
A7. If you want to install to a different computer, do it as follow.
    Use 16G usb pen drive, and re-partition 16G to be 2.5G and 13.5G.

    Follow HowTo.
    Step A, set to 2.5G
    Step B, set to 13.5G
    Step C,
    /Volumes/Disk2InstallData/.IAProductInfo, set UUID to 13.5G to be the source.
    /Volumes/Disk2InstallData/macOS Install Data/minstallconfig.xml, set UUID, Target, and TargetName to your target partition from the target computer.

    Then, you can boot 2.5G to install to the target computer(different computer).

Q8. How to install in different computer with only one USB partition?
A8. Follow HowTo, or use script Q8-Disk2UUIDusb/Q8MBRinstallerMaker to make USB MBR installer automatically.
 
    Step A, set to 7.5G minimal to your USB stick as /Volumes/Disk1mbrInstaller.
    Step B, copy files to /Volumes/Disk1mbrInstaller/InstallData/ as below.(make a directory "InstallData" first.)

            /Volumes/Disk1mbrInstaller/InstallData/.IAProductInfo
            /Volumes/Disk1mbrInstaller/InstallData/macOS Install Data/index.sproduct
            /Volumes/Disk1mbrInstaller/InstallData/macOS Install Data/MacOSXInstaller.choiceChanges
            /Volumes/Disk1mbrInstaller/InstallData/macOS Install Data/minstallconfig.xml

            /Volumes/Disk1mbrInstaller/InstallData/macOS Install Data/AppleDiagnostics.chunklist
            /Volumes/Disk1mbrInstaller/InstallData/macOS Install Data/AppleDiagnostics.dmg
            /Volumes/Disk1mbrInstaller/InstallData/macOS Install Data/BaseSystem.chunklist
            /Volumes/Disk1mbrInstaller/InstallData/macOS Install Data/BaseSystem.dmg
            /Volumes/Disk1mbrInstaller/InstallData/macOS Install Data/InstallESD.dmg
            /Volumes/Disk1mbrInstaller/InstallData/macOS Install Data/InstallInfo.plist

            Copy the script Q8-Disk2UUIDusb-script/Disk2UUIDusb to the following location.

            /Volumes/Disk1mbrInstaller/usr/bin/Disk2UUIDusb

    Step C, 1.boot to /Volumes/Disk1mbrInstaller,
            2.and you will get get the error "System/Installation/Packages/OSInstall.mpkg" appears to be missing or damaged.
            3.Never mind, you still can use mouse to find the top side tool bar on the screen to get "Disk Utility" and "Terminal".
            4.Use Disk Utility in the macOS installation screen to format target partition as HFS+j, Mac OS Extended (Journaled).
            5.Use Terminal in the macOS installation screen to copy files to target partition, and run the script of Disk2UUIDusb.
              Disk2UUIDusb script will copy /InstallData/ to /Volumes/TargetPartitionName automatically if exist.

              Disk2UUIDusb

              Or you can do it by yourself if you put in different directory.

              cp -Rfv /Your-InstallData-Directory/ /Volumes/TargetPartitionName
              Disk2UUIDusb

            6.Reboot to boot /Volumes/Disk1mbrInstaller to install to target partition as your wish.

Q9. How to update to MBR without downloading the full installer app again?
A9. Follow HowTo,
 
    Step A, set to 2.5G minimal to /Volumes/Disk1mbrInstaller (works fine with any 10.13.x version from MBR method).
    Step B, use script Q9-MBR-Update1013/MBRupdate1013x to make MBR update data automatically as below.
            Example as 10.13.2 Combo Update, 091-52054.

            /Volumes/SystemToUpdate/.IAProductInfo
            /Volumes/SystemToUpdate/macOS Install Data/index.sproduct
            /Volumes/SystemToUpdate/macOS Install Data/InstallInfo.plist
            /Volumes/SystemToUpdate/macOS Install Data/minstallconfig.xml

            /Volumes/SystemToUpdate/macOS Install Data/091-52054/091-52054.English.dist
            /Volumes/SystemToUpdate/macOS Install Data/091-52054/BridgeOSBrain.pkg
            /Volumes/SystemToUpdate/macOS Install Data/091-52054/BridgeOSUpdateCustomer.pkg
            /Volumes/SystemToUpdate/macOS Install Data/091-52054/EmbeddedOSFirmware.pkg
            /Volumes/SystemToUpdate/macOS Install Data/091-52054/FirmwareUpdate.pkg
            /Volumes/SystemToUpdate/macOS Install Data/091-52054/FullBundleUpdate.pkg
            /Volumes/SystemToUpdate/macOS Install Data/091-52054/macOSUpdCombo10.13.2ForSeed.pkg


    Step C, The script Q9-MBR-Update1013/MBRupdate1013x will modify 222-22222 to right value like as 091-52054 automatically.

            /Volumes/SystemToUpdate/macOS Install Data/InstallInfo.plist
                <key>Payload Directory</key>
                <string>/macOS Install Data/222-22222</string>
                <key>Software Update Distribution</key>
                <string>/macOS Install Data/222-22222/222-22222.English.dist</string>
                <key>Software Update Product Key</key>
                <string>222-22222</string>

            Example as 10.13.2 Combo Update, 091-52054. Replace "222-22222" to be "091-52054".

            /Volumes/SystemToUpdate/macOS Install Data/InstallInfo.plist
                <key>Payload Directory</key>
                <string>/macOS Install Data/091-52054</string>
                <key>Software Update Distribution</key>
                <string>/macOS Install Data/091-52054/091-52054.English.dist</string>
                <key>Software Update Product Key</key>
                <string>091-52054</string>

            Reboot to boot /Volumes/Disk1mbrInstaller to update to target partition as your wish.

----------------------------------------------------------------------------------------------------

OSInstaller patch is made
base on 落下爱@pcbeta 10.10.x MBR patch method, and more patch for 10.13 Firmware check by crazybidy.

----------------------------------------------------------------------------------------------------



----------------------------------------------------------------------------------------------------

这个 MBR 补丁 可让 macOS 10.13 安装在 MBR 分区表。

----------------------------------------------------------------------------------------------------

这修改过的 OSInstaller 有何作用?

1. 修改 MBR 检测, 可安装 macOS 10.13 到 MBR 分区。
2. 修改 Firmware 检测, 略过 "An error occurred while verifying firmware" 错误。
3. 这 MBR OSInstaller 安装盘可同时适用安装 MBR 及 GPT 分区 (GPT+recovery).
使用 MBR OSInstaller 无需设置新的 SMbiosversion, FirmwareFeatures, 及 FirmwareFeaturesMask。

----------------------------------------------------------------------------------------------------

适用 macOS 10.13 的引导设置

Clover r4084+

        修改加入以下内容 /EFI/CLOVER/config.plist

        <key>RtVariables</key>
        <dict>
            <key>BooterConfig</key>
            <string>0x28</string>
            <key>CsrActiveConfig</key>
            <string>0x67</string>
        </dict>

Chameleon Enoch r2885+

        修改加入以下内容 /Extra/org.chameleon.Boot.plist如 CsrActiveConfig=103 (Hex 0x67:01100111)

        <key>CsrActiveConfig</key>
        <string>103</string>

        修改加入以下内容 /Extra/kernel.plist可让 kernel 加载 kexts。

        <key>KernelBooter_kexts</key>
        <string>Yes</string>

设置符合 BaseSystem.dmg/System/Library/CoreServices/PlatformSupport.plist 支持的 /Extra/SMBIOS.plist。
可用 Chameleon Wizard 设置 SMBIOS。
http://www.insanelym...-for-chameleon/

----------------------------------------------------------------------------------------------------

如何制作 10.13 的 MBR 安装盘

Read first:

Not the old basesystem method,
the new OSInstaller removed the manual partition selection and keep only automated installation.

It's new basesystem MBR method to load stage2 disk with /MBR-partition/macOS Install Data/ to install to the target /MBR-partition/ automatically.

Install to MBR directly with stage2 automated disk which made by "Install macOS High Sierra.app".
Need to make Basesystem boot disk with MBR patch to load the stage2 automated disk with /macOS Install Data/ to finish the MBR installation.

其他工具:

Disk2UUIDmodify        步骤C, 自动修改 UUID, Target, 及 TargetName 脚本。

ShowAllFiles.app       显示所有稳藏文件".IAProductInfo" 如 "Disk2InstallData/.IAProductInfo"。

                       或使用以下终端命令设置显示或隐藏文件。

                       设置显示 defaults write com.apple.finder AppleShowAllFiles TRUE;\killall Finder
                       设置隐藏 defaults write com.apple.finder AppleShowAllFiles FALSE;\killall Finder

13MBRinstallerMaker    可使用 13MBRinstallerMaker 脚本自动制作 MBR 安装盘
                       (自动制作完成后需手动操作 步骤 A4, A5, B4, B5, B6)

----------------------------------------------------------------------------------------------------

10.13 的 MBR installer 与 10.12 不同必须按照以下步骤安装。

开启 "Install macOS High Sierra.app/Contents/SharedSupport/"确认以下文件

AppleDiagnostics.chunklist
AppleDiagnostics.dmg
BaseSystem.chunklist
BaseSystem.dmg
InstallESD.dmg
InstallInfo.plist

----------------------------------------------------------------------------------------------------

开启 ShowAllFiles.app, 按 "SHOW" 显示所有隐藏文件。

你必须能看见所有隐藏文件如 ".IAProductInfo", "Disk2InstallData/.IAProductInfo"

制作 High Sierra 10.13 MBR 安装盘你需要两个分区
一个 A.Disk1mbrInstaller, 最小空间: 2.5 GB这是开机安装盘。
一个 B.Disk2InstallData, 最小空间: 25.0 GB这是你即将安装 10.13 的系统分区。

不可把所有文件放在 Disk1mbrInstaller这将造成无法安装的错误。

----------------------------------------------------------------------------------------------------

可使用 13MBRinstallerMaker 脚本自动制作 MBR 安装盘
(自动制作完成后需手动操作 步骤 A4, A5, B4, B5, B6)

----------------------------------------------------------------------------------------------------

A.  (Disk1mbrInstaller, 最小空间: 2.5 GB)
    藉由 BaseSystem 制作 MBR 安装盘.

A1. 使用 磁盘工具 恢复 BaseSystem.dmg 到 HFS 分区并将分区重新命名为 Disk1mbrInstaller如 /Volumes/Disk1mbrInstaller/

A2. 移除 /Volumes/Disk1mbrInstaller/System/Installation/Packages (起自 DB6)
    新建 /Volumes/Disk1mbrInstaller/System/Installation/Packages 文件夹
    拷贝 InstallESD.dmg/Packages/OSInstall.mpkg 到 /Volumes/Disk1mbrInstaller/System/Installation/Packages/OSInstall.mpkg

A3. 将 OSInstaller 替换到
    /Volumes/Disk1mbrInstaller/System/Library/PrivateFrameworks/OSInstaller.framework/Versions/A/OSInstaller

A4. (Clover 不需要此步骤, 只适用 变色龙 Enoch r2885+ 用 -f 引导 Disk1mbrInstaller, 可用 Pacifist v3.2.14+ 读取 Core.pkg.)
    新建 /Volumes/Disk1mbrInstaller/System/Library/Kernels 文件夹
    将 InstallESD.dmg/Packages/Core.pkg/System/Library/Kernels/kernel 拷贝到 /Volumes/Disk1mbrInstaller/System/Library/Kernels/kernel

A5. (Clover 不需要此步骤, 只适用 变色龙 Enoch r2885+ 用 -f 引导 Disk1mbrInstaller, 可用 Pacifist v3.2.14+ 读取 Core.pkg.)
    将 InstallESD.dmg/Packages/Core.pkg/System/Library/Extensions 全部替换到 /Volumes/Disk1mbrInstaller/System/Library/Extensions

    如果遇到因显卡驱动造成无法进入安装盘图形介面时移除以下 kext
    /Volumes/Disk1mbrInstaller/System/Library/Extensions/AMD*
    /Volumes/Disk1mbrInstaller/System/Library/Extensions/ATI*
    /Volumes/Disk1mbrInstaller/System/Library/Extensions/AppleIntelBDW*
    /Volumes/Disk1mbrInstaller/System/Library/Extensions/AppleIntelCPU*
    /Volumes/Disk1mbrInstaller/System/Library/Extensions/AppleIntelFramebuffer*
    /Volumes/Disk1mbrInstaller/System/Library/Extensions/AppleIntelHD*
    /Volumes/Disk1mbrInstaller/System/Library/Extensions/AppleIntelHSW*
    /Volumes/Disk1mbrInstaller/System/Library/Extensions/AppleIntelIVB*
    /Volumes/Disk1mbrInstaller/System/Library/Extensions/AppleIntelKBL*
    /Volumes/Disk1mbrInstaller/System/Library/Extensions/AppleIntelSKL*
    /Volumes/Disk1mbrInstaller/System/Library/Extensions/AppleIntelSNB*
    /Volumes/Disk1mbrInstaller/System/Library/Extensions/NVDA*
    /Volumes/Disk1mbrInstaller/System/Library/Extensions/GeForce*

    如果想用 Clover 引导安装可使用以下终端命令重建新的 prelinkedkernel可在 10.11.6 正常运行。
    sudo kextcache -u /Volumes/Disk1mbrInstaller

A6. 完成 Disk1mbrInstaller 制作。

----------------------------------------------------------------------------------------------------

B.  (Disk2InstallData, 最小空间: 25 GB)
    新建 内含 /macOS Install Data/ 的 MBR 分区准备安装 macOS这是你即将安装 10.13 的分区。
    可安装至 空白分区 或 现有系统 如 10.12.6。

    开启 ShowAllFiles.app, 按 "SHOW" 显示所有隐藏文件。
    你必须能看见所有隐藏文件如 ".IAProductInfo", "Disk2InstallData/.IAProductInfo"

B1. 选用一个 HFS+j, Mac OS 扩展 (日志式) 分区并且重新命名为 Disk2InstallData如 /Volumes/Disk2InstallData/最好是格式化或清空文件以备安装 macOS 10.13。

B2. 新建 "/Volumes/Disk2InstallData/macOS Install Data"文件夹
    并拷贝来自 MBR补丁 OSInstallerXXX.zip 的所有文件到 "/Volumes/Disk2InstallData/macOS Install Data"如下

    /Volumes/Disk2InstallData/.IAProductInfo
    /Volumes/Disk2InstallData/macOS Install Data/index.sproduct
    /Volumes/Disk2InstallData/macOS Install Data/MacOSXInstaller.choiceChanges
    /Volumes/Disk2InstallData/macOS Install Data/minstallconfig.xml

B3. 拷贝 "Install macOS High Sierra.app/Contents/SharedSupport/" 的所有文件到 "/Volumes/Disk2InstallData/macOS Install Data"如下

    /Volumes/Disk2InstallData/macOS Install Data/AppleDiagnostics.chunklist
    /Volumes/Disk2InstallData/macOS Install Data/AppleDiagnostics.dmg
    /Volumes/Disk2InstallData/macOS Install Data/BaseSystem.chunklist
    /Volumes/Disk2InstallData/macOS Install Data/BaseSystem.dmg
    /Volumes/Disk2InstallData/macOS Install Data/InstallESD.dmg
    /Volumes/Disk2InstallData/macOS Install Data/InstallInfo.plist

B4. 移除其他分区的 /Volumes/其他分区/.IAProductInfo只保留 /Volumes/Disk2InstallData/.IAProductInfo。

B5. 移除其他分区的 /Volumes/其他分区/macOS Install Data/只保留 /Volumes/Disk2InstallData/macOS Install Data/。

B6. 确认只有一个分区内含 ".IAProductInfo" 及 "/macOS Install Data/"。

B7. 完成 Disk2InstallData 制作。

----------------------------------------------------------------------------------------------------

C.  进行开机引导 MBR 安装盘前须先修改 UUID, Target, 及 TargetName。
    你可以使用来自 zip 文件的 Disk2UUIDmodify 脚本自动修改即可。

C1. 使用终端命令查询 UUID 如下可找到如右所示 "Volume UUID: 313E43C9-9385-3590-8A72-D69BFA952064"。

    diskutil info /Volumes/Disk2InstallData/

C2. 替换 UUID 到以下文件

    /Volumes/Disk2InstallData/.IAProductInfo
        <key>Product URL</key>
        <string>x-osproduct://22222222-2222-2222-2222-222222222222/macOS%20Install%20Data</string>

    /Volumes/Disk2InstallData/macOS Install Data/minstallconfig.xml
        <key>TargetUUID</key>
        <string>22222222-2222-2222-2222-222222222222</string>

C3. 替换 Target, 及 TargetName 到以下文件如 Disk2InstallData 。

    /Volumes/Disk2InstallData/macOS Install Data/minstallconfig.xml
        <key>Target</key>
        <string>/Volumes/macOSmbr</string>
        <key>TargetName</key>
        <string>macOSmbr</string>

    替换 "macOSmbr" 为 "Disk2InstallData" 如下。
        <key>Target</key>
        <string>/Volumes/Disk2InstallData</string>
        <key>TargetName</key>
        <string>Disk2InstallData</string>

C4. 完成修改 UUID, Target, 及 TargetName,
    现在你可以开机引导 /Volumes/Disk1mbrInstaller 安装 macOS 10.13 到 /Volumes/Disk2InstallData。

----------------------------------------------------------------------------------------------------

D.  Q/A

Q1. 如果发生 "System/Installation/Packages/OSInstall.mpkg" appears to be missing or damaged 似乎已缺失或已损坏 的错误?
A1. 1.请确认你有按照以下步骤进行
      step A3
      step B2
      step B4
      step B5
      step C1
      step C2
      step C3
    2.并删掉 /EFI/CLOVER/drivers64UEFI/EmuVariableUefi-64.efi 及 /NVRAM.plist安装完成后可恢复使用。
      (如安装 GPT 则为 EFI分区)
    3.移除其他 HDD 及 SSD 磁盘或在 BIOS 设置 Disable只保留 要安装的磁盘。
    4.如果还是持续错误请在上方选单选择窗口->日志->显示所有日志请提取 安装日志 install log发帖询问错误原因。
      你可能需要按照步骤 A4, A5 在 OSInstall.mpkg 错误时驱动 usb mouse。

Q2. 这个 MBR OSInstaller 仅限 MBR 安装吗? GPT 可以安装吗?
A2. 这个 MBR OSInstaller 安装盘可同时适用安装 MBR 及 GPT 分区 (GPT+recovery).

Q3. 如果安装 GPT 发生 "An error occurred while verifying firmware" 的错误。
A3. 只需要引导开机 Disk1mbrInstaller即会自动安装 由 createinstallmedia 制作安装盘 的 “Install macOS High Sierra.app" 第一阶段生成的
    "GPT-partition/macOS Install Data"。最好也顺便确认 步骤 C1~C4 的内容正确。

Q4. 安装时如何禁止 GPT 的 SSD 自动转换为 APFS 格式?
A4. 抹盘时选用 HFS+j, Mac OS 扩展 (日志式)第二阶段安装前修改 true 为 false即可取消转换为 APFS 格式。
    /macOS Install Data/minstallconfig.xml
        <key>ConvertToAPFS</key>
        <false/>

Q5. 发生 ICH10 的 "Still waiting for root device", "disk1:I/O error", "hot-plug 失效" 的问题?
A5. 这里 10.13.pb1 安装正常但是 10.13.db3 也发生同样问题需要替换 10.13.pb1 的 AppleAHCIPort.kext(v328) 到 S/L/E 才能正常引导。
    http://www.insanelym...leahciportkext/
    以下说明如何重建 prelinkedkernel。
    1. 恢复 BaseSystem.dmg 到一个 分区。
    2. 从 Core.pkg 拷贝 /System/Library/Kernels/kernel 到安装盘相同位置。
    3. 从 Core.pkg 替换安装盘 /System/Library/Extensions 的所有 kext。
    4. 替换 10.13.pb1 的 AppleAHCIPort.kext 到 SLE。
    5. 执行终端命令 sudo kextcache -u /Volumes/BaseSystemName
       (在 10.11.6 运作正常)
    可将取得新的 prelinkedkernel 替换到你所需要的位置。

    或是
    使用 AppleAHCIPort.kext (10.13.0) 的补丁须使用两个补丁。
    第一修补 "Still waiting for root device", "disk1:I/O error" 的补丁:
        4585F60F 95C289C8 83E0FE66 85C9780F 84D2750B -> 89C883E0 FE6685C9 0F98C141 08CC9090 9090750B
    第二修补 "hot-plug 失效" 的补丁:
        89C82540 6002003D 40200000 750C81E1 BF7FFFFF 898B5101 0000 -> 90909090 90909090 90909090 90909090 90909090 90909090 9090
    http://www.insanelym...a365/?p=2505086

Q6. 10.13 beta 与 final 的差异?
A6. 10.13 final 正式版, 以下设置已被移除。
    /macOS Install Data/minstallconfig.xml
    <key>SeedingProgramForTarget</key>
    <string>DeveloperSeed</string>

Q7. 如何安装到 其他电脑
A7. 如果你想安装到其他电脑请按照以下步骤进行
    使用 16G U盘并将 U盘 重新分割为 2.5G 及 13.5G 两个分区。

    依照 HowTo 步骤
    步骤 A, 制作到 2.5G 分区
    步骤 B, 制作到 13.5G 分区
    步骤 C,
    /Volumes/Disk2InstallData/.IAProductInfo, 设置 UUID 为 13.5G 安装来源。
    /Volumes/Disk2InstallData/macOS Install Data/minstallconfig.xml, 设置 UUID, Target, 及 TargetName 为你将要安装的其他电脑的目标分区。

    然后你可以 引导 2.5G 开机安装到其他电脑了。

Q8. 如何使用一个 USB 分区 安装到其他电脑
A8. 依照 HowTo 步骤可使用 Q8-Disk2UUIDusb/Q8MBRinstallerMaker 脚本自动制作 USB MBR 安装盘
    步骤 A, 制作到 最小空间 7.5G 的 USB分区 如 /Volumes/Disk1mbrInstaller。
    步骤 B, 拷贝文件到 /Volumes/Disk1mbrInstaller/InstallData/ 如下。 (自行创建 "InstallData" 文件夹)

           /Volumes/Disk1mbrInstaller/InstallData/.IAProductInfo
           /Volumes/Disk1mbrInstaller/InstallData/macOS Install Data/index.sproduct
           /Volumes/Disk1mbrInstaller/InstallData/macOS Install Data/MacOSXInstaller.choiceChanges
           /Volumes/Disk1mbrInstaller/InstallData/macOS Install Data/minstallconfig.xml

           /Volumes/Disk1mbrInstaller/InstallData/macOS Install Data/AppleDiagnostics.chunklist
           /Volumes/Disk1mbrInstaller/InstallData/macOS Install Data/AppleDiagnostics.dmg
           /Volumes/Disk1mbrInstaller/InstallData/macOS Install Data/BaseSystem.chunklist
           /Volumes/Disk1mbrInstaller/InstallData/macOS Install Data/BaseSystem.dmg
           /Volumes/Disk1mbrInstaller/InstallData/macOS Install Data/InstallESD.dmg
           /Volumes/Disk1mbrInstaller/InstallData/macOS Install Data/InstallInfo.plist

           拷贝脚本 Q8-Disk2UUIDusb-script/Disk2UUIDusb 到以下位置。

           /Volumes/Disk1mbrInstaller/usr/bin/Disk2UUIDusb

    步骤 C, 1.开机引导进入 /Volumes/Disk1mbrInstaller,
           2.仍会发生 "System/Installation/Packages/OSInstall.mpkg" appears to be missing or damaged.
           3.忽略它, 仍然可以使用上方工作列的 "磁盘工具" 及 "终端"。
           4.使用 "磁盘工具" 格式化要安装的分区为 HFS+j, Mac OS 扩展 (日志式) 分区。
           5.使用 "终端" 拷贝文件 到要安装的目标分区并执行脚本 Disk2UUIDusb 即可。
             如果发现 /InstallDataDisk2UUIDusb 脚本会自动拷贝 /InstallData/ 到 /Volumes/TargetPartitionName 目标安装分区。

             Disk2UUIDusb

             或是你放在不同的文件夹也可以自己手动拷贝处理
             cp -Rfv /你的InstallData文件夹/ /Volumes/目标分区
             Disk2UUIDusb

           6.重新开机引导进入 /Volumes/Disk1mbrInstaller 即可进行自动安装到目标分区。

Q9. 如何更新 MBR 系统版本无需重新下载完整安装 app) ?
A9. 依照 HowTo 步骤
    步骤 A, 制作到 最小空间  2.5G 的 10.13 任何版本的开机分区 如 /Volumes/Disk1mbrInstaller。
    步骤 B, 使用 Q9-MBR-Update1013/MBRupdate1013x 自动设置 MBR 更新文件如下。
           例10.13.2 组合更新091-52054。

           /Volumes/SystemToUpdate/.IAProductInfo
           /Volumes/SystemToUpdate/macOS Install Data/index.sproduct
           /Volumes/SystemToUpdate/macOS Install Data/InstallInfo.plist
           /Volumes/SystemToUpdate/macOS Install Data/minstallconfig.xml

           /Volumes/SystemToUpdate/macOS Install Data/091-52054/091-52054.English.dist
           /Volumes/SystemToUpdate/macOS Install Data/091-52054/BridgeOSBrain.pkg
           /Volumes/SystemToUpdate/macOS Install Data/091-52054/BridgeOSUpdateCustomer.pkg
           /Volumes/SystemToUpdate/macOS Install Data/091-52054/EmbeddedOSFirmware.pkg
           /Volumes/SystemToUpdate/macOS Install Data/091-52054/FirmwareUpdate.pkg
           /Volumes/SystemToUpdate/macOS Install Data/091-52054/FullBundleUpdate.pkg
           /Volumes/SystemToUpdate/macOS Install Data/091-52054/macOSUpdCombo10.13.2ForSeed.pkg

    步骤 C, Q9-MBR-Update1013/MBRupdate1013x 会自动将 222-22222 设置为正确数字例 091-52054。

            /Volumes/SystemToUpdate/macOS Install Data/InstallInfo.plist
                <key>Payload Directory</key>
                <string>/macOS Install Data/222-22222</string>
                <key>Software Update Distribution</key>
                <string>/macOS Install Data/222-22222/222-22222.English.dist</string>
                <key>Software Update Product Key</key>
                <string>222-22222</string>

            例10.13.2 组合更新091-52054。替换 "222-22222" 为 "091-52054" 如下。

            /Volumes/SystemToUpdate/macOS Install Data/InstallInfo.plist
                <key>Payload Directory</key>
                <string>/macOS Install Data/091-52054</string>
                <key>Software Update Distribution</key>
                <string>/macOS Install Data/091-52054/091-52054.English.dist</string>
                <key>Software Update Product Key</key>
                <string>091-52054</string>

           重新开机引导进入 /Volumes/Disk1mbrInstaller 即可进行自动更新到目标分区。.

----------------------------------------------------------------------------------------------------

OSInstaller patch is made
base on 落下爱@pcbeta 10.10.x MBR patch method, and more patch for 10.13 Firmware check by crazybidy.

----------------------------------------------------------------------------------------------------

 

 

 

may be is that:

 

 

(Disk2InstallData, minimal size: 25 GB)
    Make macOS Install Data MBR-partition to install MBR-system, this MBR-partition is which you want to install 10.13 now.
    You can install to a blank partition, or update to earlier version like as 10.12.6

    Open ShowAllFiles.app, and click "SHOW" to show all files before start.
    You need to see the hidden files, ".IAProductInfo" as "Disk2InstallData/.IAProductInfo"

B1. Select one HFS+j, Mac OS Extended (Journaled) partition and rename as Disk2InstallData as /Volumes/Disk2InstallData/, empty it is better.

B2. Make directory of "/Volumes/Disk2InstallData/macOS Install Data", and copy the files come with MBR-patch file OSInstallerXXX.zip
    to "/Volumes/Disk2InstallData/macOS Install Data" as below.

    /Volumes/Disk2InstallData/.IAProductInfo
    /Volumes/Disk2InstallData/macOS Install Data/index.sproduct
    /Volumes/Disk2InstallData/macOS Install Data/MacOSXInstaller.choiceChanges
    /Volumes/Disk2InstallData/macOS Install Data/minstallconfig.xml

B3. Copy all the files of "Install macOS High Sierra.app/Contents/SharedSupport/" to "/Volumes/Disk2InstallData/macOS Install Data" as below.

    /Volumes/Disk2InstallData/macOS Install Data/AppleDiagnostics.chunklist
    /Volumes/Disk2InstallData/macOS Install Data/AppleDiagnostics.dmg
    /Volumes/Disk2InstallData/macOS Install Data/BaseSystem.chunklist
    /Volumes/Disk2InstallData/macOS Install Data/BaseSystem.dmg
    /Volumes/Disk2InstallData/macOS Install Data/InstallESD.dmg
    /Volumes/Disk2InstallData/macOS Install Data/InstallInfo.plist

B4. Remove all other /Volumes/partitions/.IAProductInfo if exist, keep only /Volumes/Disk2InstallData/.IAProductInfo.

B5. Remove all other /Volumes/partitions/macOS Install Data/ if exist, keep only /Volumes/Disk2InstallData/macOS Install Data/.

B6. Make sure you have only one partition with ".IAProductInfo" and "/macOS Install Data/" inside.

B7. Done for Disk2InstallData.

 

 

but I don't have partition in my hd, I can create NEW and when I run update, If it create a hidden partition I don't know how to access to it, because the system reboot.



#10
gabryele

gabryele

    InsanelyMac Protégé

  • Members
  • PipPip
  • 61 posts
  • Gender:Male

Follow Q9.

 

Q9. How to update to MBR without downloading the full installer app again?

 

This is the only way I know. If it's not what you want, you may need to find the other way to update your system from someone else.

 

calm, very calm...

so...it need a usb installation with the partition

so... it need a usb with Disk1mbrInstaller partition

 

 

This is the only way I know. If it's not what you want, you may need to find the other way to update your system from someone else.

 

yes, That is what I am doing







0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2017 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy