Jump to content
ferschtl

Loop of startup Hackintosh script

Recommended Posts

Loop of startup Hackintosh script

Hi all,

eventually I managed to do an installation of niresh distro Sierra hackintosh zone. After initial setup of my user, the hackintosh zone script starts telling me that it fixes permissions, updates system caches, etc. It also rebuilds the launch service database and adds hackintosh icons to the dock. At the end it finishes with "The installation was successful. Your Hackintosh is optimized now". After that the script restarts.

This leads to a blown up dock, because with each run the hackintosh icons are added to the dock with each run. Rebooting the machine does not change anything.

How can I stop this script? Has anybody encountered the same? What is the name of the script? What should I google for?

Cheers

Ferschtl

Share this post


Link to post
Share on other sites

I'll try to fix it in the next release, to resolve this issue

Run these commands in the terminal

sudo rm -rf /System/Library/LaunchAgents/Niresh12495.Volume.iRepairGUI.plist
sudo rm -rf /System/Library/LaunchDaemons/Niresh12495.Volume.iRepairCLI.plist

 

Share this post


Link to post
Share on other sites

Thanks, but if I try to delete one of these files, I get "Operation not permitted".

I can't find any way to disable SIP (which seems to be the cause for this message).  CMD + R does not let me enter the recovery mode. I don't have any bootloader showing up that would allow me to enter bootflags or anything.

I'm running on a Ubuntu 16.04 Host with Virtualbox 5.1.18.

 

Share this post


Link to post
Share on other sites

In order to access Installation environment under VirtualBox, you will need to enter the VirtualBox EFI BIOS by pressing F12 few times, at very early stage of guest VM boot up.

You will be greeted with an old school text mode BIOS interface, in which you should choose the Boot Manager option.

Inside, launch EFI Internal Shell to enter EFI commandline mode.

After getting the command prompt, switch to the FS2: drive:

2.0 Shell> FS2:
2.0 FS2:>

Of course, your drive number can be different, depending on the partition table structure you've chosen to have.

On the FS2: drive, in com.apple.recovery.boot directory, there is a EFI program inside the boot.efi file. We need to launch it.

2.0 FS2:\> cd com.apple.recovery.boot
2.0 FS2:\com.apple.recovery.boot\> boot.efi

Any errors that start with ERROR!!! can be safely ignored! :)

The Installation Environment should now start booting up, this can take several minutes to complete.

When it will load, you need to launch the terminal, from which you will be able to use the csrutil command:

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community.

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Contribute

    This is a free website, We'll try to keep it that way, Your donations and disabling Adblock makes this site going on, Thanks for understanding.



    $8.78 of $100.00 goal reached.
    Donate Now
×