Jump to content

HOW TO: Create a bootable High Sierra ISO for VMware


10 posts in this topic

Recommended Posts

For Public Beta Version

I found this script from agentsim who is GitHubGist user. It Works for me on Windows 10 Workstation 12.5.7

# Generate a BaseSystem.dmg with High Sierra Beta Installer Packageshdiutil attach /Applications/Install\ macOS\ High\ Sierra\ Beta.app/Contents/SharedSupport/InstallESD.dmg -noverify -mountpoint /Volumes/highsierrahdiutil create -o /tmp/HighSierraBase.cdr -size 7316m -layout SPUD -fs HFS+Jhdiutil attach /tmp/HighSierraBase.cdr.dmg -noverify -mountpoint /Volumes/install_buildasr restore -source /Applications/Install\ macOS\ High\ Sierra\ Beta.app/Contents/SharedSupport/BaseSystem.dmg -target /Volumes/install_build -noprompt -noverify -erasecp -R /Volumes/highsierra/Packages /Volumes/OS\ X\ Base\ System/System/Installationhdiutil detach /Volumes/OS\ X\ Base\ System/hdiutil detach /Volumes/highsierra/mv /tmp/HighSierraBase.cdr.dmg /tmp/BaseSystem.dmg# Restore the High Sierra Beta Installer's BaseSystem.dmg into file system and place custom BaseSystem.dmg into the roothdiutil create -o /tmp/HighSierra.cdr -size 8965m -layout SPUD -fs HFS+Jhdiutil attach /tmp/HighSierra.cdr.dmg -noverify -mountpoint /Volumes/install_buildasr restore -source /Applications/Install\ macOS\ High\ Sierra\ Beta.app/Contents/SharedSupport/BaseSystem.dmg -target /Volumes/install_build -noprompt -noverify -erasecp /tmp/BaseSystem.dmg /Volumes/OS\ X\ Base\ Systemrm /tmp/BaseSystem.dmghdiutil detach /Volumes/OS\ X\ Base\ System/hdiutil convert /tmp/HighSierra.cdr.dmg -format UDTO -o /tmp/HighSierra.isomv /tmp/HighSierra.iso.cdr ~/Desktop/HighSierraPublicBeta.isorm /tmp/HighSierra.cdr.dmg
  • Like 1
Link to comment
Share on other sites

  • 1 month later...

I followed this guide and I ended up with a 9.4 GB ISO.... I know it's meant for VMWare etc installations, but how would I cut down on all the extras like printer drivers and languages? I'm trying to make a DVD burnable/bootable ISO. I'm currently trying to dd a USB stick I made as one of my attempts to ISO, but it's going to be too large for a standard single layer 4.7 GB DVD-R.

 

Thanks in advance.

  • Like 1
Link to comment
Share on other sites

  • 1 month later...

This method is simple and it is working.

 

For new High Sierra Release;

 

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
mv ~/Desktop/HighSierra.iso.cdr ~/Desktop/HighSierra.iso

 

Rewrite my mistake, thanks @Guyver

  • Like 5
Link to comment
Share on other sites

This method is simple and it is working.

 

For new High Sierra Release;

 

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

mv ~/Desktop/HighSierra.iso.cdr ~/Desktop/HighSierra.iso

Update: This worked for me, too (after modifying the last "mv" command).

 

My previous installation issue was not relevant, as I was installing the High Sierra update while in a Mountan Lion VM. When I discovered a pre-packaged High Sierra VMWare VM on the web and did the recent High Sierra update with that, the InstallESD.dmg was created properly, and the createinstallmedia command worked fine.

 

Thanks, Deli Dumrul and Guyver!

  • Like 1
Link to comment
Share on other sites

  • 4 weeks later...

I tried to create iso file from Mac OS 10.13.1 and ended up with the following error.

Making disk bootable...

Copying boot files...

Failed to copy kernelcache, “prelinkedkernel” couldn’t be copied to “.IABootFiles”.

Done.

what can cause the problem?

Size of the downloaded file:5,208,823,747 bytes (5.2 GB on disk)

I am using 10.12 on VmWare. Can I update my running OS X 10.12 with just double clicking the downloaded file?

  • Like 1
Link to comment
Share on other sites

Admins-Mac:~ admin$ hdiutil create -o /tmp/HighSierra.cdr -size 5530m -layout SPUD -fs HFS+J

 

.......................................................................................................................

created: /tmp/HighSierra.cdr.dmg

Admins-Mac:~ admin$ 

Admins-Mac:~ admin$ hdiutil attach /tmp/HighSierra.cdr.dmg -noverify -mountpoint /Volumes/install_build

/dev/disk1          Apple_partition_scheme         

/dev/disk1s1        Apple_partition_map            

/dev/disk1s2        Apple_HFS                      /Volumes/install_build

Admins-Mac:~ admin$ 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%... 20%... 30%...100%...

Copying installer files to disk...

Copy complete.

Making disk bootable...

Copying boot files...

Copy complete.

Done.

Admins-Mac:~ admin$ mv /tmp/HighSierra.cdr.dmg ~/Desktop/InstallSystem.dmg

Admins-Mac:~ admin$ hdiutil detach /Volumes/Install\ macOS\ High\ Sierra

"disk1" unmounted.

"disk1" ejected.

Admins-Mac:~ admin$ hdiutil convert ~/Desktop/InstallSystem.dmg -format UDTO -o ~/Desktop/HighSierra.iso

Reading Driver Descriptor Map (DDM : 0)…

Reading Apple (Apple_partition_map : 1)…

Reading  (Apple_Free : 2)…

Reading disk image (Apple_HFS : 3)…

.............................................................................................................................................................................................

Elapsed Time:  2m 28.870s

Speed: 37.1Mbytes/sec

Savings: 0.0%

created: /Users/admin/Desktop/HighSierra.iso.cdr

Admins-Mac:~ admin$ mv ~/Desktop/HighSierra.iso.cdr ~/Desktop/HighSierra.iso

Admins-Mac:~ admin$ 

 
 
Works perfect ! thx again,  ISO of 5.40 GB (5.798.625.280 bytes)
Link to comment
Share on other sites

  • 2 weeks later...
  • 2 weeks later...

I have created ISO files using both scripts but neither ISO appears to be bootable.  I get:

 

PXE-E53: No boot filename received

PXE-M0F: Exiting Intel PXE ROM

Operating System not found

 

The VM appears to be OK (the CD drive is first in the boot order) as it boots a Windows ISO without any problem.

 

I am trying to create the ISO from a Sierra VM.

 

This is using Workstation 14 Pro.

Link to comment
Share on other sites

 Share

×
×
  • Create New...