Jump to content

HOW TO: Create a bootable El Capitan ISO fo VMware

iso vmware bootable el capitan

  • Please log in to reply
16 replies to this topic

#1
colt2

colt2

    InsanelyMac Protégé

  • Members
  • Pip
  • 1 posts

With the release of El Capitan, the script to create a Bootable ISO for VMware of Mavericks and Yosemite does not seem to work anymore on the El Capitan official release.

The ISO simply does not boot.

 

Below is what I found that worked. Since I've been looking for this for a couple of days, I figured I'd share it. - Enjoy!

 

 

 #!/bin/bash

 

 # Mount the installer image
 hdiutil attach /Applications/Install\ OS\ X\ El\ Capitan.app/Contents/SharedSupport/InstallESD.dmg -noverify -nobrowse -mountpoint /Volumes/install_app

 

 # Create the ElCapitan Blank ISO Image of 7316mb with a Single Partition - Apple Partition Map
 hdiutil create -o /tmp/ElCapitan.cdr -size 7316m -layout SPUD -fs HFS+J

 

 # Mount the ElCapitan Blank ISO Image
 hdiutil attach /tmp/ElCapitan.cdr.dmg -noverify -nobrowse -mountpoint /Volumes/install_build

 

 # Restore the Base System into the ElCapitan Blank ISO Image
 asr restore -source /Volumes/install_app/BaseSystem.dmg -target /Volumes/install_build -noprompt -noverify -erase

 

 # Remove Package link and replace with actual files
 rm /Volumes/OS\ X\ Base\ System/System/Installation/Packages

 cp -rp /Volumes/install_app/Packages /Volumes/OS\ X\ Base\ System/System/Installation/

 

 # Copy El Capitan installer dependencies
 cp -rp /Volumes/install_app/BaseSystem.chunklist /Volumes/OS\ X\ Base\ System/BaseSystem.chunklist
 cp -rp /Volumes/install_app/BaseSystem.dmg /Volumes/OS\ X\ Base\ System/BaseSystem.dmg

 

 # Unmount the installer image
 hdiutil detach /Volumes/install_app

 

 # Unmount the ElCapitan ISO Image
 hdiutil detach /Volumes/OS\ X\ Base\ System/

 

 # Convert the ElCapitan ISO Image to ISO/CD master (Optional)
 hdiutil convert /tmp/ElCapitan.cdr.dmg -format UDTO -o /tmp/ElCapitan.iso

 

 # Rename the ElCapitan ISO Image and move it to the desktop
 mv /tmp/ElCapitan.iso.cdr ~/Desktop/ElCapitan.iso

 



#2
pippox0

pippox0

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 575 posts
  • Gender:Male
Thanks for your sharing ...
I will try it ...

#3
sundaydress

sundaydress

    InsanelyMac Protégé

  • Members
  • Pip
  • 3 posts

hdiutil attach /Applications/Install\ OS\ X\ El\ Capitan.app/Contents/SharedSupport/InstallESD.dmg -noverify -nobrowse -mountpoint /Volumes/install_app
hdiutil create -o /tmp/ElCapitan -size 6789m -layout SPUD -fs HFS+J -type SPARSE
hdiutil attach /tmp/ElCapitan.sparseimage -noverify -nobrowse -mountpoint /Volumes/install_build
asr restore -source /Volumes/install_app/BaseSystem.dmg -target /Volumes/install_build -noprompt -noverify -erase
rm /Volumes/OS\ X\ Base\ System/System/Installation/Packages
cp -rp /Volumes/install_app/Packages /Volumes/OS\ X\ Base\ System/System/Installation/
hdiutil detach /Volumes/install_app
hdiutil detach /Volumes/OS\ X\ Base\ System/
hdiutil resize -size `hdiutil resize -limits /tmp/ElCapitan.sparseimage | tail -n 1 | awk '{ print $1 }'`b /tmp/ElCapitan.sparseimage
hdiutil convert /tmp/ElCapitan.sparseimage -format UDTO -o /tmp/ElCapitan
mv /tmp/ElCapitan.iso.cdr ~/Desktop/ElCapitan.iso

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

It works with VirtualBox



#4
chris1111

chris1111

    Packager

  • Donators
  • 4,494 posts
  • Gender:Male
  • Location:Montreal Canada
  • Interests:Mac OS X Packaging / scripts

You can using the tools here

http://www.insanelym...dvd-creatorapp/

 

Working and testing here

 

http://www.insanelym...rapp/?p=2176389

 

http://www.insanelym...-iso/?p=2176393



#5
Glaude

Glaude

    InsanelyMac Protégé

  • Members
  • Pip
  • 30 posts
  • Gender:Male
  • Location:France

Thanks  ...

 

The file ' ElCapitan.iso ' allows to install 'El Capitan' with 'VMware Fusion 8' (on 'El Capitan')  or 'VMware Workstation 10' (on 'Windows 7').

 

On 'VMware Workstation 12' and 'VMware Workstation 11' the installation starts but at the time of
the choice of the language we can't use any more the mouse, to choose the language, or to Continue'
 



#6
amjadk

amjadk

    InsanelyMac Protégé

  • Members
  • Pip
  • 1 posts

Try setting USB compatibility to 2.0 instead of 3.0 if your mouse isn't working



#7
Glaude

Glaude

    InsanelyMac Protégé

  • Members
  • Pip
  • 30 posts
  • Gender:Male
  • Location:France

Try setting USB compatibility to 2.0 instead of 3.0 if your mouse isn't working

Setting USB compatibility to 2.0    Tested with 'VMware Workstation 11' an 'VMware Workstation 12'. It is 'OK'



#8
RERobbins

RERobbins

    InsanelyMac Protégé

  • Members
  • Pip
  • 1 posts

Bingo.  Thanks for these instructions.  I used them to do a fresh install of El Capitan on a Mac Mini 6,2 running ESXi 6.0 Update 1.



#9
t2pennington

t2pennington

    InsanelyMac Protégé

  • Members
  • Pip
  • 1 posts

I can safely say that this is by far the easiest and best procedure that I have found that actually worked.  I must have tried 10 other methods and this one just worked, no changes.

 

I mapped the ISO to my VMWare instance and the VM booted just fine.  I had to make the SMC change and the USB 2.0 change, but that was it.

 

 



#10
lenovomi

lenovomi

    InsanelyMac Protégé

  • Members
  • Pip
  • 4 posts

hdiutil attach /Applications/Install\ OS\ X\ El\ Capitan.app/Contents/SharedSupport/InstallESD.dmg -noverify -nobrowse -mountpoint /Volumes/install_app
hdiutil create -o /tmp/ElCapitan -size 6789m -layout SPUD -fs HFS+J -type SPARSE
hdiutil attach /tmp/ElCapitan.sparseimage -noverify -nobrowse -mountpoint /Volumes/install_build
asr restore -source /Volumes/install_app/BaseSystem.dmg -target /Volumes/install_build -noprompt -noverify -erase
rm /Volumes/OS\ X\ Base\ System/System/Installation/Packages
cp -rp /Volumes/install_app/Packages /Volumes/OS\ X\ Base\ System/System/Installation/
hdiutil detach /Volumes/install_app
hdiutil detach /Volumes/OS\ X\ Base\ System/
hdiutil resize -size `hdiutil resize -limits /tmp/ElCapitan.sparseimage | tail -n 1 | awk '{ print $1 }'`b /tmp/ElCapitan.sparseimage
hdiutil convert /tmp/ElCapitan.sparseimage -format UDTO -o /tmp/ElCapitan
mv /tmp/ElCapitan.iso.cdr ~/Desktop/ElCapitan.iso

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

It works with VirtualBox

 

Hi,

i executed step by step... but using virtualbox 4.3 or the newest one from the homepage 5.0x i cant boot the iso... there is only black screen and nothing is happening... could you please advice how did you make it work with what version/profile?

 

thanks



#11
2ez4z

2ez4z

    InsanelyMac Protégé

  • Members
  • Pip
  • 1 posts

Good stuff!!! Thank you for taking the time to figure this out, it was a great help! :thumbsup_anim:



#12
luky35

luky35

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 517 posts
  • Gender:Male
  • Location:Slovenia

Thanks colt2

 

macOS Sierra Beta Public iz OK .iso install VMware.

 

I have installed VMware Workstation software On my Windows 10 system. I've put a MacOS 10.12 Sierra OS in there.

At startup I always get this error shown on the picture.

I appreciate every idea and help, thank you

 

 

error.jpg

Attached Files

  • Attached File  wmx.txt   7.11KB   10 downloads

Edited by luky35, 16 July 2016 - 04:30 AM.


#13
11Al

11Al

    InsanelyMac Protégé

  • Members
  • Pip
  • 29 posts

It should also work for El capitan

 

http://osxdaily.com/...-install-drive/



#14
lebleu2929

lebleu2929

    InsanelyMac Protégé

  • Members
  • Pip
  • 2 posts

hdiutil attach /Applications/Install\ OS\ X\ El\ Capitan.app/Contents/SharedSupport/InstallESD.dmg -noverify -nobrowse -mountpoint /Volumes/install_app
hdiutil create -o /tmp/ElCapitan -size 6789m -layout SPUD -fs HFS+J -type SPARSE
hdiutil attach /tmp/ElCapitan.sparseimage -noverify -nobrowse -mountpoint /Volumes/install_build
asr restore -source /Volumes/install_app/BaseSystem.dmg -target /Volumes/install_build -noprompt -noverify -erase
rm /Volumes/OS\ X\ Base\ System/System/Installation/Packages
cp -rp /Volumes/install_app/Packages /Volumes/OS\ X\ Base\ System/System/Installation/
hdiutil detach /Volumes/install_app
hdiutil detach /Volumes/OS\ X\ Base\ System/
hdiutil resize -size `hdiutil resize -limits /tmp/ElCapitan.sparseimage | tail -n 1 | awk '{ print $1 }'`b /tmp/ElCapitan.sparseimage
hdiutil convert /tmp/ElCapitan.sparseimage -format UDTO -o /tmp/ElCapitan
mv /tmp/ElCapitan.iso.cdr ~/Desktop/ElCapitan.iso

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

It works with VirtualBox

 

I believe the last line should in fact be:
 

mv /tmp/ElCapitan.cdr ~/Desktop/ElCapitan.iso



#15
sonic9

sonic9

    InsanelyMac Protégé

  • Members
  • Pip
  • 3 posts

anyone tried with "Installer Mac OS 10.11.6" from Apple Store ?

With 10.11.5 , no problem , boot fine into VmWare. but with 10.11.6 , iso creation OK but boot process stop with "wrong way" blank symbol on black background ...



#16
HackerKitty

HackerKitty

    InsanelyMac Protégé

  • Donators
  • 39 posts
  • Gender:Female
  • Location:Paris, France
  • Interests:Music, cooking and computing.

Thanks for this great tutorial.

I found the explanation of each command line very educational.

I followed this method and created iso image of Sierra sucessfully. 

Now I will test it out on the VMWare on Linux host  :)



#17
sjpapa

sjpapa

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 123 posts
  • Gender:Male
  • Location:Greece

Any ideas for the reverse process?
Create El Capitan installer from "OS X 10.11 El Capitan.vmdk"?








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