- Posted 3/29/18 8:55 AM, 11 messages.
- Rename InstallESDDmg.pkg inside the SharedSupport folder to InstallESD.dmg Edit InstallInfo.plist using WordPad (or another text editor) and remove the chunklistURL and chunklistid keys for InstallESD as well as rename InstallESDDmg.pkg to InstallESD.dmg (example here) Write BaseSystem to USB Format the USB drive using Boot Disk Utility.
Post 74, Sanchayan says, 'If you follow the directions of the OP, open the macOS install Mojave/Sierra/high sierra.app package in Applications (do so by right click, show package contents)z you'll see in the contents and sharedsupport (inside contents folder), the files are copied from the macOS install data directory to SharedSupport, as the.
Download macOS
Get FetchMacOS and place it in a known folder.
Open
Command Prompt
and usecd
to go to the known folder.Run
fetch-macos.exe -p PRODUCTID -o SharedSupport
wherePRODUCTID
is the macOS package you want to download.
Edit Downloaded Files
Rename
InstallESDDmg.pkg
inside theSharedSupport
folder toInstallESD.dmg
Edit
InstallInfo.plist
using WordPad (or another text editor) and remove thechunklistURL
andchunklistid
keys for InstallESD as well as renameInstallESDDmg.pkg
toInstallESD.dmg
(example here)
Write BaseSystem to USB
Format the USB drive using Boot Disk Utility. Select
DL
andSave after DL
for Clover Bootloader Source,Clover
for Format Options, and a200MB Boot Partition Size
for Multi PartitioningExtract
4.hfs
fromSharedSupportBaseSystem.dmg
--> save to it's local folderRestore
4.hfs
to the USB's second partition ---> 2nd partition becomes bootable 'OS X Base System'
Resize BaseStstem USB Partition
Open Paragon Partition Manager Free and resize the second partition of the USB drive to the full size allowed. Don't forget to apply the changes at the end.
Copy Additional Data
Open TransMac and navigate to the
HFS+ Volume/Install macOS High Sierra.app/Contents
folder. Right click anywhere in the empty space on the RHS pane and selectCopy Here
.In the next stage, select the
SharedSupport
folder we created earlier as theFiles and Folders to be copied to the Mac Volume
.
Preparation
Download OS X Yosemite from the Mac App Store and open the Terminal.app to install iesd
, a Ruby tool to customize OS X Install ESD's:
Customize InstallESD
Before we can use the vanilla Yosemite Installer in VirtualBox, we have to customize the InstallESD using iesd
first as well as convert it into a sparse image (UDSP format):
Now we need to mount both the original InstallESD and the customized sparse image that we just generated ...
Contents Sharedsupport Installesd.dmg Missing
... to copy the missing original base system files back into the customized InstallESD:
Unmount both the InstallESD and the sparse image:
As well as the mounted disks via diskutil
and your Terminal:
Note: If that doesn't work and you get a 'resource busy' message in step 12, try using the Disk Utility.app:
Finally we can convert it back into a .dmg file (UDZO format):
Installation in VirtualBox
Open VirtualBox, insert the customized yosemitefixed.dmg
in the CD-ROM drive of your guest system and make sure to adjust the chipset to 'PIIX3'.
Contents Shared Support Installesd.dmg Missing Data
Now you can start up your VM, open the Disk Utility.app within the installer and create a new HFS+
partition to install a fresh copy of Yosemite.
Here are some of the frequently asked questions from the comments. In case you encounter any issues or problems, check below to find a solution.
Error message: 'Kernel driver not installed (rc=-1908)'
Try to reinstall VirtualBox to fix this error.
Stuck on boot: 'Missing Bluetooth Controller Transport'
Try the following steps to fix this issue:
- Stop the virtual machine in VirtualBox.
- Open a new terminal window.
- Run the following command to adjust the guest CPU (don't forget to replace
[your_VM_name>]
with your actual VM name):
Adjust screen resolution
To control the GOP (Graphics Output Protocol), use the following Terminal command:
Where [n]
can be 0, 1, 2, 3, 4 or 5 referring to 640x480
, 800x600
, 1024x768
, 1280x1024
, 1440x900
or 1920x1200
screen resolution respectively.