![]() LOG_FILE="$PWD/EFIClone.log" (Default is the path to the working directory and a file named EFIClone.log) The only other setting is the path where the log file will be written out. I HAVE DONE EVERYTHING I CAN TO PREVENT DATA LOSS, BUT THERE MAY BE BUGS IN THIS CODE. PLEASE ENSURE YOU HAVE A WORKING BACKUP BEFORE YOU ATTEMPT TO USE THIS SCRIPT. ![]() Regardless of what the test shows, I have to add this disclaimer: I AM NOT RESPONSIBLE FOR DATA LOSS ON YOUR SYSTEM. It is possible that something could be screwed up and I don't want to delete the wrong data. I use this script for myself and have no problems with it but is is brand new (beta) and it WILL delete the contents of what it believe is the EFI partiton on the destination drive. Please run the script with TEST_SWITCH="Y" at least once and review the log file to see the results before attemtping to let the script modify anything. In Test Mode all parsing of the script input will take place, the EFI partitions will be mounted, the data on the source and destination partitions will be verified and all activity will be logged, but NO DATA WILL BE MODIFIED. This setting tells the script whether to run in Test Mode. Replace them with the contents of the source EFI partition. a value other than "Y" allows the script to run in normal mode - it will delete the contents of the destination EFI partition and.a value of "Y" tells the script to only test it's run - no modification of data will happen.TEST_SWITCH="Y" (Default on a new install is "Y") The most important setting is the TEST_SWITCH. Since this is a script file, they have to be manually edited with a text editor. There are currently only two user confiruation settings. When configured in your CCC or SD! clone job, EFIClone will allow you to do a single-step clone from your current hackintosh drive to a truly bootable backup drive with no other steps required. The script provides extensive logging, has a "test" mode that will log what it WOULD have done but will not modify any data, and sends a notification to the macOS notification center with the results of the run. Because of this, the disk clone utilities do not copy the contents of the secondary EFI partition from one drive to another when doing their job.īoth CCC and SD! have the ability to configure a "post flight" script that will be launched when the main clone job has been completed.īoth programs pass details of the source and destination drives that were used in the clone job, and from this the script is able to find the associated EFI partitions and automatically copy the contents of the critical EFI folder from the source drive to the destination drive as well. Though modern Macs support the EFI booting in order to maintain compatibility with running non-Apple operating system on their hardware, they do NOT need the EFI partition in order to boot MacOS. ![]() ![]() EFIClone.sh is a macOS bash shell script for Hackintosh machines that is designed to integrate with either Carbon Copy Cloner or SuperDuper! - the two most popular macOS disk cloning utilities.ĬCC and SD! both will automatically create bootable clones on real Macintoshes in a single step. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |