Jump to content

Create Custom Entries to Hide Preboot and Recovery APFS Volumes, Fusion Drive Installation with Clover Configurator

Custom Entries High Sierra APFS Preboot Recovery Hide Entries Rename Entries Clover Configurator Fusion Drive Installation

  • Please log in to reply
24 replies to this topic

#21
jan-munich

jan-munich

    InsanelyMac Protégé

  • Members
  • PipPip
  • 50 posts

It's because sometimes you need to have access to boot from such partitions.

Than you press F3 and have all your volumes back.

 

 

Why so complex approach by creation of custom Entries to Hide Preboot and Recovery APFS Volumes with Clover Configurator?

 

attachicon.gif171011-0001.jpg

 

You can just add Preboot into Hide Volume's section. 

 

Otherwise of course good tutorial ;)

 

Agree:

 

easiest way seems to be just to add the following:

<key>GUI</key>
	<dict>
		<key>Hide</key>
		<array>
			<string>Recovery</string>
			<string>Preboot</string>
			<string>VM</string>
		</array>
		<key>Scan</key>
		<true/>
		
	</dict>


#22
fusion71au

fusion71au

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 868 posts
  • Gender:Male

Creating a Custom Entry for Sierra/High Sierra Installation on a Fusion Drive

At the time of writing this guide, Clover r4297 does not yet have the code to detect the boot files created by the Sierra/High Sierra installer on the "Boot OS X" partitions of the physical drives comprising a Fusion Drive.  As a consequence, after the first phase of installation and reboot, there is no "Boot macOS install" entry for the Fusion Drive ---> installation cannot continue without creating a Custom Entry in Clover's config.plist that points to these boot files (located in com.apple.boot.R folder - reference post#15322 in Clover General Discussion thread).

 

Prerequisites
1.  Existing OS X installation or Sierra/High Sierra USB installer with Clover installed in EFI partition
2.  1 x Standard SATA SSD
3.  1 x Standard SATA HD
 
Create Fusion Drive
1.  Boot from the USB Installer and format both of the drives you want to use with Disk Utility as jHFS+.
2.  Launch terminal and type "diskutil list".  Note the disk numbers of the SSD and HD (eg disk0, disk1).
3.  In terminal, create the Fusion Drive with the following command: "diskutil CS create "FusionHD" <SSD> <HD>" where <SSD>=SSD number, <HD>=Hard Disk number.
-bash-3.2# diskutil CS create "FusionHD" disk0 disk1
Started CoreStorage operation
Unmounting disk0
Repartitioning disk0
Unmounting disk
Creating the partition map
Rediscovering disk0
Adding disk0s2 to Logical Volume Group
Unmounting disk1
Repartitioning disk1
Unmounting disk
Creating the partition map
Rediscovering disk1
Adding disk1s2 to Logical Volume Group
Creating Core Storage Logical Volume Group
Switching disk0s2 to Core Storage
Switching disk1s2 to Core Storage
Waiting for Logical Volume Group to appear
Discovered new Logical Volume Group "F77C452C-BEAD-4D8C-8359-C3D745B68E85"
Core Storage LVG UUID: F77C452C-BEAD-4D8C-8359-C3D745B68E85
Finished CoreStorage operation
Note the UUID of the Logical Volume Group eg in this case, F77C452C-BEAD-4D8C-8359-C3D745B68E85 ---> will be needed again in step 5.
     
4.  Once the fusion of the two drives has finished, in terminal type "diskutil CS list" ---> this will show the layout structure of your new CoreStorage (LVG) Logical Volume Group.
-bash-3.2# diskutil CS list
5.  You won't be able to create the first partition on the new (LVG) Logical Volume Group with Disk Utility. In preparation for the Sierra/High Sierra installation, type "diskutil CS createVolume UUID jhfs+ "FusionHD" 100%" in terminal:
-bash-3.2# diskutil CS createVolume F77C452C-BEAD-4D8C-8359-C3D745B68E85 jhfs+ FusionHD 100%
Started CoreStorage operation
Waiting for Logical Volume to appear
Formatting file system for Logical Volume
Initialized /dev/rdisk21 as a 89 GB case-insensitive HFS Plus volume with a 8192k journal
Mounting disk
Core Storage LV UUID: 60E582DB-A590-44B5-8386-7FCAE66D7A88
Core Storage disk: disk21
Finished CoreStorage operation
    Your Logical Volume is now complete, formatted as jHFS+, and ready for installation.
    
