The second parameter is the path to a directory (such as /tmp) with at least 16GB space. The first parameter to the script is the path to InstallESD.dmg which is part of the Mavericks Installer if you downloaded it from the App Store. Hdiutil convert "$IMGSPARSE" -format UDTO -o "$IMGDVD" Rm -f "$MPIMG"/System/Installation/PackagesĬp -rp "$MPAPP"/Packages "$MPIMG"/System/Installation/Įcho +++ Resize the partition in the sparse bundle to remove any free spaceĮcho +++ Convert the sparse bundle to ISO/CD master Hdiutil attach "$IMGSPARSE" -noverify -nobrowse -readwrite -mountpoint "$MPIMG"Įcho +++ Remove Package link and replace with actual files Hdiutil convert "$MPAPP"/BaseSystem.dmg -format UDSP -o "$IMGSPARSE"Įcho +++ Increase the sparse bundle capacity to accommodate the packagesĮcho +++ Mount the sparse bundle for package addition Hdiutil attach "$ESD" -noverify -nobrowse -readonly -mountpoint "$MPAPP"Įcho +++ Convert the boot image to a sparse bundle Įcho +++ Trying to unmount anything from previous run If then hdiutil detach "$MPIMG" fiĮcho +++ Command returned with error, aborting. It's an enhanced version of the script found atĮcho usage: "'$0' /path/to/esd /path/to/tmpdir" Starting with OS X Mavericks, you need to do a more complicated procesdure. However VirtualBox does not officially support creating Mac virtual. dmg from the downloaded installer and produce a bootable disk image which can be deployed to machines. dmg file first AutoDMG will do this for you. In earlier times, all you needed to do was to convert that InstallESD.dmg into an ISO and you could install OS X in VMWare from scratch. I wanted to install OSX mavericks downloaded from app store to my VirtualBox on PC. For some reason, Apple decided that the InstallESD.dmg that comes with the Mavericks Install as downloaded from the App Store shouldn't be a bootable DVD image anymore.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |