Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
Status
The first post of this thread is a WikiPost and can be edited by anyone with the appropiate permissions. Your edits will be public.

MacMusic01

macrumors newbie
Feb 21, 2020
26
18
Didn't really understand your reply. Are you saying you have Mojave installed on the USB flash drive? What do you mean "in recovery mode (...) I installed Mojave from the ..." ? I'm lost.

Anyhow, forgetting the fact I'm lost, what do you need to do from within Recovery Mode that you can't do when booting from the patched installer?
Bascially I’m trying to find out how I can access recovery mode as it dosent work anymore due to me using the patcher to upgrade on an unsupported mac.

the usb flash drive had the installer on it and macOS was installed on the Mac hard drive.
 
  • Like
Reactions: TimothyR734

mrploppy

macrumors regular
Oct 27, 2017
242
128
Bascially I’m trying to find out how I can access recovery mode as it dosent work anymore due to me using the patcher to upgrade on an unsupported mac.

the usb flash drive had the installer on it and macOS was installed on the Mac hard drive.
... and basically, my question to you was: why do you need recovery mode? Not trying to be awkward here - if you boot from the patched installer, it has Disk Utility and Terminal. You're not going to use recovery mode to re-install your system. If you could explain what you think you may need to do from recovery mode, then maybe all will become clear.
 
  • Like
Reactions: TimothyR734

MacMusic01

macrumors newbie
Feb 21, 2020
26
18
... and basically, my question to you was: why do you need recovery mode? Not trying to be awkward here - if you boot from the patched installer, it has Disk Utility and Terminal. You're not going to use recovery mode to re-install your system. If you could explain what you think you may need to do from recovery mode, then maybe all will become clear.
I need to do this which can only been done within recovery mode
7F503BDC-A1B5-4B96-840C-A61C567A484E.jpeg

[automerge]1582298839[/automerge]
It‘a bascially to help improve CPU usage but requires a custom SPI that can not be done from terminal when logged on.

and I obviously can’t access recovery mode to do it
 
  • Like
Reactions: TimothyR734

mrploppy

macrumors regular
Oct 27, 2017
242
128
I need to do this which can only been done within recovery mode View attachment 895421
[automerge]1582298839[/automerge]
It‘a bascially to help improve CPU usage but requires a custom SPI that can not be done from terminal when logged on.

and I obviously can’t access recovery mode to do it
Can't you execute that command from Terminal when booted from your patched installer? I'm no expert here, so others might chime in, but I thought SIP wasn't related to your drive but to the hardware. It may be stored in NVRAM - not sure.

My other question would be, is it OK to enable SIP on an unsupported machine?
 
  • Like
Reactions: TimothyR734

MacMusic01

macrumors newbie
Feb 21, 2020
26
18
Can't you execute that command from Terminal when booted from your patched installer? I'm no expert here, so others might chime in, but I thought SIP wasn't related to your drive but to the hardware. It may be stored in NVRAM - not sure.

My other question would be, is it OK to enable SIP on an unsupported machine?
No because the actions taken in terminal on the usb recovery mode wouldn’t effect the Mac itself that runs on the Hard drive.
also thier is very little risk in doing it on an unsupported machine
 
  • Like
Reactions: TimothyR734

avz

macrumors 68000
Oct 7, 2018
1,830
1,897
Stalingrad, Russia
No because the actions taken in terminal on the usb recovery mode wouldn’t effect the Mac itself that runs on the Hard drive.
also thier is very little risk in doing it on an unsupported machine

If you still haven't catch on to what the mrploppy is saying:

SIP MUST REMAIN DISABLED AT ALL TIMES WHILE RUNNING THE UNSUPPORTED SYSTEM.

P.S. You can disable SIP from the Recovery mode of Mojave patcher, the functionality of the recovery mode is identical to the native recovery(or even better).
 

mrploppy

macrumors regular
Oct 27, 2017
242
128
No because the actions taken in terminal on the usb recovery mode wouldn’t effect the Mac itself that runs on the Hard drive.
also thier is very little risk in doing it on an unsupported machine
I'm not convinced you're correct. That would suggest the SIP setting is stored on the drive - your USB drive in this case. I don't think that's true. If I'm wrong, someone will be along in a bit to correct me.

Anyway, why don't you try it by booting from your USB drive and running the csrutil commands. Like I said earlier though, not sure you should be enabling SIP on an unsupported machine. @dosdude1's very own words (albeit for Catalina) say this:

Because system files are patched, and extra, unsigned kexts are being installed, SIP must remain disabled at all times when running a patched copy of macOS. Having SIP enabled will cause the system to simply stop booting, or have functionality issues. Catalina Patcher includes an implementation that ensures SIP is always disabled, regardless of what the user sets in NVRAM.
 

MacMusic01

macrumors newbie
Feb 21, 2020
26
18
I'm not convinced you're correct. That would suggest the SIP setting is stored on the drive - your USB drive in this case. I don't think that's true. If I'm wrong, someone will be along in a bit to correct me.

Anyway, why don't you try it by booting from your USB drive and running the csrutil commands. Like I said earlier though, not sure you should be enabling SIP on an unsupported machine. @dosdude1's very own words (albeit for Catalina) say this:

Because system files are patched, and extra, unsigned kexts are being installed, SIP must remain disabled at all times when running a patched copy of macOS. Having SIP enabled will cause the system to simply stop booting, or have functionality issues. Catalina Patcher includes an implementation that ensures SIP is always disabled, regardless of what the user sets in NVRAM.
If you forget about the SIP, for future purposes how would I be able to access the Mac if I lost all my files or had to do something crucial in recovery mode which meant whether I could use the Mac or not without erasing the hardrive?
 
  • Like
Reactions: TimothyR734

mrploppy

macrumors regular
Oct 27, 2017
242
128
If you forget about the SIP, for future purposes how would I be able to access the Mac if I lost all my files or had to do something crucial in recovery mode which meant whether I could use the Mac or not without erasing the hardrive?
Well, first of all, I would create a bootable backup of your installation. You do have a backup somewhere, yes? I do this with Carbon Copy Cloner to an external drive. I tend to do this after every system update, and periodically after security updates. And I did it before installing a new SSD as my internal drive. I'm not anal about backups i.e. I don't do daily backups and don't use Time Machine, but I at least have a system that I could go back to that was only a few months old. In reality, most of my stuff is either gmail'd, stored on iCloud, or periodically cloned as a backup. Not sure if that answers your question. If my internal drive died, I'd just install a new one and clone from my external drive onto the empty new drive.

That last sentence made me think about the SIP question. If you had a brand new empty internal hard drive on which you wanted to install Mojave using the patched installer on a USB drive, how do you think you'd disable SIP, or set any SIP status, before installation? There'd be no recovery partition on the empty drive to boot from. That kinda defeats the argument that the SIP status is stored on the drive (I think).
 
  • Like
Reactions: TimothyR734

MacMusic01

macrumors newbie
Feb 21, 2020
26
18
Well, first of all, I would create a bootable backup of your installation. You do have a backup somewhere, yes? I do this with Carbon Copy Cloner to an external drive. I tend to do this after every system update, and periodically after security updates. And I did it before installing a new SSD as my internal drive. I'm not anal about backups i.e. I don't do daily backups and don't use Time Machine, but I at least have a system that I could go back to that was only a few months old. In reality, most of my stuff is either gmail'd, stored on iCloud, or periodically cloned as a backup. Not sure if that answers your question. If my internal drive died, I'd just install a new one and clone from my external drive onto the empty new drive.

That last sentence made me think about the SIP question. If you had a brand new empty internal hard drive on which you wanted to install Mojave using the patched installer on a USB drive, how do you think you'd disable SIP, or set any SIP status, before installation? There'd be no recovery partition on the empty drive to boot from. That kinda defeats the argument that the SIP status is stored on the drive (I think).
But does the backup contain programs as well as the files. I’m a music creator so if I loose a file I’m in a trouble and without recovery mode it opens a big risk to me not being able to recover my Mac if anything should happen to it.

is thier any solution to this issue they dosent invole An external drive and can be done straight on the Mac?
 
  • Like
Reactions: TimothyR734

jackluke

macrumors 68040
Jun 15, 2018
3,321
8,068
But does the backup contain programs as well as the files. I’m a music creator so if I loose a file I’m in a trouble and without recovery mode it opens a big risk to me not being able to recover my Mac if anything should happen to it.

is thier any solution to this issue they dosent invole An external drive and can be done straight on the Mac?

If your Mojave installation is in APFS , then this early script that I wrote should still work, allowing CMD+R , a standard recovery environment and maybe also the Wifi function into Recovery to open for example "Get Help Online" aka Safari browser from osx recovery mode.

Try this: Mojave APFS Recovery fix script
 
  • Like
Reactions: TimothyR734

Dayo

macrumors 68020
Dec 21, 2018
2,257
1,279
If you forget about the SIP, for future purposes how would I be able to access the Mac if I lost all my files or had to do something crucial in recovery mode which meant whether I could use the Mac or not without erasing the hardrive?

There is an old saying that there are two types of hard drives, those that have failed and those that are about to fail. What happens when the drive that is about to fail, that you have all your files on, does fail?

The Mac Recovery Mode is just one piece in a backup strategy and will not be of any use in such a situation.

I don't have such criticality but I run the following:
  1. Time Machine Backups: To recover individual files whenever needed going back several months. Also a potential system recovery point if needed
  2. A bootable clone on a drive called "Daily" using Carbon Copy Cloner that runs twice a day
  3. Another bootable clone that runs once a week on a drive called "Weekly"
The real question you should be considering therefore, is whether you have the other pieces of a proper backup strategy in place. For someone with such critical files, you should have backups offsite etc.
 
  • Like
Reactions: TimothyR734

mrploppy

macrumors regular
Oct 27, 2017
242
128
But does the backup contain programs as well as the files. I’m a music creator so if I loose a file I’m in a trouble and without recovery mode it opens a big risk to me not being able to recover my Mac if anything should happen to it.

is thier any solution to this issue they dosent invole An external drive and can be done straight on the Mac?
Sorry, I was a little late answering, so others have already given you some input. The bottom line is: you need to back up.

To answer your specific question, I use Carbon Copy Cloner (others are available) to clone the whole of my internal drive to an external USB drive (actually, to a part of an external drive - it's bigger than my internal). It makes a bootable copy - everything - system, applications, user directories - everything. I could boot from the clone if I wanted. I could copy the clone back to the internal drive (using CCC) if I wanted. It's a sledgehammer approach to backups though. If your files are really critical to you, then you really should address the backup issue: how often you want to back up, how would you feel if you lost a day/week/month of work, etc. And if they are seriously critical to you, then as someone else said, you should keep a backup offsite as well - in case your house/office burns down. The only issue I've had with cloning a drive is sometimes an application will need "re-activating" - this happened to me with Office because I guess it realised that it was now on a different drive to when it was initially installed.
 
  • Like
Reactions: TimothyR734

0403979

Cancelled
Jun 11, 2018
1,402
1,735
Well, first of all, I would create a bootable backup of your installation. You do have a backup somewhere, yes? I do this with Carbon Copy Cloner to an external drive. I tend to do this after every system update, and periodically after security updates. And I did it before installing a new SSD as my internal drive. I'm not anal about backups i.e. I don't do daily backups and don't use Time Machine, but I at least have a system that I could go back to that was only a few months old. In reality, most of my stuff is either gmail'd, stored on iCloud, or periodically cloned as a backup. Not sure if that answers your question. If my internal drive died, I'd just install a new one and clone from my external drive onto the empty new drive.

That last sentence made me think about the SIP question. If you had a brand new empty internal hard drive on which you wanted to install Mojave using the patched installer on a USB drive, how do you think you'd disable SIP, or set any SIP status, before installation? There'd be no recovery partition on the empty drive to boot from. That kinda defeats the argument that the SIP status is stored on the drive (I think).
The SIP configuration is stored in NVRAM and what csrutil does is the same from all installer environments: it just changes that NVRAM variable. And it affects the whole machine.
 
  • Like
Reactions: TimothyR734

mrploppy

macrumors regular
Oct 27, 2017
242
128
The SIP configuration is stored in NVRAM and what csrutil does is the same from all installer environments: it just changes that NVRAM variable. And it affects the whole machine.
Thanks. I thought so but wasn't entirely sure. One thing that had passed me by was the introduction of the SIP Disabler patch (and the fact that disabling SIP is not mentioned in the installation instructions anymore). So, assuming @MacMusic01, has the patch installed, his attempt to "csrutil enable" isn't going to achieve anything anyway. Is that correct?
 
  • Like
Reactions: TimothyR734

MacMusic01

macrumors newbie
Feb 21, 2020
26
18
If your Mojave installation is in APFS , then this early script that I wrote should still work, allowing CMD+R , a standard recovery environment and maybe also the Wifi function into Recovery to open for example "Get Help Online" aka Safari browser from osx recovery mode.

Try this: Mojave APFS Recovery fix script
It’s works now! Thanks so much
 

Attachments

  • 3866F28B-C242-4F24-AC4F-7AA929D503A4.jpeg
    3866F28B-C242-4F24-AC4F-7AA929D503A4.jpeg
    345.9 KB · Views: 117

jackluke

macrumors 68040
Jun 15, 2018
3,321
8,068
It’s works now! Thanks so much

I could be agree with others on many points about that APFS Recovery is almost unuseful but consider these cases when a macbook has only two available usb ports:

1) Trackpad broken or someone might prefer to use an external usb mouse (ok probably you have a bluetooth one then maybe you want to plug an additional external usb devices for files recoveries or an usb time machine backup)

2) For sure the other spare usb port is almost always needed for an external usb backup drive.

From unsupported Recovery you can't re-install an unsupported macOS, of course.

I understand sometimes if an internal drive fails, probably also internal recovery results damaged, but in other situation maybe since on different partition the recovery might work also over a failed drive.

If you want to attempt an effective "csrutil enable --without kext" you should first remove this kext and rebuild a kextcache without it:
/Library/Extensions/SIPDisabler.kext

Anyway on unsupported machine enabling SIP, even if only "--without kext" after a post-frameworks patching might work, is not advisable.
 
Last edited:
  • Like
Reactions: TimothyR734 and avz

0403979

Cancelled
Jun 11, 2018
1,402
1,735
Thanks. I thought so but wasn't entirely sure. One thing that had passed me by was the introduction of the SIP Disabler patch (and the fact that disabling SIP is not mentioned in the installation instructions anymore). So, assuming @MacMusic01, has the patch installed, his attempt to "csrutil enable" isn't going to achieve anything anyway. Is that correct?
With that kext, SIP is turned off only on the volume with it installed. Running csrutil enable/disable will only affect volumes without that kext.
 

MacMusic01

macrumors newbie
Feb 21, 2020
26
18
Should
I could be agree with others on many points about that APFS Recovery is almost unuseful but consider these cases when a macbook has only two available usb ports:

1) Trackpad broken or someone might prefer to use an external usb mouse (ok probably you have a bluetooth one then maybe you want to plug an additional external usb devices for files recoveries or an usb time machine backup)

2) For sure the other spare usb port is almost always needed for an external usb backup drive.

From unsupported Recovery you can't re-install an unsupported macOS, of course.

I understand sometimes if an internal drive fails, probably also internal recovery results damaged, but in other situation maybe since on different partition the recovery might work also over a failed drive.

If you want to attempt an effective "csrutil enable --without kext" you should first remove this kext and rebuild a kextcache without it:
/Library/Extensions/SIPDisabler.kext

Anyway on unsupported machine enabling SIP, even if only "--without kext" after a post-frameworks patching might work, is not advisable.
I just disable it?
 
  • Like
Reactions: TimothyR734

jackluke

macrumors 68040
Jun 15, 2018
3,321
8,068
Should

I just disable it?

After a PRAM reset and maybe also after a major system upgrade (example from HighSierra to Mojave), SIP turns enabled again, but keeping @parrotgeek1 SIPManager.kext is equivalent to "csrutil disable", allowing any patches on a target macos volume to work properly.

Another example with SIP enabled you couldn't apply my Mojave apfs recovery script.
 
Last edited:
  • Like
Reactions: TimothyR734

MacMusic01

macrumors newbie
Feb 21, 2020
26
18
After a PRAM reset and maybe also after a major system upgrade (example from HighSierra to Mojave), SIP turns enabled again, but keeping @parrotgeek1 SIPDisabler.kext is equivalent to "csrutil disable", allowing any patches on a target macos volume to work properly.
So I disable it, how do I do it?
Is thier a script I can use for it?
 
  • Like
Reactions: TimothyR734

MacMusic01

macrumors newbie
Feb 21, 2020
26
18
The kext name is SIPManager.kext I made a typo writing SIPDisabler.kext.

Anyway boot from CMD+R or usb installer, open a recovery terminal and type: csrutil disable
Ok worked thanks
[automerge]1582461166[/automerge]
Ok worked thanks
Would it be ok to do —without kext
[automerge]1582461263[/automerge]
Whenever I try to enter recovery mode now, it turns off and reboots to normal log in
[automerge]1582461950[/automerge]
The kext name is SIPManager.kext I made a typo writing SIPDisabler.kext.

Anyway boot from CMD+R or usb installer, open a recovery terminal and type: csrutil disable
So after a few reboot it works fine.

but when trying to disable the SIP this comes up in terminal, please can someone help me with this
 

Attachments

  • DDD6813C-39E5-443C-8BFE-D4DD3D53E6EE.jpeg
    DDD6813C-39E5-443C-8BFE-D4DD3D53E6EE.jpeg
    601.9 KB · Views: 98
  • 0FF35ACF-0DFB-455A-8448-FD4967B97A96.jpeg
    0FF35ACF-0DFB-455A-8448-FD4967B97A96.jpeg
    947.8 KB · Views: 94
Last edited:
  • Like
Reactions: TimothyR734
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.