Update to support macOS 10.13 High Sierra #9

Open
wants to merge 1 commit into
from

Conversation

Projects
None yet
3 participants
@norio-nomura

No description provided.

@@ -194,7 +199,7 @@ cat <<EOF >"$f"
<key>Kernel Cache</key>
<string>/.IABootFiles/$prelinkedKernelB</string>
<key>Kernel Flags</key>
- <string>container-dmg=file:///$inputAppU/Contents/SharedSupport/InstallESD.dmg root-dmg=file:///BaseSystem.dmg</string>
+ <string>root-dmg=file:///$inputAppU/Contents/SharedSupport/BaseSystem.dmg</string>

This comment has been minimized.

@norio-nomura

norio-nomura Jun 8, 2017

Regarding this change, I have not confirmed backward compatibility.

@norio-nomura

norio-nomura Jun 8, 2017

Regarding this change, I have not confirmed backward compatibility.

This comment has been minimized.

@vMikero

vMikero Jun 8, 2017

Contributor

How are you going about installing? Dragging the .app onto the install wizard, or do you create a USB or full DMG first? (The new installer is only 5mb, so it downloads stuff once the installation starts rather than before).

Also, what error does this prevent that you were seeing before?

@vMikero

vMikero Jun 8, 2017

Contributor

How are you going about installing? Dragging the .app onto the install wizard, or do you create a USB or full DMG first? (The new installer is only 5mb, so it downloads stuff once the installation starts rather than before).

Also, what error does this prevent that you were seeing before?

This comment has been minimized.

@norio-nomura

norio-nomura Jun 8, 2017

You can download Install macOS 10.13 Beta.app by installing macOSDeveloperBetaAccessUtility.pkg in macOSDeveloperBetaAccessUtility.dmg.
screenshot 2017-06-09 08 33 26

@norio-nomura

norio-nomura Jun 8, 2017

You can download Install macOS 10.13 Beta.app by installing macOSDeveloperBetaAccessUtility.pkg in macOSDeveloperBetaAccessUtility.dmg.
screenshot 2017-06-09 08 33 26

This comment has been minimized.

@norio-nomura

norio-nomura Jun 8, 2017

Error logs are following:

$  /Volumes/VMware\ Fusion/VMware\ Fusion.app/Contents/Library/Create\ Mavericks\ Installer.tool /Applications/Install\ macOS\ 10.13\ Beta.app test.vmdk
+ set -e
+ set -E
+ inputApp='/Applications/Install macOS 10.13 Beta.app'
++ basename '/Applications/Install macOS 10.13 Beta.app'
+ inputAppB='Install macOS 10.13 Beta.app'
+ inputAppU=Install%20macOS%2010.13%20Beta.app
+ outputVmdk=test.vmdk
+ '[' .vmdk = .vmdk ']'
+ outputDmg=test.dmg
++ defaults read '/Applications/Install macOS 10.13 Beta.app/Contents/Info' CFBundleDisplayName
+ volName='Install macOS 10.13 Beta'
++ mktemp -d -t 'Create Mavericks Installer'
+ tmpDir='/var/folders/kt/2mwy9b_56_7993x190pl_1fh0000gn/T/Create Mavericks Installer.LaHQlL4y'
+ outputMnt='/var/folders/kt/2mwy9b_56_7993x190pl_1fh0000gn/T/Create Mavericks Installer.LaHQlL4y/output'
+ installMnt='/var/folders/kt/2mwy9b_56_7993x190pl_1fh0000gn/T/Create Mavericks Installer.LaHQlL4y/install'
+ baseMnt='/var/folders/kt/2mwy9b_56_7993x190pl_1fh0000gn/T/Create Mavericks Installer.LaHQlL4y/base'
+ trap cleanup ERR
+ hdiutil attach '/Applications/Install macOS 10.13 Beta.app/Contents/SharedSupport/InstallESD.dmg' -mountpoint '/var/folders/kt/2mwy9b_56_7993x190pl_1fh0000gn/T/Create Mavericks Installer.LaHQlL4y/install' -nobrowse -noverify -readonly
/dev/disk3          	GUID_partition_scheme          	
/dev/disk3s1        	EFI                            	
/dev/disk3s2        	Apple_HFS                      	/private/var/folders/kt/2mwy9b_56_7993x190pl_1fh0000gn/T/Create Mavericks Installer.LaHQlL4y/install
+ hdiutil attach '/var/folders/kt/2mwy9b_56_7993x190pl_1fh0000gn/T/Create Mavericks Installer.LaHQlL4y/install/BaseSystem.dmg' -mountpoint '/var/folders/kt/2mwy9b_56_7993x190pl_1fh0000gn/T/Create Mavericks Installer.LaHQlL4y/base' -nobrowse -noverify -readonly
hdiutil: attach failed - No such file or directory
++ cleanup
++ local status=1
++ '[' -d '/var/folders/kt/2mwy9b_56_7993x190pl_1fh0000gn/T/Create Mavericks Installer.LaHQlL4y/output' ']'
++ '[' -d '/var/folders/kt/2mwy9b_56_7993x190pl_1fh0000gn/T/Create Mavericks Installer.LaHQlL4y/base' ']'
++ '[' -d '/var/folders/kt/2mwy9b_56_7993x190pl_1fh0000gn/T/Create Mavericks Installer.LaHQlL4y/install' ']'
++ hdiutil detach '/var/folders/kt/2mwy9b_56_7993x190pl_1fh0000gn/T/Create Mavericks Installer.LaHQlL4y/install'
"disk3" unmounted.
"disk3" ejected.
++ rm -rf -- '/var/folders/kt/2mwy9b_56_7993x190pl_1fh0000gn/T/Create Mavericks Installer.LaHQlL4y'
++ '[' 1 -ne 0 ']'
++ rm -f test.vmdk test.dmg
@norio-nomura

norio-nomura Jun 8, 2017

Error logs are following:

$  /Volumes/VMware\ Fusion/VMware\ Fusion.app/Contents/Library/Create\ Mavericks\ Installer.tool /Applications/Install\ macOS\ 10.13\ Beta.app test.vmdk
+ set -e
+ set -E
+ inputApp='/Applications/Install macOS 10.13 Beta.app'
++ basename '/Applications/Install macOS 10.13 Beta.app'
+ inputAppB='Install macOS 10.13 Beta.app'
+ inputAppU=Install%20macOS%2010.13%20Beta.app
+ outputVmdk=test.vmdk
+ '[' .vmdk = .vmdk ']'
+ outputDmg=test.dmg
++ defaults read '/Applications/Install macOS 10.13 Beta.app/Contents/Info' CFBundleDisplayName
+ volName='Install macOS 10.13 Beta'
++ mktemp -d -t 'Create Mavericks Installer'
+ tmpDir='/var/folders/kt/2mwy9b_56_7993x190pl_1fh0000gn/T/Create Mavericks Installer.LaHQlL4y'
+ outputMnt='/var/folders/kt/2mwy9b_56_7993x190pl_1fh0000gn/T/Create Mavericks Installer.LaHQlL4y/output'
+ installMnt='/var/folders/kt/2mwy9b_56_7993x190pl_1fh0000gn/T/Create Mavericks Installer.LaHQlL4y/install'
+ baseMnt='/var/folders/kt/2mwy9b_56_7993x190pl_1fh0000gn/T/Create Mavericks Installer.LaHQlL4y/base'
+ trap cleanup ERR
+ hdiutil attach '/Applications/Install macOS 10.13 Beta.app/Contents/SharedSupport/InstallESD.dmg' -mountpoint '/var/folders/kt/2mwy9b_56_7993x190pl_1fh0000gn/T/Create Mavericks Installer.LaHQlL4y/install' -nobrowse -noverify -readonly
/dev/disk3          	GUID_partition_scheme          	
/dev/disk3s1        	EFI                            	
/dev/disk3s2        	Apple_HFS                      	/private/var/folders/kt/2mwy9b_56_7993x190pl_1fh0000gn/T/Create Mavericks Installer.LaHQlL4y/install
+ hdiutil attach '/var/folders/kt/2mwy9b_56_7993x190pl_1fh0000gn/T/Create Mavericks Installer.LaHQlL4y/install/BaseSystem.dmg' -mountpoint '/var/folders/kt/2mwy9b_56_7993x190pl_1fh0000gn/T/Create Mavericks Installer.LaHQlL4y/base' -nobrowse -noverify -readonly
hdiutil: attach failed - No such file or directory
++ cleanup
++ local status=1
++ '[' -d '/var/folders/kt/2mwy9b_56_7993x190pl_1fh0000gn/T/Create Mavericks Installer.LaHQlL4y/output' ']'
++ '[' -d '/var/folders/kt/2mwy9b_56_7993x190pl_1fh0000gn/T/Create Mavericks Installer.LaHQlL4y/base' ']'
++ '[' -d '/var/folders/kt/2mwy9b_56_7993x190pl_1fh0000gn/T/Create Mavericks Installer.LaHQlL4y/install' ']'
++ hdiutil detach '/var/folders/kt/2mwy9b_56_7993x190pl_1fh0000gn/T/Create Mavericks Installer.LaHQlL4y/install'
"disk3" unmounted.
"disk3" ejected.
++ rm -rf -- '/var/folders/kt/2mwy9b_56_7993x190pl_1fh0000gn/T/Create Mavericks Installer.LaHQlL4y'
++ '[' 1 -ne 0 ']'
++ rm -f test.vmdk test.dmg

This comment has been minimized.

@clburlison

clburlison Jun 12, 2017

From friends it looks like the stub download that is ~5mb has happened to more than just @vMikero. So far it looks like ~30% of people I've talked with got the stub download. We could rebuild the "fat" installer that Apple has been shipping by running the Installer, allowing it to download, and then copying files from /macOS Install Data into Install macOS 10.13 Beta.app. That also seems hacky. Hopefully this was a oops on Apple's part and they return to shipping full Install macOS XXX.

@clburlison

clburlison Jun 12, 2017

From friends it looks like the stub download that is ~5mb has happened to more than just @vMikero. So far it looks like ~30% of people I've talked with got the stub download. We could rebuild the "fat" installer that Apple has been shipping by running the Installer, allowing it to download, and then copying files from /macOS Install Data into Install macOS 10.13 Beta.app. That also seems hacky. Hopefully this was a oops on Apple's part and they return to shipping full Install macOS XXX.

This comment has been minimized.

@vMikero

vMikero Jun 12, 2017

Contributor

After upgrading my host to 10.13 I ran the installer again and this time it downloaded the whole package before installing, so that 5mb package grew to about 5GB. Once that was finished I used this fix and it created the install image and began the installation. We're investigating tho, so perhaps Apple will shed some light on this for us.

@vMikero

vMikero Jun 12, 2017

Contributor

After upgrading my host to 10.13 I ran the installer again and this time it downloaded the whole package before installing, so that 5mb package grew to about 5GB. Once that was finished I used this fix and it created the install image and began the installation. We're investigating tho, so perhaps Apple will shed some light on this for us.

@@ -78,8 +79,12 @@ hdiutil \
# Mount BaseSystem.dmg so we can access files inside.
# This fails if the image is already mounted somewhere else.
+baseDmg="$inputApp"/Contents/SharedSupport/BaseSystem.dmg

This comment has been minimized.

@norio-nomura

norio-nomura Jun 8, 2017

BaseSystem.dmg is not contained in InstallESD.dmg on High Sierra.

@norio-nomura

norio-nomura Jun 8, 2017

BaseSystem.dmg is not contained in InstallESD.dmg on High Sierra.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment