Jump to content
Welcome to InsanelyMac Forum

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.


  • Content count

  • Joined

  • Last visited

About shela

  • Rank
    InsanelyMac Protégé
  1. As a result of my holiday work to create 10.13 installation ISOs, i got the following conclusion. 1. Traditional expanding BaseSystem.dmg and copying some packeges of InstallESD.dmg method does not work. OSInstall.mpkg missing or damaged error occurred. I have no idea to solve this problem. 2. Expanding BaseSystem.dmg only, that is online installation method works fine. But it takes extra time to download files while installation. 3. Just like method creating installation USB stick, we can use a sparse image instead of USB stick! Using createinstallmedia command method works fine and needs no extra time to download. But, createinstallmedia command demands specific environment. On 10.7, createinstallmedia command returns error code 139. I think this method is best.
  2. MSoK, JJTagy, CECI.tool and CSI.tool does not detach OS X Install ESD. 'hdiutil attach' command cannot attach the same image twice, so my script reports error. This is a defect of CECI.tool and CSI.tool.
  3. JJTagy, Probably, you mounted another install image (InstallESD.dmg) in the past and has been left mounted. Please unmount all of them and retry. Check the result of following command whether mounted or not. ls /Volumes If you find 'OS X Base System' path, unmount like this. hdiutil unmount -force /Volumes/OS\ X\ Base\ System and also, if you find 'OS X Install ESD' path, unmount like this. hdiutil unmount -force /Volumes/OS\ X\ Install\ ESD
  4. Hi, MSoK. I created make iso script for between MacOSX 10.6 and macOS 10.12. (might 10.5) XXX.tool.txt is not necessary any more! This script find your AppStore OSX Installer automatically. Even if you have InstallESD.dmg only, you can specify the path. Download the attached "create_osx_iso.txt" script file to your desktop. In a terminal session, run the following command: cd ~/Desktop mv create_osx_iso.txt create_osx_iso chmod +x create_osx_iso ./create_osx_iso create_osx_iso.txt
  5. Colt2's method is very useful. I create OS X Install ISO Creater script for OSX 10.7 - 10.11. How to use: <<Interactive Mode>> create_osx_iso [-o /path/to/output/directory] <<Batch Mode>> create_osx_iso [-o /path/to/output/directory] /path/to/InstallESD.dmg Interactive mode is using Install app from App Store. Batch mode is using user selected InstallESD.dmg.
  6. With hardware compatible mode for workstation11, I added vmx smc.version = "0" in .vmx. Mavericks and Yosemite work good. But, Snow Leopard (not Server) occurred boot time error "The guest operating system is not MAC OS X Server" and turn off. Anyone have a good idea? Workstation11, patched unlocker 2.0.2.
  7. Hi, MSoK Regarding your attached CYI.tool.txt, "extraSectors" size isn't sufficient to store BaseSystem.chunklist and BaseSystem.dmg files. Incorrect: extraSectors=`BLOCKSIZE=512 du -s -- "$installPkg" | awk '{ print $1 }'` Correct: extraSectors=`BLOCKSIZE=512 du -s -- "$installMnt" | awk '{ print $1 }'` Please see my post. http://www.insanelymac.com/forum/topic/290949-how-to-install-os-x-10x-snow-leopard-lion-mountain-lion-mavericks-and-yosemite-in-vmware-workstation-10-or-player-6/page-9?do=findComment&comment=2074610
  8. Hi JJ, I make creating ISO script for Yosemite inspired by following post. http://www.insanelymac.com/forum/topic/290949-how-to-install-os-x-10x-snow-leopard-lion-mountain-lion-and-mavericks-in-vmware-workstation-910-or-player-56/?do=findComment&comment=1937757 You might want to try this. #!/bin/bash # # This executable converts a Yosemite .app (which allows to upgrade a machine # from Mac OS 10.6.7+ to Yosemite) into a Yosemite .dmg (which allows to # install Yosemite from scratch on a machine). # set -x set -e # The first argument is the path to the .app bundle (the input of the # executable). inputApp="$1" # The second argument is the path to the .dmg file (the output of the # executable), which must end with ".dmg". outputDmg="$2" [ "${outputDmg: -4}" = .dmg ] # # The problem: /System/Installation/Packages inside /BaseSystem.dmg inside # "$inputApp"/Contents/SharedSupport/InstallESD.dmg is a dangling symlink, # which prevents installing Yosemite from scratch. # The solution: Replace the symlink with the /Packages directory inside # "$inputApp"/Contents/SharedSupport/InstallESD.dmg. # tmpDir=`mktemp -d -t 'Create Yosemite Installer'` installMnt="$tmpDir"/install installPkg="$installMnt"/Packages outputMnt="$tmpDir"/output outputPkg="$outputMnt"/System/Installation/Packages cleanup() { if [ -d "$outputMnt" ]; then hdiutil detach "$outputMnt" fi if [ -d "$installMnt" ]; then hdiutil detach "$installMnt" fi rmdir -- "$tmpDir" } # Cleanup on failure. trap cleanup ERR # Mount InstallESD.dmg so we can access /BaseSystem.dmg and /Packages inside. hdiutil attach "$inputApp"/Contents/SharedSupport/InstallESD.dmg \ -mountpoint "$installMnt" -noverify -nobrowse # Create "$outputDmg", a read/write copy of the read-only BaseSystem.dmg. hdiutil convert "$installMnt"/BaseSystem.dmg -format UDRW -o "$outputDmg" # Enlarge "$outputDmg" to accommodate for our modifications. The UDRW image # format is not sparse, so we must precisely compute the new size. curSectors=`hdiutil resize "$outputDmg" -limits | tail -1 | awk '{ print $2 }'` extraSectors=`BLOCKSIZE=512 du -s -- "$installMnt" | awk '{ print $1 }'` hdiutil resize "$outputDmg" -sectors $((curSectors + extraSectors)) # Mount "$outputDmg". hdiutil attach "$outputDmg" -mountpoint "$outputMnt" -noverify -nobrowse # Modify "$outputDmg". rm -- "$outputPkg" cp -r -- "$installPkg" "$outputPkg" # It is the solution for the common error - The operation couldn't be completed. Undefined error: 0 cp "$installMnt"/BaseSystem.chunklist "$outputMnt"/BaseSystem.chunklist cp "$installMnt"/BaseSystem.dmg "$outputMnt"/BaseSystem.dmg # Cleanup on success. trap ERR; cleanup ls -alh -- "$outputDmg"