Add Custom Entry to Clover's config.plist on the USB Installer
This is most easily done with Clover configurator in an existing OS X installation but can also be done with a plist/text editor.  The custom entry should point to either of the "Boot OS X" volumes on the physical drives, loader path is \com.apple.boot.R\boot.efi:
 
Attached File  Boot OS X com.apple.boot.R.png   54.79KB   3 downloads
 
1.  Partition UUID of "Boot OS X" can be determined by running the diskutil info command in terminal...
-bash-3.2# diskutil info "Boot OS X" | grep UUID
Volume UUID:              1DF31F9F-B27C-3244-9778-BA81B8B5142D
Disk / Partition UUID:    84496AE5-87DA-4862-AC79-C69E65D56EDA
2.  Mount the EFI partition on the USB Installer and edit Clover's config.plist, adding the custom entry as shown below...
 
Attached File  FusionHD Installer Custom Entry.png   425.97KB   2 downloads
 
	<key>GUI</key>
	<dict>
		<key>Custom</key>
		<dict>
			<key>Entries</key>
			<array>
				<dict>
					<key>Disabled</key>
					<false/>
					<key>FullTitle</key>
					<string>FusionHD Installer</string>
					<key>Hidden</key>
					<false/>
					<key>Ignore</key>
					<false/>
					<key>InjectKexts</key>
					<true/>
					<key>NoCaches</key>
					<false/>
					<key>Path</key>
					<string>\com.apple.boot.R\boot.efi</string>
					<key>Type</key>
					<string>OSXInstaller</string>
					<key>Volume</key>
					<string>Boot OS X</string> #or replace with Partition UUID of "Boot OS X"
				</dict>
			</array>
		</dict>
    </dict>
 
Installation of Sierra/High Sierra and Clover on the Fusion Drive
1.  Boot to USB Installer via Clover Main Menu
2.  Open Disk Utility to erase FusionHD as jHFS+
3.  Choose to install Sierra/High Sierra ---> files copied to "macOS Install Data" folder on FusionHD and boot files to "Boot OS X" partitions.  System will reboot when complete...
4.  Select FusionHD Installer custom entry from Clover Main Menu ---> pkg files will be extracted to final locations.
 
Attached File  Boot from FusionHD Installer.png   189.97KB   4 downloads
 
     System will reboot when complete...
5.  Choose to "Boot macOS from FusionHD" ---> complete update of boot caches, setup new user etc.
6.  Mount EFI partitions of the physical drives (SSD, HD and USB Installer) with Clover Configurator and copy EFI folder from USB installer to the EFI partitions of the physical drives comprising the Fusion Drive.


#23
Allan

Allan

    V.I.P. Member

  • Supervisors
  • 11,526 posts
  • Gender:Male

Thank you @fusion71au  ^_^



#24
MacGTO

MacGTO

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 159 posts

Creating a Custom Entry for Sierra/High Sierra Installation on a Fusion Drive
At the time of writing this guide, Clover r4297 does not yet have the code to detect the boot files created by the Sierra/High Sierra installer on the "Boot OS X" partitions of the physical drives comprising a Fusion Drive.  As a consequence, after the first phase of installation and reboot, there is no "Boot macOS install" entry for the Fusion Drive ---> installation cannot continue without creating a Custom Entry in Clover's config.plist that points to these boot files (located in com.apple.boot.R folder - reference post#15322 in Clover General Discussion thread).
 
Prerequisites
1.  Existing OS X installation or Sierra/High Sierra USB installer with Clover installed in EFI partition
2.  1 x Standard SATA SSD
3.  1 x Standard SATA HD
 
Create Fusion Drive
1.  Boot from the USB Installer and format both of the drives you want to use with Disk Utility as jHFS+.
2.  Launch terminal and type "diskutil list".  Note the disk numbers of the SSD and HD (eg disk0, disk1).
3.  In terminal, create the Fusion Drive with the following command: "diskutil CS create "FusionHD" <SSD> <HD>" where <SSD>=SSD number, <HD>=Hard Disk number.

-bash-3.2# diskutil CS create "FusionHD" disk0 disk1
Started CoreStorage operation
Unmounting disk0
Repartitioning disk0
Unmounting disk
Creating the partition map
Rediscovering disk0
Adding disk0s2 to Logical Volume Group
Unmounting disk1
Repartitioning disk1
Unmounting disk
Creating the partition map
Rediscovering disk1
Adding disk1s2 to Logical Volume Group
Creating Core Storage Logical Volume Group
Switching disk0s2 to Core Storage
Switching disk1s2 to Core Storage
Waiting for Logical Volume Group to appear
Discovered new Logical Volume Group "F77C452C-BEAD-4D8C-8359-C3D745B68E85"
Core Storage LVG UUID: F77C452C-BEAD-4D8C-8359-C3D745B68E85
Finished CoreStorage operation
Note the UUID of the Logical Volume Group eg in this case, F77C452C-BEAD-4D8C-8359-C3D745B68E85 ---> will be needed again in step 5.
     
