Jump to content

shela

shela

Member Since 04 Sep 2009
Offline Last Active Dec 21 2014 04:21 PM
-----

Posts I've Made

In Topic: Workstation 11, Player 7 and Fusion 7 Mac OS X Unlocker 2

21 December 2014 - 04:21 PM

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.

In Topic: How to Install OS X 10.x (Snow Leopard, Lion, Mountain Lion, Mavericks and Yo...

19 November 2014 - 02:39 PM

I have updated the "How To" content in this topic to include Yosemite as well as the latest versions of the Create Mavericks and Create Yosemite Installer scripts which create a bootable DMG file supported in both Workstation 10 and Player 6.

 

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.insanelym...-9#entry2074610

In Topic: How to Install OS X 10.x (Snow Leopard, Lion, Mountain Lion, Mavericks and Yo...

23 October 2014 - 03:19 PM

Checking for confirmation of successful install using official 10.10 release. Currently using Workstation 10.03, Unlocker 1.30, 10.9 guest (10.10 not on the list). I get it to boot from the InstallESD.dmg image, run the disk utility to create/format a partition, and select the new volume for install. It shows installing with 16 minutes remaining, then immediately shows this screen. Any suggestions?
 
Thanks!
JJ
 

OS X could not be installed on your computer. The operation couldn't be completed. Undefined error: 0. Quit the installer to restart your computer and try again.

 

Hi JJ,

 

I make creating ISO script for Yosemite inspired by following post.

http://www.insanelym...6/#entry1937757

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"

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy