Recently Browsing 0 members
No registered users viewing this page.
Making a bootable High Sierra USB Installer Entirely From Scratch in Windows or Linux Mint (without access to Mac or App Store Installer.app)By fusion71au
Making a High Sierra USB Installer Entirely From Scratch in Windows
This is a proof of concept tutorial, to show it's possible to create a vanilla High Sierra installer, entirely from scratch, in Windows (even without App Store downloaded "Install macOS High Sierra.app" from a real Mac ). @PikeRAlpha's link to Apple's Software Catalog provides us with all the URLs necessary to download the needed files directly from Apple instead of some dubious source from the internet...
8GB or larger USB drive Boot Disk Utility v2.1.2017rev021b from @CVAD TransMac (free 15 day trial) Paragon Hard Disk Manager Free Download Installer Files Directly from Apple
1) Browse Apple's Regular Software Catalog and find the URLs to download the following 6 installer files...
BaseSystem.dmg BaseSystem.chunklist InstallInfo.plist InstallESDDmg.pkg AppleDiagnostics.dmg AppleDiagnostics.chunklist (Hint - search page for "InstallESD" to find its URL and others nearby)
to a folder named "SharedSupport" on your Windows NTFS drive. A browser download manager (eg Chrono for Chrome, dTA for FireFox) is handy since InstallESD is >4GB ---> allows you to pause/resume interrupted download...
2) Rename InstallESDDmg.pkg to InstallESD.dmg
3) Edit InstallInfo.plist with WordPad/text editor to remove the chunklistURL and chunklistid keys for InstallESD, and renaming it from InstallESDDmg.pkg to InstallESD.dmg (example of edited file attached to this post)...
Note: You can verify the SHA1 checksum of your InstallESD.dmg and BaseSystem.dmg with the correct ones at this website.
Boot Disk Utility to format the Installer USB and Restore OS X Base System HFS partition
1. Format USB with BDU & latest Clover ---> creates boot files in CLOVER partition + second FAT partition
2. Extract 4.hfs from \SharedSupport\BaseSystem.dmg with BDU --> save to it's local folder
3. Restore 4.hfs to USB second partition with BDU ---> 2nd partition becomes bootable "OS X Base System"
Paragon Hard Disk Manager to extend HFS Partition to its Full Extent
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...
Transmac to Copy "SharedSupport" folder to OS X Base System
1. Open the TransMac program 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 select "Copy Here"...
2. In the next stage, select the "SharedSupport" folder we created above as the "Files and Folders to be copied to the Mac Volume"...
Clover configuration is required now. The default config.plist (in the Clover FAT32 partition of the USB) maybe sufficient to boot your machine if you’re lucky. If not, look at the Clover Wiki, Clover Instructions and Clover Configuration Thread for pointers and edit /EFI/Clover/config.plist accordingly with Wordpad or Notepad.
The location of the important configuration files for Clover are summarized below
config.plist--->EFI/CLOVER folder DSDT.aml with or without SSDT.aml--->EFI/CLOVER/ACPI/patched (don't need one if your DSDT is auto patched by Clover in config.plist) Kexts eg FakeSMC, NullCPUPowerManagement --->EFI/CLOVER/kexts/<osx version> or /Other. NB BootDiskUtility by default already has FakeSMC.kext installed here. You may need to add VoodooPS2Controller for your laptop keyboard/trackpad to work. If UEFI booting, you will most likely need one of the OsxAptioFixDrv-64 drivers copied from /EFI/CLOVER/drivers-off/drivers64UEFI to /EFI/CLOVER/drivers64UEFI. If you want to use the installer to run High Sierra in Windows on VMware, you can follow my guide to set up the Virtual Machine and replace Clover's default config with EFI_Clover for VMware (which is compatible to run in VMware). In the screenshots below, I have attached the USB Installer (in this case PhysicalDrive7) to my macOS Virtual Machine. Reboot the system to the USB installer to install High Sierra ...
What happens if we don't have access to TransMac or Paragon Hard Disk Manager?
Not a problem, as long as we get "OS X Base System" bootable, we can launch terminal from the Utilities Menu to copy the SharedSupport folder over to the Installer app. In essence, we will build the full installer app = 5GB+ on the target HD eg "Macintosh HD", by copying both the "small" installer app = 15MB (on "OS X Base System") and the SharedSupport folder from the NTFS volume (mounted in this example on /Volumes/DATA)...
-bash-3.2# cd / -bash-3.2# cp -R Install\ macOS\ High\ Sierra.app /Volumes/Macintosh\ HD/ -bash-3.2# cp -R /Volumes/DATA/SharedSupport /Volumes/Macintosh\ HD/Install\ macOS\ High\ Sierra.app/Contents/
...then start installation with the startosinstall utility...
-bash-3.2# /Volumes/Macintosh\ HD/Install\ macOS\ High\ Sierra.app/Contents/Resources/startosinstall --volume /Volumes/Macintosh\ HD --converttoapfs NO --applicationpath /Volumes/Macintosh\ HD/Install\ macOS\ High\ Sierra.app
The above steps can be automated with the attached "startosinstall.command" script, which will assemble "Install macOS High Sierra.app" on "Macintosh HD" and launch the startosinstall utility targeting the "Macintosh HD" volume. Copy/download to "Macintosh HD", then run in terminal (after attaching DATA USB with /Shared Support folder)...
cd "/Volumes/Macintosh HD" chmod +x startosinstall.command ./startosinstall.command Updated Download Links for macOS Mojave 10.14beta
Browse Apple's Public Beta Software Catalog and find the URLs to download the following 6 installer files...
BaseSystem.dmg BaseSystem.chunklist InstallInfo.plist InstallESDDmg.pkg AppleDiagnostics.dmg AppleDiagnostics.chunklist
Create a bootable copy of macOS Sierra Check out the link http://www.insanelymac.com/forum/files/file/559-flash-drive-maker/ --Install Clover UEFI in USB stick https://sourceforge.net/projects/cloverefiboot/files/Installer/ --Replace Folder CLOVER INSTALLATION.zip --Install Sierra and boot into system! --Install Clover UEFI and replace with my folder CLOVER POST INSTALLATION.zip --Reboot and activate video! Bingo! Now you need a fine tune! I prefer DSDT way, apply all patches in one file, many people prefer many SSDTs or Clover patches! If you need DSDT edit... Run it RunMe.app --DSDT My DSDT DSDT.ASUS H61M-A MaLd0n.zip Patches -FIX ERRORS AND WARNINGS -HPET -SATA -SLPB -DARWIN -EHCx -LPC -HDEF -RTC -IRQs -SBUS -BUS1 -MCHC -ALS0 -SHUTDOWN -LAN -PNLF Clear NVRAM, Purge and Kextcache
--FakeSMC http://www.hwsensors.com/releases --Audio https://github.com/vit9696/AppleALC --USB https://bitbucket.org/RehabMan/os-x-usb-inject-all/downloads --LAN http://www.insanelymac.com/forum/topic/287161-new-driver-for-realtek-rtl8111/ Credits and thanks to the old and new people in the community who developed patches, kexts and bootloaders!
By Tom Snow
Hello everyone, it sure has been a while since I last posted here. I'm trying to upgrade my Hackintosh to High Sierra, and right now it's running Sierra which I installed last year. My hardware is a Gigabyte Z68MA-D2H-B3 mobo with Intel Core i5-2500K. Unfortunately, I can't even run the installer. I have an installer USB stick with Clover 4558 on it, and whenever I try to run the installer from it, I get a KP after an extremely long boot process. There are so many panic messages that flash by so fast, but I think I got everything relevant in these pics.
I'm French, so excuse me for the approximate language......
I was on Mountain Lion without problems and I installed a new Sierra system with Clover and rebooted with the key but when I remove the Clover USB key no longer "sees" my hard drive.
"loading operating system" then black screen.
Anybody got any ideas?
Gigabyte H61N-USB3 F8
Intel Core i5
Mémory 8 Go
Pendrive 2.0 (>=8GB) "Install macOS Sierra app" (https://itunes.apple.com/de/app/macos-sierra/id1127487414?l=en)(Around 5GB) Working Mac
Installing Clover to USB
Get a USB 2.0 Pendrive (8GB and above)
Before you can partition the USB, you must determine what the disk identifier is. With the USB plugged in to the computer, use 'diskutil list':
diskutil list In my case, output:
/dev/disk0 (internal, physical): #: TYPE NAME SIZE IDENTIFIER 0: GUID_partition_scheme *1.0 TB disk0 1: EFI EFI 209.7 MB disk0s1 2: Apple_CoreStorage MacOS 500.4 GB disk0s2 3: Apple_Boot Recovery HD 650.0 MB disk0s5 4: Microsoft Basic Data DATA 498.8 GB disk0s4 /dev/disk1 (external, physical): #: TYPE NAME SIZE IDENTIFIER 0: Pendrive *8.0 GB disk1 As you can see my pendrive is available at /dev/disk1 (check yours).
Now we are going to create partitions, In Terminal:
diskutil partitionDisk /dev/disk1 1 GPT HFS+J "install_macos" R Output:
Started partitioning on disk1 Unmounting disk Creating the partition map Waiting for the disks to reappear Formatting disk1s2 as Mac OS Extended (Journaled) with name install_osx Initialized /dev/rdisk1s2 as a 7 GB case-insensitive HFS Plus volume with a 8192k journal Mounting disk Finished partitioning on disk1 /dev/disk1 (external, physical): #: TYPE NAME SIZE IDENTIFIER 0: GUID_partition_scheme *8.0 GB disk1 1: EFI EFI 209.7 MB disk1s1 2: Apple_HFS install_macos 7.7 GB disk1s2 Now as you can see partitions are created and your pendrive is ready to install clover.
Download the Clover installer. Current builds are available on sourceforge: http://sourceforge.net/projects/cloverefiboot (chameleon, stolen and rebranded)
After Downloading the Clover installer,
Install it to the Target "install_macos" partition using "Change Install Location". Select "Customize". Check "Install for UEFI booting only", "Install Clover in the ESP" will automatically selected. Check "BGM" from Themes. Check "AptioMemoryFix.efi", "EmuVariableUefi-64.efi", "OsxFatBinaryDrv-64.efi" from Drivers64UEFI. After making your selections, Click "Install". Finally, one more EFI driver is needed, HFSPlus.efi:
Download from : https://github.com/JrCs/CloverGrowerPro/raw/master/Files/HFSPlus/X64/HFSPlus.efi. Copy to /EFI/Clover/drivers64UEFI.
Remove all folders from EFI/CLOVER/kexts/ except 'Other'. Now Download These, FakeSMC.kext: https://github.com/RehabMan/OS-X-FakeSMC-kozlek VoodooPS2Controller.kext: https://github.com/RehabMan/OS-X-Voodoo-PS2-Controller USBInjectAll.kext: https://github.com/RehabMan/OS-X-USB-Inject-All Lilu.kext: https://github.com/vit9696/Lilu IntelGraphicsFixup.kext: https://github.com/lvs1974/IntelGraphicsFixup RealtekRTL8100.kext: https://www.insanelymac.com/forum/files/file/259-realtekrtl8100-binary/
Download it from the attachments, Unzip and replace EFI/CLOVER/config.plist
Building the MacOS Installer
In Terminal :
sudo "/Applications/Install macOS Sierra.app/Contents/Resources/createinstallmedia" --volume /Volumes/install_macos --applicationpath "/Applications/Install macOS Sierra.app" --nointeraction sudo diskutil rename "Install macOS Sierra" install_macos Now your Bootable USB is ready to install. Turn off your Laptop.
Make sure you have adequate bios settings
Power on laptop with pendrive connected to it. Continuously press "ESC". Select "Boot From USB" (i.e. F9) and select pendrive from the menu. Now it boots into Clover, with left-right arrow, select options. Select "Graphics Injector Menu". Under "Inject Intel" select "FakeID" and replace "0x00000000" to "0x12345678". Now return to main screen and select "install_macos". When grey screen comes, select DiskUtility. Format whole Hard Disk as "Mac Os Extended (Journaled)" with Name as "MacOS" Now quit DiskUtility and click "Install Mac OS Sierra" and select the newly created partition in previous step. Now installer will begin installing files (~15-20mins) and the restart. After restart again boot into clover(Follow Step 1-5) and again select "install_macos". Now Install screen will appear and continue installation. This time installer will install files to your target partition and create Recovery HD partition. Later on restarts. After restart again boot into clover(Follow Step 1-5) and again select "MacOS". If everything goes well, you will finish up the installation process and arrive at the Mac OS Sierra desktop.
Install clover to hdd.
Congratulations!! Your Installation is complete!!
Now you need to fix things one by one.
Will Provide fixes when I get time.