Hi, I think I have messed up my mac's firmware. I disabled SIP from revovery and installed refind (wanted to install Ubuntu) but since I did that my mac is extremely slow to boot to anything (about 10 min). Also it doesn't completely boot, just appear the beach ball all the time. I have changed the HDD to another with a working OS X install, and it is extremely slow, but also can't start OS X. I hope i didn't broke anything.
I reseted SMC and PRAM, and nothing. I tried to enable SIP again from the recovery (it actually gets into the recovery partition after a long time) but I get the message:
csrutil: failed to modify system integrity configuration. This tool needs to be executed from the Recovery OS
Which is what I'm doing, and somehow I can't reenable it again.
Is there any way to reset the mac firmware?
What can I do to make my mac work again?
Thanks
EDIT: I'm on El Capitan, the latest available for this machine.
I reseted SMC and PRAM, and nothing. I tried to enable SIP again from the recovery (it actually gets into the recovery partition after a long time) but I get the message:
csrutil: failed to modify system integrity configuration. This tool needs to be executed from the Recovery OS
Which is what I'm doing, and somehow I can't reenable it again.
Is there any way to reset the mac firmware?
What can I do to make my mac work again?
Thanks
EDIT: I'm on El Capitan, the latest available for this machine.