4.  Once the fusion of the two drives has finished, in terminal type "diskutil CS list" ---> this will show the layout structure of your new CoreStorage (LVG) Logical Volume Group.

-bash-3.2# diskutil CS list
5.  You won't be able to create the first partition on the new (LVG) Logical Volume Group with Disk Utility. In preparation for the Sierra/High Sierra installation, type "diskutil CS createVolume UUID jhfs+ "FusionHD" 100%" in terminal:

-bash-3.2# diskutil CS createVolume F77C452C-BEAD-4D8C-8359-C3D745B68E85 jhfs+ FusionHD 100%
Started CoreStorage operation
Waiting for Logical Volume to appear
Formatting file system for Logical Volume
Initialized /dev/rdisk21 as a 89 GB case-insensitive HFS Plus volume with a 8192k journal
Mounting disk
Core Storage LV UUID: 60E582DB-A590-44B5-8386-7FCAE66D7A88
Core Storage disk: disk21
Finished CoreStorage operation
    Your Logical Volume is now complete, formatted as jHFS+, and ready for installation.
    
Add Custom Entry to Clover's config.plist on the USB Installer
This is most easily done with Clover configurator in an existing OS X installation but can also be done with a plist/text editor.  The custom entry should point to either of the "Boot OS X" volumes on the physical drives, loader path is \com.apple.boot.R\boot.efi:
 

attachicon.gifBoot OS X com.apple.boot.R.png

 

1.  Partition UUID of "Boot OS X" can be determined by running the diskutil info command in terminal...

-bash-3.2# diskutil info "Boot OS X" | grep UUID
Volume UUID:              1DF31F9F-B27C-3244-9778-BA81B8B5142D
Disk / Partition UUID:    84496AE5-87DA-4862-AC79-C69E65D56EDA
2.  Mount the EFI partition on the USB Installer and edit Clover's config.plist, adding the custom entry as shown below...
 

attachicon.gifFusionHD Installer Custom Entry.png

 

<key>GUI</key>
	<dict>
		<key>Custom</key>
		<dict>
			<key>Entries</key>
			<array>
				<dict>
					<key>Disabled</key>
					<false/>
					<key>FullTitle</key>
					<string>FusionHD Installer</string>
					<key>Hidden</key>
					<false/>
					<key>Ignore</key>
					<false/>
					<key>InjectKexts</key>
					<true/>
					<key>NoCaches</key>
					<false/>
					<key>Path</key>
					<string>\com.apple.boot.R\boot.efi</string>
					<key>Type</key>
					<string>OSXInstaller</string>
					<key>Volume</key>
					<string>Boot OS X</string> #or replace with Partition UUID of "Boot OS X"
				</dict>
			</array>
		</dict>
    </dict>
 
Installation of Sierra/High Sierra and Clover on the Fusion Drive
1.  Boot to USB Installer via Clover Main Menu
2.  Open Disk Utility to erase FusionHD as jHFS+
3.  Choose to install Sierra/High Sierra ---> files copied to "macOS Install Data" folder on FusionHD and boot files to "Boot OS X" partitions.  System will reboot when complete...
4.  Select FusionHD Installer custom entry from Clover Main Menu ---> pkg files will be extracted to final locations.
 

attachicon.gifBoot from FusionHD Installer.png

 

     System will reboot when complete...
5.  Choose to "Boot macOS from FusionHD" ---> complete update of boot caches, setup new user etc.
6.  Mount EFI partitions of the physical drives (SSD, HD and USB Installer) with Clover Configurator and copy EFI folder from USB installer to the EFI partitions of the physical drives comprising the Fusion Drive.

Hi, after create the custom entries at first reboot when I boot from custom I’ve an error:

OSInstall.mpkg missing or damaged

Any solution??

#25
MacGTO

MacGTO

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 159 posts

UPDATE: injecting SmUUID on config.plist the installation start.... maybe is a must??







Also tagged with one or more of these keywords: Custom Entries, High Sierra, APFS, Preboot, Recovery, Hide Entries, Rename Entries, Clover Configurator, Fusion Drive, Installation


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users

© 2017 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy