Instantly share code, notes, and snippets.

Embed
What would you like to do?
Create bootable ISO from HighSierra Installer
# Generate a BaseSystem.dmg with 10.13 Install Packages
hdiutil attach /Applications/Install\ macOS\ 10.13\ Beta.app/Contents/SharedSupport/InstallESD.dmg -noverify -mountpoint /Volumes/highsierra
hdiutil create -o /tmp/HighSierraBase.cdr -size 7316m -layout SPUD -fs HFS+J
hdiutil attach /tmp/HighSierraBase.cdr.dmg -noverify -mountpoint /Volumes/install_build
asr restore -source /Applications/Install\ macOS\ 10.13\ Beta.app/Contents/SharedSupport/BaseSystem.dmg -target /Volumes/install_build -noprompt -noverify -erase
cp -R /Volumes/highsierra/Packages /Volumes/OS\ X\ Base\ System/System/Installation
hdiutil detach /Volumes/OS\ X\ Base\ System/
hdiutil detach /Volumes/highsierra/
mv /tmp/HighSierraBase.cdr.dmg /tmp/BaseSystem.dmg
# Restore the 10.13 Installer's BaseSystem.dmg into file system and place custom BaseSystem.dmg into the root
hdiutil create -o /tmp/HighSierra.cdr -size 8965m -layout SPUD -fs HFS+J
hdiutil attach /tmp/HighSierra.cdr.dmg -noverify -mountpoint /Volumes/install_build
asr restore -source /Applications/Install\ macOS\ 10.13\ Beta.app/Contents/SharedSupport/BaseSystem.dmg -target /Volumes/install_build -noprompt -noverify -erase
cp /tmp/BaseSystem.dmg /Volumes/OS\ X\ Base\ System
hdiutil detach /Volumes/OS\ X\ Base\ System/
hdiutil convert /tmp/HighSierra.cdr.dmg -format UDTO -o /tmp/HighSierra.iso
mv /tmp/HighSierra.iso.cdr ~/Desktop/HighSierra.iso
rm /tmp/HighSierra.cdr.dmg
@fiery-

This comment has been minimized.

Show comment
Hide comment
@fiery-

fiery- Jun 13, 2017

First, thanks for the High Sierra iso script. You may add "rm /tmp/BaseSystem.dmg" at the end.

Using the iso in VirtualBox, I selected the "Reinstall macOS" option:
screen shot 2017-06-14 at 01 50 58

Then installer requires Internet connection (may be to download the restore image) and the Continue button does nothing. It silently fails (no errors appear). I don't see any option how to configure the Internet connection, neither I want to download anything from Apple.
screen shot 2017-06-14 at 01 44 05

So, I just can't use this iso in VirtualBox. However, I was able to install High Sierra as an update to Sierra. This blog helped me a lot.

fiery- commented Jun 13, 2017

First, thanks for the High Sierra iso script. You may add "rm /tmp/BaseSystem.dmg" at the end.

Using the iso in VirtualBox, I selected the "Reinstall macOS" option:
screen shot 2017-06-14 at 01 50 58

Then installer requires Internet connection (may be to download the restore image) and the Continue button does nothing. It silently fails (no errors appear). I don't see any option how to configure the Internet connection, neither I want to download anything from Apple.
screen shot 2017-06-14 at 01 44 05

So, I just can't use this iso in VirtualBox. However, I was able to install High Sierra as an update to Sierra. This blog helped me a lot.

@satmandu

This comment has been minimized.

Show comment
Hide comment
@satmandu

satmandu Jun 29, 2017

Edit: Updated for final release.

Another way is to use the built-in createinstallmedia tool to install to that blank image, and then convert the image to iso.

(But createinstallmedia needs to be run as root via sudo.)

(Confirmed that the following steps work for 10.13.6)

hdiutil create -o /tmp/HighSierra.cdr -size 8000m -layout SPUD -fs HFS+J
hdiutil attach /tmp/HighSierra.cdr.dmg -noverify -mountpoint /Volumes/install_build
sudo /Applications/Install\ macOS\ High\ Sierra.app/Contents/Resources/createinstallmedia  --volume /Volumes/install_build --applicationpath /Applications/Install\ macOS\ High\ Sierra.app --nointeraction
hdiutil detach "/Volumes/Install macOS High Sierra"
hdiutil convert /tmp/HighSierra.cdr.dmg -format UDTO -o /tmp/HighSierra.iso
mv /tmp/HighSierra.iso.cdr ~/Desktop/HighSierra.iso
rm /tmp/HighSierra.cdr.dmg

I modified your instructions though to use the app for the Release High Sierra Installer:


# Generate a BaseSystem.dmg with High Sierra Installer Packages
hdiutil attach /Applications/Install\ macOS\ High\ Sierra.app/Contents/SharedSupport/InstallESD.dmg -noverify -mountpoint /Volumes/highsierra
hdiutil create -o /tmp/HighSierraBase.cdr -size 8000m -layout SPUD -fs HFS+J
hdiutil attach /tmp/HighSierraBase.cdr.dmg -noverify -mountpoint /Volumes/install_build
asr restore -source /Applications/Install\ macOS\ High\ Sierra.app/Contents/SharedSupport/BaseSystem.dmg -target /Volumes/install_build -noprompt -noverify -erase
cp -R /Volumes/highsierra/Packages /Volumes/OS\ X\ Base\ System/System/Installation
hdiutil detach /Volumes/OS\ X\ Base\ System/
hdiutil detach /Volumes/highsierra/
mv /tmp/HighSierraBase.cdr.dmg /tmp/BaseSystem.dmg

# Restore the High Sierra Installer's BaseSystem.dmg into file system and place custom BaseSystem.dmg into the root
hdiutil create -o /tmp/HighSierra.cdr -size 9000m -layout SPUD -fs HFS+J
hdiutil attach /tmp/HighSierra.cdr.dmg -noverify -mountpoint /Volumes/install_build
asr restore -source /Applications/Install\ macOS\ High\ Sierra.app/Contents/SharedSupport/BaseSystem.dmg -target /Volumes/install_build -noprompt -noverify -erase
cp /tmp/BaseSystem.dmg /Volumes/OS\ X\ Base\ System
rm /tmp/BaseSystem.dmg

hdiutil detach /Volumes/OS\ X\ Base\ System/
hdiutil convert /tmp/HighSierra.cdr.dmg -format UDTO -o /tmp/HighSierra.iso
mv /tmp/HighSierra.iso.cdr ~/Desktop/HighSierra.iso
rm /tmp/HighSierra.cdr.dmg

satmandu commented Jun 29, 2017

Edit: Updated for final release.

Another way is to use the built-in createinstallmedia tool to install to that blank image, and then convert the image to iso.

(But createinstallmedia needs to be run as root via sudo.)

(Confirmed that the following steps work for 10.13.6)

hdiutil create -o /tmp/HighSierra.cdr -size 8000m -layout SPUD -fs HFS+J
hdiutil attach /tmp/HighSierra.cdr.dmg -noverify -mountpoint /Volumes/install_build
sudo /Applications/Install\ macOS\ High\ Sierra.app/Contents/Resources/createinstallmedia  --volume /Volumes/install_build --applicationpath /Applications/Install\ macOS\ High\ Sierra.app --nointeraction
hdiutil detach "/Volumes/Install macOS High Sierra"
hdiutil convert /tmp/HighSierra.cdr.dmg -format UDTO -o /tmp/HighSierra.iso
mv /tmp/HighSierra.iso.cdr ~/Desktop/HighSierra.iso
rm /tmp/HighSierra.cdr.dmg

I modified your instructions though to use the app for the Release High Sierra Installer:


# Generate a BaseSystem.dmg with High Sierra Installer Packages
hdiutil attach /Applications/Install\ macOS\ High\ Sierra.app/Contents/SharedSupport/InstallESD.dmg -noverify -mountpoint /Volumes/highsierra
hdiutil create -o /tmp/HighSierraBase.cdr -size 8000m -layout SPUD -fs HFS+J
hdiutil attach /tmp/HighSierraBase.cdr.dmg -noverify -mountpoint /Volumes/install_build
asr restore -source /Applications/Install\ macOS\ High\ Sierra.app/Contents/SharedSupport/BaseSystem.dmg -target /Volumes/install_build -noprompt -noverify -erase
cp -R /Volumes/highsierra/Packages /Volumes/OS\ X\ Base\ System/System/Installation
hdiutil detach /Volumes/OS\ X\ Base\ System/
hdiutil detach /Volumes/highsierra/
mv /tmp/HighSierraBase.cdr.dmg /tmp/BaseSystem.dmg

# Restore the High Sierra Installer's BaseSystem.dmg into file system and place custom BaseSystem.dmg into the root
hdiutil create -o /tmp/HighSierra.cdr -size 9000m -layout SPUD -fs HFS+J
hdiutil attach /tmp/HighSierra.cdr.dmg -noverify -mountpoint /Volumes/install_build
asr restore -source /Applications/Install\ macOS\ High\ Sierra.app/Contents/SharedSupport/BaseSystem.dmg -target /Volumes/install_build -noprompt -noverify -erase
cp /tmp/BaseSystem.dmg /Volumes/OS\ X\ Base\ System
rm /tmp/BaseSystem.dmg

hdiutil detach /Volumes/OS\ X\ Base\ System/
hdiutil convert /tmp/HighSierra.cdr.dmg -format UDTO -o /tmp/HighSierra.iso
mv /tmp/HighSierra.iso.cdr ~/Desktop/HighSierra.iso
rm /tmp/HighSierra.cdr.dmg
@gencube

This comment has been minimized.

Show comment
Hide comment
@gencube

gencube Jul 15, 2017

@agentsim, do you have instruction on how to create bootable usb from Linux?

gencube commented Jul 15, 2017

@agentsim, do you have instruction on how to create bootable usb from Linux?

@gerrior

This comment has been minimized.

Show comment
Hide comment
@gerrior

gerrior Jul 28, 2017

@Fiery Is that the Console app running in the background in the screen shot? How did you invoke that?

gerrior commented Jul 28, 2017

@Fiery Is that the Console app running in the background in the screen shot? How did you invoke that?

@ryandesign

This comment has been minimized.

Show comment
Hide comment
@ryandesign

ryandesign Sep 14, 2017

@gerrior It's just the installer's log window. When in Installer, select Log from the Window menu.

ryandesign commented Sep 14, 2017

@gerrior It's just the installer's log window. When in Installer, select Log from the Window menu.

@vlaxa

This comment has been minimized.

Show comment
Hide comment
@vlaxa

vlaxa Sep 26, 2017

Update for public release:
/Applications/Install\ macOS\ 10.13\ Beta.app/Contents/SharedSupport/InstallESD.dmg
to:
/Applications/Install\ macOS\ High\ Sierra.app/Contents/SharedSupport/InstallESD.dmg

vlaxa commented Sep 26, 2017

Update for public release:
/Applications/Install\ macOS\ 10.13\ Beta.app/Contents/SharedSupport/InstallESD.dmg
to:
/Applications/Install\ macOS\ High\ Sierra.app/Contents/SharedSupport/InstallESD.dmg

@jeremy12777

This comment has been minimized.

Show comment
Hide comment
@jeremy12777

jeremy12777 Sep 27, 2017

What is the terminal command steps to make the app store high sierra that got released to public how to make into a bootable dvd
Everyone i find its only for beta please help as i have no usb drives and want it on a dual layer dvd

jeremy12777 commented Sep 27, 2017

What is the terminal command steps to make the app store high sierra that got released to public how to make into a bootable dvd
Everyone i find its only for beta please help as i have no usb drives and want it on a dual layer dvd

@umetzu

This comment has been minimized.

Show comment
Hide comment
@umetzu

umetzu Sep 27, 2017

Added 2 lines for the final release:

hdiutil attach /Applications/Install\ macOS\ High\ Sierra.app/Contents/SharedSupport/InstallESD.dmg -noverify -mountpoint /Volumes/highsierra
hdiutil create -o /tmp/HighSierraBase.cdr -size 7316m -layout SPUD -fs HFS+J
hdiutil attach /tmp/HighSierraBase.cdr.dmg -noverify -mountpoint /Volumes/install_build
asr restore -source /Applications/Install\ macOS\ High\ Sierra.app/Contents/SharedSupport/BaseSystem.dmg -target /Volumes/install_build -noprompt -noverify -erase
rm /Volumes/OS\ X\ Base\ System/System/Installation/Packages
cp -R /Volumes/highsierra/Packages /Volumes/OS\ X\ Base\ System/System/Installation
hdiutil detach /Volumes/OS\ X\ Base\ System/
hdiutil detach /Volumes/highsierra/
mv /tmp/HighSierraBase.cdr.dmg /tmp/BaseSystem.dmg

# Restore the 10.13 Installer's BaseSystem.dmg into file system and place custom BaseSystem.dmg into the root
hdiutil create -o /tmp/HighSierra.cdr -size 8965m -layout SPUD -fs HFS+J
hdiutil attach /tmp/HighSierra.cdr.dmg -noverify -mountpoint /Volumes/install_build
asr restore -source /Applications/Install\ macOS\ High\ Sierra.app/Contents/SharedSupport/BaseSystem.dmg -target /Volumes/install_build -noprompt -noverify -erase
cp /tmp/BaseSystem.dmg /Volumes/OS\ X\ Base\ System

hdiutil detach /Volumes/OS\ X\ Base\ System/
rm /tmp/BaseSystem.dmg

hdiutil convert /tmp/HighSierra.cdr.dmg -format UDTO -o /tmp/HighSierra.iso
mv /tmp/HighSierra.iso.cdr ~/Desktop/HighSierra.iso
rm /tmp/HighSierra.cdr.dmg

umetzu commented Sep 27, 2017

Added 2 lines for the final release:

hdiutil attach /Applications/Install\ macOS\ High\ Sierra.app/Contents/SharedSupport/InstallESD.dmg -noverify -mountpoint /Volumes/highsierra
hdiutil create -o /tmp/HighSierraBase.cdr -size 7316m -layout SPUD -fs HFS+J
hdiutil attach /tmp/HighSierraBase.cdr.dmg -noverify -mountpoint /Volumes/install_build
asr restore -source /Applications/Install\ macOS\ High\ Sierra.app/Contents/SharedSupport/BaseSystem.dmg -target /Volumes/install_build -noprompt -noverify -erase
rm /Volumes/OS\ X\ Base\ System/System/Installation/Packages
cp -R /Volumes/highsierra/Packages /Volumes/OS\ X\ Base\ System/System/Installation
hdiutil detach /Volumes/OS\ X\ Base\ System/
hdiutil detach /Volumes/highsierra/
mv /tmp/HighSierraBase.cdr.dmg /tmp/BaseSystem.dmg

# Restore the 10.13 Installer's BaseSystem.dmg into file system and place custom BaseSystem.dmg into the root
hdiutil create -o /tmp/HighSierra.cdr -size 8965m -layout SPUD -fs HFS+J
hdiutil attach /tmp/HighSierra.cdr.dmg -noverify -mountpoint /Volumes/install_build
asr restore -source /Applications/Install\ macOS\ High\ Sierra.app/Contents/SharedSupport/BaseSystem.dmg -target /Volumes/install_build -noprompt -noverify -erase
cp /tmp/BaseSystem.dmg /Volumes/OS\ X\ Base\ System

hdiutil detach /Volumes/OS\ X\ Base\ System/
rm /tmp/BaseSystem.dmg

hdiutil convert /tmp/HighSierra.cdr.dmg -format UDTO -o /tmp/HighSierra.iso
mv /tmp/HighSierra.iso.cdr ~/Desktop/HighSierra.iso
rm /tmp/HighSierra.cdr.dmg
@br0adband

This comment has been minimized.

Show comment
Hide comment
@br0adband

br0adband Sep 28, 2017

Well, I've been trying to create a functional bootable installation ISO for High Sierra for like 2 weeks now and I have to say I'm getting sick of doing it over and over again and never getting it to work. I used the original script above and had no success - what I end up with is a 9GB+ ISO file that will boot, yes, but it only boots to the remote disk install method where it has to contact Apple to pull down the installation files every single time and that seems a bit stupid considering they're all right there on the ISO I just created.

So, when I saw that newly updated one for the final release posted earlier I fired everything up yet again and gave it another shot and, well, the same results again. I don't particularly know why this is happening, perhaps Apple added some check code in High Sierra so it can detect when it's being used in a virtual machine (I'm using VMware Workstation Pro 12.5, I know that version 14 was just released but I'm not going to touch that right now) and then it just craps out with the remote disk installer instead of accessing the actual files on the ISO.

Again it just seems stupid how this is working out but that's what happens I suppose. I still have hope a solution will present itself but, even that updated script that should work for the final release seems like it would but, at least in my usage of it, still just gives me a 9GB+ ISO that can only do the most basic thing which is the remote disk installation method. Sure would be nice to figure this crap out.

Dammit Apple, why are you making things so difficult. :)

br0adband commented Sep 28, 2017

Well, I've been trying to create a functional bootable installation ISO for High Sierra for like 2 weeks now and I have to say I'm getting sick of doing it over and over again and never getting it to work. I used the original script above and had no success - what I end up with is a 9GB+ ISO file that will boot, yes, but it only boots to the remote disk install method where it has to contact Apple to pull down the installation files every single time and that seems a bit stupid considering they're all right there on the ISO I just created.

So, when I saw that newly updated one for the final release posted earlier I fired everything up yet again and gave it another shot and, well, the same results again. I don't particularly know why this is happening, perhaps Apple added some check code in High Sierra so it can detect when it's being used in a virtual machine (I'm using VMware Workstation Pro 12.5, I know that version 14 was just released but I'm not going to touch that right now) and then it just craps out with the remote disk installer instead of accessing the actual files on the ISO.

Again it just seems stupid how this is working out but that's what happens I suppose. I still have hope a solution will present itself but, even that updated script that should work for the final release seems like it would but, at least in my usage of it, still just gives me a 9GB+ ISO that can only do the most basic thing which is the remote disk installation method. Sure would be nice to figure this crap out.

Dammit Apple, why are you making things so difficult. :)

@halabibk

This comment has been minimized.

Show comment
Hide comment
@halabibk

halabibk Oct 2, 2017

Best way to create an ISO for macOS High Sierra 5.23 GB:

hdiutil create -o /tmp/HighSierra.cdr -size 5130m -layout SPUD -fs HFS+J
hdiutil attach /tmp/HighSierra.cdr.dmg -noverify -mountpoint /Volumes/install_build
sudo /Applications/Install\ macOS\ High\ Sierra.app/Contents/Resources/createinstallmedia --volume /Volumes/install_build
mv /tmp/HighSierra.cdr.dmg ~/Desktop/InstallSystem.dmg

Final Use PowerIso to convert DMG to ISO

Enjoy..!

halabibk commented Oct 2, 2017

Best way to create an ISO for macOS High Sierra 5.23 GB:

hdiutil create -o /tmp/HighSierra.cdr -size 5130m -layout SPUD -fs HFS+J
hdiutil attach /tmp/HighSierra.cdr.dmg -noverify -mountpoint /Volumes/install_build
sudo /Applications/Install\ macOS\ High\ Sierra.app/Contents/Resources/createinstallmedia --volume /Volumes/install_build
mv /tmp/HighSierra.cdr.dmg ~/Desktop/InstallSystem.dmg

Final Use PowerIso to convert DMG to ISO

Enjoy..!

@br0adband

This comment has been minimized.

Show comment
Hide comment
@br0adband

br0adband Oct 3, 2017

halabibk:

THANK YOU, finally a working solution, tested myself a short time ago without any issues whatsoever, but I added:

hdiutil convert ~/Desktop/InstallSystem.dmg -format UDTO -o ~/Desktop/HighSierra.iso

to the end to get the final ISO conversion done which is followed by just renaming the HighSierra.iso.cdr to HighSierra.iso manually and then deleted the InstallSystem.dmg of course to get that space back.

Again, thanks for sharing that solution.

EDIT:
Ok, I used those instructions in the post above (halabibk's post) and the first time I did it I got it to work, it installed just fine without a single issue. But then I got stupid and decided to do it again on another drive and the second time it didn't work: the ISO remained bootable, and it did the installation, but the resulting VM wasn't bootable at all. I did some checking and of course even though I had manually chosen to format the virtual hard drive as HFS+ the installer created the APFS container and that borked everything so now I'm attempting to do this in another manner (because that was done using an SSD where the virtual hard drive vmdk file resided).

br0adband commented Oct 3, 2017

halabibk:

THANK YOU, finally a working solution, tested myself a short time ago without any issues whatsoever, but I added:

hdiutil convert ~/Desktop/InstallSystem.dmg -format UDTO -o ~/Desktop/HighSierra.iso

to the end to get the final ISO conversion done which is followed by just renaming the HighSierra.iso.cdr to HighSierra.iso manually and then deleted the InstallSystem.dmg of course to get that space back.

Again, thanks for sharing that solution.

EDIT:
Ok, I used those instructions in the post above (halabibk's post) and the first time I did it I got it to work, it installed just fine without a single issue. But then I got stupid and decided to do it again on another drive and the second time it didn't work: the ISO remained bootable, and it did the installation, but the resulting VM wasn't bootable at all. I did some checking and of course even though I had manually chosen to format the virtual hard drive as HFS+ the installer created the APFS container and that borked everything so now I'm attempting to do this in another manner (because that was done using an SSD where the virtual hard drive vmdk file resided).

@raellic

This comment has been minimized.

Show comment
Hide comment
@raellic

raellic Oct 4, 2017

@br0adband, issuing your command before unmounting the install disk image produced a "resource not available" message for me. I guess it can't convert the disk image while the image is mounted. I issued this command before yours to unmount, and it worked:

hdiutil detach /Volumes/Install\ macOS\ High\ Sierra

So to recap, the following sequence combining @halabibk and @bro0adband's solutions works for generating the ISO:

hdiutil create -o /tmp/HighSierra.cdr -size 5130m -layout SPUD -fs HFS+J
hdiutil attach /tmp/HighSierra.cdr.dmg -noverify -mountpoint /Volumes/install_build
sudo /Applications/Install\ macOS\ High\ Sierra.app/Contents/Resources/createinstallmedia --volume /Volumes/install_build
mv /tmp/HighSierra.cdr.dmg ~/Desktop/InstallSystem.dmg
hdiutil detach /Volumes/Install\ macOS\ High\ Sierra
hdiutil convert ~/Desktop/InstallSystem.dmg -format UDTO -o ~/Desktop/HighSierra.iso

Then manually rename the HighSierra.iso.cdr file to HighSierra.iso.

raellic commented Oct 4, 2017

@br0adband, issuing your command before unmounting the install disk image produced a "resource not available" message for me. I guess it can't convert the disk image while the image is mounted. I issued this command before yours to unmount, and it worked:

hdiutil detach /Volumes/Install\ macOS\ High\ Sierra

So to recap, the following sequence combining @halabibk and @bro0adband's solutions works for generating the ISO:

hdiutil create -o /tmp/HighSierra.cdr -size 5130m -layout SPUD -fs HFS+J
hdiutil attach /tmp/HighSierra.cdr.dmg -noverify -mountpoint /Volumes/install_build
sudo /Applications/Install\ macOS\ High\ Sierra.app/Contents/Resources/createinstallmedia --volume /Volumes/install_build
mv /tmp/HighSierra.cdr.dmg ~/Desktop/InstallSystem.dmg
hdiutil detach /Volumes/Install\ macOS\ High\ Sierra
hdiutil convert ~/Desktop/InstallSystem.dmg -format UDTO -o ~/Desktop/HighSierra.iso

Then manually rename the HighSierra.iso.cdr file to HighSierra.iso.

@jowaju

This comment has been minimized.

Show comment
Hide comment
@jowaju

jowaju Oct 4, 2017

I can confirm the following commands gave me an ISO image that successfully installed High Sierra 10.13 final downloaded from the app store to an Actual, Real Airbook via USB DVD drive, using the APFS container with zero issues. Wifi was disabled before beginning the install. Took a looooooong time to transfer files from the DVD, but it worked 100%. Looks like the APFS issue you mentioned is something in VirtualBox, not something wrong with the image itself.

hdiutil create -o /tmp/HighSierra.cdr -size 5130m -layout SPUD -fs HFS+J
hdiutil attach /tmp/HighSierra.cdr.dmg -noverify -mountpoint /Volumes/install_build
sudo /Applications/Install\ macOS\ High\ Sierra.app/Contents/Resources/createinstallmedia --volume /Volumes/install_build
mv /tmp/HighSierra.cdr.dmg ~/Desktop/InstallSystem.dmg
hdiutil convert ~/Desktop/InstallSystem.dmg -format UDTO -o ~/Desktop/HighSierra.iso

PS - PowerISO said no conversion was necessary when I attempted to use it to convert the DMG to ISO, and the file sizes were identical.

jowaju commented Oct 4, 2017

I can confirm the following commands gave me an ISO image that successfully installed High Sierra 10.13 final downloaded from the app store to an Actual, Real Airbook via USB DVD drive, using the APFS container with zero issues. Wifi was disabled before beginning the install. Took a looooooong time to transfer files from the DVD, but it worked 100%. Looks like the APFS issue you mentioned is something in VirtualBox, not something wrong with the image itself.

hdiutil create -o /tmp/HighSierra.cdr -size 5130m -layout SPUD -fs HFS+J
hdiutil attach /tmp/HighSierra.cdr.dmg -noverify -mountpoint /Volumes/install_build
sudo /Applications/Install\ macOS\ High\ Sierra.app/Contents/Resources/createinstallmedia --volume /Volumes/install_build
mv /tmp/HighSierra.cdr.dmg ~/Desktop/InstallSystem.dmg
hdiutil convert ~/Desktop/InstallSystem.dmg -format UDTO -o ~/Desktop/HighSierra.iso

PS - PowerISO said no conversion was necessary when I attempted to use it to convert the DMG to ISO, and the file sizes were identical.

@mykola87

This comment has been minimized.

Show comment
Hide comment
@mykola87

mykola87 Oct 6, 2017

when I run the script (edited for the final release) it fails on line 6.
I ran each line separately in Terminal. I even re-downloaded the installation file just in case. The error I receive is:
Mac:~ username$ cp -R /Volumes/highsierra/Packages /Volumes/OS\ X\ Base\ System/System/Installation cp: /Volumes/OS X Base System/System/Installation/Packages: File exists cp: /Volumes/highsierra/Packages: unable to copy extended attributes to /Volumes/OS X Base System/System/Installation/Packages: No such file or directory cp: /Volumes/OS X Base System/System/Installation/Packages/Core.pkg: No such file or directory cp: /Volumes/OS X Base System/System/Installation/Packages/EmbeddedOSFirmware.pkg: No such file or directory cp: /Volumes/OS X Base System/System/Installation/Packages/FirmwareUpdate.pkg: No such file or directory cp: /Volumes/OS X Base System/System/Installation/Packages/OSInstall.mpkg: No such file or directory
Any idea why this happens ?
running this in an existing vmware install of macOS High Sierra

mykola87 commented Oct 6, 2017

when I run the script (edited for the final release) it fails on line 6.
I ran each line separately in Terminal. I even re-downloaded the installation file just in case. The error I receive is:
Mac:~ username$ cp -R /Volumes/highsierra/Packages /Volumes/OS\ X\ Base\ System/System/Installation cp: /Volumes/OS X Base System/System/Installation/Packages: File exists cp: /Volumes/highsierra/Packages: unable to copy extended attributes to /Volumes/OS X Base System/System/Installation/Packages: No such file or directory cp: /Volumes/OS X Base System/System/Installation/Packages/Core.pkg: No such file or directory cp: /Volumes/OS X Base System/System/Installation/Packages/EmbeddedOSFirmware.pkg: No such file or directory cp: /Volumes/OS X Base System/System/Installation/Packages/FirmwareUpdate.pkg: No such file or directory cp: /Volumes/OS X Base System/System/Installation/Packages/OSInstall.mpkg: No such file or directory
Any idea why this happens ?
running this in an existing vmware install of macOS High Sierra

@Ezerbeth

This comment has been minimized.

Show comment
Hide comment
@Ezerbeth

Ezerbeth Oct 14, 2017

Doesn't work for me. The "cp -R /Volumes/highsierra/Packages /Volumes/OS\ X\ Base\ System/System/Installation" part just errors out with 10 different errors, so it's impossible to continue.

Easy answer to this: use createinstallmedia from the official image and then rip your USB/DVD device to ISO. Two steps required and it just works. Nice script tho.

Ezerbeth commented Oct 14, 2017

Doesn't work for me. The "cp -R /Volumes/highsierra/Packages /Volumes/OS\ X\ Base\ System/System/Installation" part just errors out with 10 different errors, so it's impossible to continue.

Easy answer to this: use createinstallmedia from the official image and then rip your USB/DVD device to ISO. Two steps required and it just works. Nice script tho.

@dschense

This comment has been minimized.

Show comment
Hide comment
@dschense

dschense Oct 17, 2017

For me everything is working fine! got a working .iso and installed this on vbox on manjaro rolling release. Nice setup to play with ;)

dschense commented Oct 17, 2017

For me everything is working fine! got a working .iso and installed this on vbox on manjaro rolling release. Nice setup to play with ;)

@emev

This comment has been minimized.

Show comment
Hide comment
@emev

emev Nov 3, 2017

@agentsum, @satmandu, @umetzu, @vbosx Thank you very much! Everything worked perfectly for me!

emev commented Nov 3, 2017

@agentsum, @satmandu, @umetzu, @vbosx Thank you very much! Everything worked perfectly for me!

@schnabelewobski

This comment has been minimized.

Show comment
Hide comment
@schnabelewobski

schnabelewobski Nov 3, 2017

Be aware that the disk size may have to be adjusted. 5130m didn't work for me, but 5300m did.

schnabelewobski commented Nov 3, 2017

Be aware that the disk size may have to be adjusted. 5130m didn't work for me, but 5300m did.

@pat-s

This comment has been minimized.

Show comment
Hide comment
@pat-s

pat-s Nov 19, 2017

This worked for me using an increased size for the base image. Thanks to all contributers!

hdiutil create -o /tmp/HighSierra.cdr -size 5500m -layout SPUD -fs HFS+J
hdiutil attach /tmp/HighSierra.cdr.dmg -noverify -mountpoint /Volumes/install_build
sudo /Applications/Install\ macOS\ High\ Sierra.app/Contents/Resources/createinstallmedia --volume /Volumes/install_build
mv /tmp/HighSierra.cdr.dmg ~/Desktop/InstallSystem.dmg
hdiutil detach /Volumes/Install\ macOS\ High\ Sierra
hdiutil convert ~/Desktop/InstallSystem.dmg -format UDTO -o ~/Desktop/HighSierra.iso

pat-s commented Nov 19, 2017

This worked for me using an increased size for the base image. Thanks to all contributers!

hdiutil create -o /tmp/HighSierra.cdr -size 5500m -layout SPUD -fs HFS+J
hdiutil attach /tmp/HighSierra.cdr.dmg -noverify -mountpoint /Volumes/install_build
sudo /Applications/Install\ macOS\ High\ Sierra.app/Contents/Resources/createinstallmedia --volume /Volumes/install_build
mv /tmp/HighSierra.cdr.dmg ~/Desktop/InstallSystem.dmg
hdiutil detach /Volumes/Install\ macOS\ High\ Sierra
hdiutil convert ~/Desktop/InstallSystem.dmg -format UDTO -o ~/Desktop/HighSierra.iso

@mcandre

This comment has been minimized.

Show comment
Hide comment
@mcandre

mcandre Nov 26, 2017

Just noting here that createinstallmedia often yields a broken disk image, that makes VirtualBox get stuck in UEFI shell. Rerunning the createinstallmedia step eventually fixes this problem. And yeah, using at least 5500MB for the image also helps. :/

mcandre commented Nov 26, 2017

Just noting here that createinstallmedia often yields a broken disk image, that makes VirtualBox get stuck in UEFI shell. Rerunning the createinstallmedia step eventually fixes this problem. And yeah, using at least 5500MB for the image also helps. :/

@singhsays

This comment has been minimized.

Show comment
Hide comment
@singhsays

singhsays Dec 1, 2017

pat-s's recipe worked perfectly for me.

singhsays commented Dec 1, 2017

pat-s's recipe worked perfectly for me.

@zapinguete

This comment has been minimized.

Show comment
Hide comment
@zapinguete

zapinguete Dec 2, 2017

pat-s, hat off 2 you

zapinguete commented Dec 2, 2017

pat-s, hat off 2 you

@Candunc

This comment has been minimized.

Show comment
Hide comment
@Candunc

Candunc Dec 5, 2017

If you get stuck at the UEFI Shell, there is a workaround. Type the following in:

Shell> fs1:
FS1:> cd "macOS Install Data"
FS1:\macOS Install Data> cd "Locked Files"
FS1:\macOS Install Data\Locked Files> cd "Boot Files"
FS1:\macOS Install Data\Locked Files\Boot Files> boot.efi

From this github comment which credits https://raimue.blog/2017/06/09/upgrading-a-vm-from-macos-10-12-sierra-to-macos-10-13-high-sierra-in-virtualbox/

Candunc commented Dec 5, 2017

If you get stuck at the UEFI Shell, there is a workaround. Type the following in:

Shell> fs1:
FS1:> cd "macOS Install Data"
FS1:\macOS Install Data> cd "Locked Files"
FS1:\macOS Install Data\Locked Files> cd "Boot Files"
FS1:\macOS Install Data\Locked Files\Boot Files> boot.efi

From this github comment which credits https://raimue.blog/2017/06/09/upgrading-a-vm-from-macos-10-12-sierra-to-macos-10-13-high-sierra-in-virtualbox/

@stylemessiah

This comment has been minimized.

Show comment
Hide comment
@stylemessiah

stylemessiah Dec 9, 2017

I tried pats's steps and when issuing "sudo /Applications/Install\ macOS\ High\ Sierra.app/Contents/Resources/createinstallmedia --volume /Volumes/install_build" i get the following:

Erasing Disk: 0%... 10%...
Error erasing disk error number (1, 0)
A error occurred erasing the disk.

Any ideas?

stylemessiah commented Dec 9, 2017

I tried pats's steps and when issuing "sudo /Applications/Install\ macOS\ High\ Sierra.app/Contents/Resources/createinstallmedia --volume /Volumes/install_build" i get the following:

Erasing Disk: 0%... 10%...
Error erasing disk error number (1, 0)
A error occurred erasing the disk.

Any ideas?

@nonusoft

This comment has been minimized.

Show comment
Hide comment

nonusoft commented Dec 12, 2017

@sovcharenko

This comment has been minimized.

Show comment
Hide comment
@sovcharenko

sovcharenko Dec 13, 2017

@stylemessiah, I had the same issue. I wasn't able to quickly find a reasonable explanation/fix. Instead I created dmg using disk utility (File -> New Image -> Blank Image, Size 6000 Mb, Format Mac OS Extended Journaled, Single partition - GUID Partition Map, read/write) and it worked just fine.

sovcharenko commented Dec 13, 2017

@stylemessiah, I had the same issue. I wasn't able to quickly find a reasonable explanation/fix. Instead I created dmg using disk utility (File -> New Image -> Blank Image, Size 6000 Mb, Format Mac OS Extended Journaled, Single partition - GUID Partition Map, read/write) and it worked just fine.

@mwiesen

This comment has been minimized.

Show comment
Hide comment
@mwiesen

mwiesen Dec 26, 2017

On MacOS 10.13.2: If you get a Failed to copy kernelcache, “prelinkedkernel” couldn’t be copied to “.IABootFiles”. Error during the createinstallmedia step, increasing the size of the image to 5530m worked for me. In the end, the steps that did the job for me were:

hdiutil create -o /tmp/HighSierra.cdr -size 5530m -layout SPUD -fs HFS+J
hdiutil attach /tmp/HighSierra.cdr.dmg -noverify -mountpoint /Volumes/install_build
sudo /Applications/Install\ macOS\ High\ Sierra.app/Contents/Resources/createinstallmedia --volume /Volumes/install_build
mv /tmp/HighSierra.cdr.dmg ~/Desktop/InstallSystem.dmg
hdiutil detach /Volumes/Install\ macOS\ High\ Sierra
hdiutil convert ~/Desktop/InstallSystem.dmg -format UDTO -o ~/Desktop/HighSierra.iso
mv ~/Desktop/HighSierra.iso.cdr ~/Desktop/HighSierra.iso
rm ~/Desktop/InstallSystem.dmg

mwiesen commented Dec 26, 2017

On MacOS 10.13.2: If you get a Failed to copy kernelcache, “prelinkedkernel” couldn’t be copied to “.IABootFiles”. Error during the createinstallmedia step, increasing the size of the image to 5530m worked for me. In the end, the steps that did the job for me were:

hdiutil create -o /tmp/HighSierra.cdr -size 5530m -layout SPUD -fs HFS+J
hdiutil attach /tmp/HighSierra.cdr.dmg -noverify -mountpoint /Volumes/install_build
sudo /Applications/Install\ macOS\ High\ Sierra.app/Contents/Resources/createinstallmedia --volume /Volumes/install_build
mv /tmp/HighSierra.cdr.dmg ~/Desktop/InstallSystem.dmg
hdiutil detach /Volumes/Install\ macOS\ High\ Sierra
hdiutil convert ~/Desktop/InstallSystem.dmg -format UDTO -o ~/Desktop/HighSierra.iso
mv ~/Desktop/HighSierra.iso.cdr ~/Desktop/HighSierra.iso
rm ~/Desktop/InstallSystem.dmg
@gerrior

This comment has been minimized.

Show comment
Hide comment
@gerrior

gerrior Jan 28, 2018

On MacOS 10.13.3: mwiesen's script in the prior comment still works. FWIW, I couldn't get that script to work on a prior beta of High Sierra but using production 10.13.2 worked - call to createinstallmedia failed.

gerrior commented Jan 28, 2018

On MacOS 10.13.3: mwiesen's script in the prior comment still works. FWIW, I couldn't get that script to work on a prior beta of High Sierra but using production 10.13.2 worked - call to createinstallmedia failed.

@Marioheld

This comment has been minimized.

Show comment
Hide comment
@Marioheld

Marioheld Jan 31, 2018

@mwiesen Did also worked for me. Thanks a lot for sharing. Also be sure that the whole /Applications/Install\ macOS\ High\ Sierra.app is downloaded. The first time I tried to download High Sierre the App only was about 50 MB big, only contained the installer for upgrading on the fly not the whole High Sierra Image. Should be around 5 GB big.

Marioheld commented Jan 31, 2018

@mwiesen Did also worked for me. Thanks a lot for sharing. Also be sure that the whole /Applications/Install\ macOS\ High\ Sierra.app is downloaded. The first time I tried to download High Sierre the App only was about 50 MB big, only contained the installer for upgrading on the fly not the whole High Sierra Image. Should be around 5 GB big.

@c0n71nu3

This comment has been minimized.

Show comment
Hide comment
@c0n71nu3

c0n71nu3 Feb 2, 2018

I tried following all the steps listed above by @umetzu as below to create an ISO of High Sierra:

hdiutil attach /Applications/Install\ macOS\ High\ Sierra.app/Contents/SharedSupport/InstallESD.dmg -noverify -mountpoint /Volumes/highsierra
hdiutil create -o /tmp/HighSierraBase.cdr -size 7316m -layout SPUD -fs HFS+J
hdiutil attach /tmp/HighSierraBase.cdr.dmg -noverify -mountpoint /Volumes/install_build
asr restore -source /Applications/Install\ macOS\ High\ Sierra.app/Contents/SharedSupport/BaseSystem.dmg -target /Volumes/install_build -noprompt -noverify -erase
rm /Volumes/OS\ X\ Base\ System/System/Installation/Packages
cp -R /Volumes/highsierra/Packages /Volumes/OS\ X\ Base\ System/System/Installation
hdiutil detach /Volumes/OS\ X\ Base\ System/
hdiutil detach /Volumes/highsierra/
mv /tmp/HighSierraBase.cdr.dmg /tmp/BaseSystem.dmg
Restore the 10.13 Installer's BaseSystem.dmg into file system and place custom BaseSystem.dmg into the root
hdiutil create -o /tmp/HighSierra.cdr -size 8965m -layout SPUD -fs HFS+J
hdiutil attach /tmp/HighSierra.cdr.dmg -noverify -mountpoint /Volumes/install_build
asr restore -source /Applications/Install\ macOS\ High\ Sierra.app/Contents/SharedSupport/BaseSystem.dmg -target /Volumes/install_build -noprompt -noverify -erase
cp /tmp/BaseSystem.dmg /Volumes/OS\ X\ Base\ System
hdiutil detach /Volumes/OS\ X\ Base\ System/
rm /tmp/BaseSystem.dmg
hdiutil convert /tmp/HighSierra.cdr.dmg -format UDTO -o /tmp/HighSierra.iso
mv /tmp/HighSierra.iso.cdr ~/Desktop/HighSierra.iso
rm /tmp/HighSierra.cdr.dmg

And got a bunch of errors on the line cp -R /Volumes/highsierra/Packages /Volumes/OS\ X\ Base\ System/System/Installation. But nevertheless I continued and it seemed to work fine. Finally an .iso was created on my Desktop.

However, when I tried using it to install it in VirtualBox (Version 5.2.6 r120293 (Qt5.6.3) it seems to get stuck, as shown in the image forever. Any suggestions guys ?

c0n71nu3 commented Feb 2, 2018

I tried following all the steps listed above by @umetzu as below to create an ISO of High Sierra:

hdiutil attach /Applications/Install\ macOS\ High\ Sierra.app/Contents/SharedSupport/InstallESD.dmg -noverify -mountpoint /Volumes/highsierra
hdiutil create -o /tmp/HighSierraBase.cdr -size 7316m -layout SPUD -fs HFS+J
hdiutil attach /tmp/HighSierraBase.cdr.dmg -noverify -mountpoint /Volumes/install_build
asr restore -source /Applications/Install\ macOS\ High\ Sierra.app/Contents/SharedSupport/BaseSystem.dmg -target /Volumes/install_build -noprompt -noverify -erase
rm /Volumes/OS\ X\ Base\ System/System/Installation/Packages
cp -R /Volumes/highsierra/Packages /Volumes/OS\ X\ Base\ System/System/Installation
hdiutil detach /Volumes/OS\ X\ Base\ System/
hdiutil detach /Volumes/highsierra/
mv /tmp/HighSierraBase.cdr.dmg /tmp/BaseSystem.dmg
Restore the 10.13 Installer's BaseSystem.dmg into file system and place custom BaseSystem.dmg into the root
hdiutil create -o /tmp/HighSierra.cdr -size 8965m -layout SPUD -fs HFS+J
hdiutil attach /tmp/HighSierra.cdr.dmg -noverify -mountpoint /Volumes/install_build
asr restore -source /Applications/Install\ macOS\ High\ Sierra.app/Contents/SharedSupport/BaseSystem.dmg -target /Volumes/install_build -noprompt -noverify -erase
cp /tmp/BaseSystem.dmg /Volumes/OS\ X\ Base\ System
hdiutil detach /Volumes/OS\ X\ Base\ System/
rm /tmp/BaseSystem.dmg
hdiutil convert /tmp/HighSierra.cdr.dmg -format UDTO -o /tmp/HighSierra.iso
mv /tmp/HighSierra.iso.cdr ~/Desktop/HighSierra.iso
rm /tmp/HighSierra.cdr.dmg

And got a bunch of errors on the line cp -R /Volumes/highsierra/Packages /Volumes/OS\ X\ Base\ System/System/Installation. But nevertheless I continued and it seemed to work fine. Finally an .iso was created on my Desktop.

However, when I tried using it to install it in VirtualBox (Version 5.2.6 r120293 (Qt5.6.3) it seems to get stuck, as shown in the image forever. Any suggestions guys ?

@rct

This comment has been minimized.

Show comment
Hide comment
@rct

rct Feb 4, 2018

When I try to follow @mwiesen steps from the Dec 26, 2017 comment, I hit the problem where creatinstallmedia fails trying to erase /Volumes/install_build. I get the same error as @stylemessiah:

$ sudo /Applications/Install\ macOS\ High\ Sierra.app/Contents/Resources/createinstallmedia --volume /Volumes/install_build
Password:
Ready to start.
To continue we need to erase the volume at /Volumes/install_build.
If you wish to continue type (Y) then press return: y
Erasing Disk: 0%... 10%...
Error erasing disk error number (22, 0)
A error occurred erasing the disk.

I'm trying to run this on 10.12.6 (Sierra). I haven't run the upgrade yet. The download in /Applications/Install macOS High Sierra.app looks ok, it is 4.9 GB, (4,968 MB). If I run createinstallmedia using a physical 8 GB USB thumb drive it succeeds.

@stylemessiah - were you able to figure it out?

Any ideas from anyone welcome.

rct commented Feb 4, 2018

When I try to follow @mwiesen steps from the Dec 26, 2017 comment, I hit the problem where creatinstallmedia fails trying to erase /Volumes/install_build. I get the same error as @stylemessiah:

$ sudo /Applications/Install\ macOS\ High\ Sierra.app/Contents/Resources/createinstallmedia --volume /Volumes/install_build
Password:
Ready to start.
To continue we need to erase the volume at /Volumes/install_build.
If you wish to continue type (Y) then press return: y
Erasing Disk: 0%... 10%...
Error erasing disk error number (22, 0)
A error occurred erasing the disk.

I'm trying to run this on 10.12.6 (Sierra). I haven't run the upgrade yet. The download in /Applications/Install macOS High Sierra.app looks ok, it is 4.9 GB, (4,968 MB). If I run createinstallmedia using a physical 8 GB USB thumb drive it succeeds.

@stylemessiah - were you able to figure it out?

Any ideas from anyone welcome.

@romankaz

This comment has been minimized.

Show comment
Hide comment
@romankaz

romankaz Feb 8, 2018

@rct It is caused by permission mismatch. Remember, if you use 'sudo' you are executing the command as a root user, therefore created file will be owned by root. Solution is to be consistent with sudo. If you create file as a root, mount it as a root. If you create it as normal user, mount it as normal user.

romankaz commented Feb 8, 2018

@rct It is caused by permission mismatch. Remember, if you use 'sudo' you are executing the command as a root user, therefore created file will be owned by root. Solution is to be consistent with sudo. If you create file as a root, mount it as a root. If you create it as normal user, mount it as normal user.

@Kuniwak

This comment has been minimized.

Show comment
Hide comment
@Kuniwak

Kuniwak Apr 13, 2018

I got the same error that mentioned by @stylemessiah and @rct.

I retried the same instructions after increased the size of image from 7136m to 8000m. It worked for me.

Kuniwak commented Apr 13, 2018

I got the same error that mentioned by @stylemessiah and @rct.

I retried the same instructions after increased the size of image from 7136m to 8000m. It worked for me.

@mddelfino

This comment has been minimized.

Show comment
Hide comment
@mddelfino

mddelfino Jul 5, 2018

Made a fork of this code. If you use it, edit the VARIABLES section to meet your needs. I sorted them in order of what I thought might most likely need editing for your environment. Happy Independence Day, USA people!

mddelfino commented Jul 5, 2018

Made a fork of this code. If you use it, edit the VARIABLES section to meet your needs. I sorted them in order of what I thought might most likely need editing for your environment. Happy Independence Day, USA people!

@reflectivist

This comment has been minimized.

Show comment
Hide comment
@reflectivist

reflectivist Aug 22, 2018

As of today, I was able to a successfully boot and launch the High Sierra installer from an ISO image that I converted from the High Sierra 10.13.6 installer that I downloaded from the Apple Store (converted using Pat's Nov. 2017 instructions above). The installer is running in a Virtual Machine (guest) under VirtualBox 5.2.19, running on a Late 2015 iMac (Retina) host.

I used following VirtualBox Virtual Machine configuration values (settings):

4096 GB RAM
32 GB disk size (VDI)
128 MB video RAM
2 CPUs
disabled floppy
disabled serial port
disabled audio

Additionally, from the command line had to create the following Virtual Box extra data values for the VM. NOTE: These seemed to be critical for me to get the installer to boot and run. These extra data settings I found to be omitted from most or all of the Mac installation instructions that I found online. I borrowed these values from Windows VirtualBox install instructions, and modified the system product to match my iMac's (iMac17,1). Without these extra data settings, the installer failed mid-boot, infinitely looping with some error pertaining to trying to reboot MACH).

VBoxManage setextradata "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "iMac17,1"
VBoxManage setextradata "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0"
VBoxManage setextradata "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Iloveapple"
VBoxManage setextradata "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc"
VBoxManage setextradata "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 1

Finally, when the installer came up, before attempting to install, I had to select Disk Utility from the list, and find and format (e.g. Erase), the VDI disk I created (the hard disk shown on the left) as Mac OS Extended Journaled. Without first formatting the disk, the installer found no disks upon which it could install macOS, and was a dead end.

reflectivist commented Aug 22, 2018

As of today, I was able to a successfully boot and launch the High Sierra installer from an ISO image that I converted from the High Sierra 10.13.6 installer that I downloaded from the Apple Store (converted using Pat's Nov. 2017 instructions above). The installer is running in a Virtual Machine (guest) under VirtualBox 5.2.19, running on a Late 2015 iMac (Retina) host.

I used following VirtualBox Virtual Machine configuration values (settings):

4096 GB RAM
32 GB disk size (VDI)
128 MB video RAM
2 CPUs
disabled floppy
disabled serial port
disabled audio

Additionally, from the command line had to create the following Virtual Box extra data values for the VM. NOTE: These seemed to be critical for me to get the installer to boot and run. These extra data settings I found to be omitted from most or all of the Mac installation instructions that I found online. I borrowed these values from Windows VirtualBox install instructions, and modified the system product to match my iMac's (iMac17,1). Without these extra data settings, the installer failed mid-boot, infinitely looping with some error pertaining to trying to reboot MACH).

VBoxManage setextradata "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "iMac17,1"
VBoxManage setextradata "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0"
VBoxManage setextradata "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Iloveapple"
VBoxManage setextradata "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc"
VBoxManage setextradata "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 1

Finally, when the installer came up, before attempting to install, I had to select Disk Utility from the list, and find and format (e.g. Erase), the VDI disk I created (the hard disk shown on the left) as Mac OS Extended Journaled. Without first formatting the disk, the installer found no disks upon which it could install macOS, and was a dead end.

@TCB13

This comment has been minimized.

Show comment
Hide comment
@TCB13

TCB13 Aug 28, 2018

Many thanks @pat-s !

For anyone wondering if it is possible to install this ISO into VMware Workstation under a Windows machine, follow this: https://github.com/DrDonk/unlocker .

Note: it may give you an error like VMware Workstation unrecoverable error: (vcpu-0) simply edit your .vmx file and add smc.version = "0".

TCB13 commented Aug 28, 2018

Many thanks @pat-s !

For anyone wondering if it is possible to install this ISO into VMware Workstation under a Windows machine, follow this: https://github.com/DrDonk/unlocker .

Note: it may give you an error like VMware Workstation unrecoverable error: (vcpu-0) simply edit your .vmx file and add smc.version = "0".

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