Giter Club home page Giter Club logo

Comments (54)

douira avatar douira commented on June 26, 2024 8

A similar thing happens when I use Clover.app to install to a removable USB device. It says this:

Installation begin..
0:142: 
execution error: My Path = /Applications/Hackintosh/Clover.app/Contents/MacOS/Cloverhelper
Target volume: /Volumes/EFI 1
Error: target volume "/Volumes/EFI 1" is not writable. (1)

Installation failed.

from cloverbootloader.

gomsoup avatar gomsoup commented on June 26, 2024 7

I fixed this problem with this manual

  1. restart your mac
  2. press command + r until appear Apple's logo
  3. go to menubar-utility-terminal
  4. type this command

csrutil disable

profit

from cloverbootloader.

fallenprogrammr avatar fallenprogrammr commented on June 26, 2024 5

Circumvented it by -
Modifying CloverPackage/package/Distribution file
Change functioncheckFileSystemIsWritable in the file to:

function checkFileSystemIsWritable() { var writable = true; return writable; }
Run buildme from command line
Select option 3 (make pkg)
Run newly created package from CloverPackage/sym/

from cloverbootloader.

bchernicoff avatar bchernicoff commented on June 26, 2024 4

I cloned the repo, did a checkout on the 5100 tag, and hard coded checkFileSystemIsWritable to return true. Built the package and ran it from Catalina and was able to install Clover on a USB drive without issue. They need to update the installer to check the permissions on the selected install volume not the root volume of the system running the installer.

from cloverbootloader.

riverLethe9 avatar riverLethe9 commented on June 26, 2024 2

I found this article on Apple's website that may be useful.
About the read-only system volume in macOS Catalina

from cloverbootloader.

gavineadie avatar gavineadie commented on June 26, 2024 2

.. but, if your intention is to create "/Volumes/USB/EFI_Backup", and not touch "/" at all (a not-uncommon usage), the Installer script always aborts before you get to chose the install volume because it prematurely checks the success of mount -uw /.

from cloverbootloader.

bchernicoff avatar bchernicoff commented on June 26, 2024 2

@bmukheja With the latest xcode and command line tools installed, I just ran the buildme script which will present a menu asking what to build. I believe I chose Build Package but maybe I chose Build All. Sorry, I don't remember exactly.

from cloverbootloader.

bchernicoff avatar bchernicoff commented on June 26, 2024 1

Gomsoup's solution worked for me! Thanks!

Yeah but now you've disabled an important security feature of your Mac. I would re-enable now that you've made the USB drive.

from cloverbootloader.

esetnik avatar esetnik commented on June 26, 2024

I have the same issue

from cloverbootloader.

G3NSVRV avatar G3NSVRV commented on June 26, 2024

Same here.

g3nsvrv@G3NSVRVs-Mac ~ % sudo mount -u -o rw /Volumes/Install\ macOS\ Catalina 
g3nsvrv@G3NSVRVs-Mac ~ % sudo installer -pkg ./Downloads/Clover_v2.5k_r5096.pkg -target /Volumes/Install\ macOS\ Catalina
mount: / failed with 77 (77)t_apfs: volume could not be mounted: Operation not permitted
installer: Error - Cannot install without ensuring the file system is read-write

from cloverbootloader.

oantajames avatar oantajames commented on June 26, 2024

Same here.

from cloverbootloader.

icastillejogomez avatar icastillejogomez commented on June 26, 2024

Same here!!

from cloverbootloader.

EricTheRed1 avatar EricTheRed1 commented on June 26, 2024

Same here

from cloverbootloader.

riverLethe9 avatar riverLethe9 commented on June 26, 2024

I have the same issue. It does not seem to be version specific.

from cloverbootloader.

cnsilvan avatar cnsilvan commented on June 26, 2024

Same here

from cloverbootloader.

simmy1232 avatar simmy1232 commented on June 26, 2024

Can install but the system crashes. It's also made my system very slow

from cloverbootloader.

vectorsigma72 avatar vectorsigma72 commented on June 26, 2024

On Catalina (OS X 10.15), Clover installer can't get read/write access
Prompt
Error

Of course I've SIP completely enabled (0x0) ;). I didn't try without SIP, but I don't want to have to disable it each time I need to update Clover

Hi, what happens if you write your administrative account name and your administrative account password?

from cloverbootloader.

vectorsigma72 avatar vectorsigma72 commented on June 26, 2024

Same here.

g3nsvrv@G3NSVRVs-Mac ~ % sudo mount -u -o rw /Volumes/Install\ macOS\ Catalina 
g3nsvrv@G3NSVRVs-Mac ~ % sudo installer -pkg ./Downloads/Clover_v2.5k_r5096.pkg -target /Volumes/Install\ macOS\ Catalina
mount: / failed with 77 (77)t_apfs: volume could not be mounted: Operation not permitted
installer: Error - Cannot install without ensuring the file system is read-write

Sir you are the cause of the error. "Cannot install without ensuring the file system is read-write" means you did not accepted a pre install action that require you to interact into the GUI directly.

from cloverbootloader.

bpresles avatar bpresles commented on June 26, 2024

On Catalina (OS X 10.15), Clover installer can't get read/write access
Prompt
Error
Of course I've SIP completely enabled (0x0) ;). I didn't try without SIP, but I don't want to have to disable it each time I need to update Clover

Hi, what happens if you write your administrative account name and your administrative account password?

It shows the error shown in the screenshot:

https://user-images.githubusercontent.com/220623/66786465-b0ee4100-eee0-11e9-96c2-312c2831f27d.png

Same here.

g3nsvrv@G3NSVRVs-Mac ~ % sudo mount -u -o rw /Volumes/Install\ macOS\ Catalina 
g3nsvrv@G3NSVRVs-Mac ~ % sudo installer -pkg ./Downloads/Clover_v2.5k_r5096.pkg -target /Volumes/Install\ macOS\ Catalina
mount: / failed with 77 (77)t_apfs: volume could not be mounted: Operation not permitted
installer: Error - Cannot install without ensuring the file system is read-write

Sir you are the cause of the error. "Cannot install without ensuring the file system is read-write" means you did not accepted a pre install action that require you to interact into the GUI directly.

No, it's the error that is reported AFTER having entered Administrator credentials.

In a nutshell, the installer is unable to get read/write access even if you enter the appropriate credentials of an Administrator account in the dialog shown in the first screenshot: https://user-images.githubusercontent.com/220623/66786460-adf35080-eee0-11e9-9de0-f2352b0d3dc0.png

from cloverbootloader.

vectorsigma72 avatar vectorsigma72 commented on June 26, 2024

It shows the error shown in the screenshot:

https://user-images.githubusercontent.com/220623/66786465-b0ee4100-eee0-11e9-96c2-312c2831f27d.png

Can you post the install log? Just after the error go to menu->Window->Install log

from cloverbootloader.

vectorsigma72 avatar vectorsigma72 commented on June 26, 2024

On Catalina (OS X 10.15), Clover installer can't get read/write access
Prompt
Error
Of course I've SIP completely enabled (0x0) ;). I didn't try without SIP, but I don't want to have to disable it each time I need to update Clover

Hi, what happens if you write your administrative account name and your administrative account password?

It shows the error shown in the screenshot:

https://user-images.githubusercontent.com/220623/66786465-b0ee4100-eee0-11e9-96c2-312c2831f27d.png

Same here.

g3nsvrv@G3NSVRVs-Mac ~ % sudo mount -u -o rw /Volumes/Install\ macOS\ Catalina 
g3nsvrv@G3NSVRVs-Mac ~ % sudo installer -pkg ./Downloads/Clover_v2.5k_r5096.pkg -target /Volumes/Install\ macOS\ Catalina
mount: / failed with 77 (77)t_apfs: volume could not be mounted: Operation not permitted
installer: Error - Cannot install without ensuring the file system is read-write

Sir you are the cause of the error. "Cannot install without ensuring the file system is read-write" means you did not accepted a pre install action that require you to interact into the GUI directly.

No, it's the error that is reported AFTER having entered Administrator credentials.

In a nutshell, the installer is unable to get read/write access even if you enter the appropriate credentials of an Administrator account in the dialog shown in the first screenshot: https://user-images.githubusercontent.com/220623/66786460-adf35080-eee0-11e9-9de0-f2352b0d3dc0.png

Sure the install will fail if you run the package from the command line. no way

from cloverbootloader.

bpresles avatar bpresles commented on June 26, 2024

It shows the error shown in the screenshot:
https://user-images.githubusercontent.com/220623/66786465-b0ee4100-eee0-11e9-96c2-312c2831f27d.png

Can you post the install log? Just after the error go to menu->Window->Install log

So here the log after I entered my administrator account credentials successfully:

Oct 19 11:21:37 iMac Installer[58510]: Package Authoring Error: has an unsupported MIME type: image/data
Oct 19 11:21:37 iMac Installer[58510]: Package Authoring Error: has an unsupported MIME type: image/data
Oct 19 11:21:37 iMac Installer[58510]: Package Authoring Error: <background_scaling> has an unsupported MIME type: X-NSObject/NSNumber
Oct 19 11:21:37 iMac Installer[58510]: Package Authoring Error: <background_alignment> has an unsupported MIME type: X-NSObject/NSNumber
Oct 19 11:21:37 iMac Installer[58510]: Package Authoring Error: has an unsupported MIME type: X-NSObject/NSNumber
Oct 19 11:21:38 iMac Installer[58510]: Could not load resource license: (null)
Oct 19 11:21:58 iMac Installer[58510]: Installation checks failed.
Oct 19 11:21:58 iMac Installer[58510]: Installation check failure. . Installation impossible sans passer le système de fichier en lecture/écriture.
Oct 19 11:22:01 iMac Installer[58510]: Package Authoring Error: Infinite loop between attributes and mixed state aborted.

Translation in english would be:

Oct 19 11:21:58 iMac Installer[58510]: Installation checks failed.
Oct 19 11:21:58 iMac Installer[58510]: Installation check failure. Cannot install without ensuring the file system is read-write

Oh oh, same error than the one provided by the user who tried with command line (with sudo and ensuring the FS was mounted read/write before starting the "sudo installer" command) ! Surprising, isn't it ? ;)

from cloverbootloader.

G3NSVRV avatar G3NSVRV commented on June 26, 2024

Same here.

g3nsvrv@G3NSVRVs-Mac ~ % sudo mount -u -o rw /Volumes/Install\ macOS\ Catalina 
g3nsvrv@G3NSVRVs-Mac ~ % sudo installer -pkg ./Downloads/Clover_v2.5k_r5096.pkg -target /Volumes/Install\ macOS\ Catalina
mount: / failed with 77 (77)t_apfs: volume could not be mounted: Operation not permitted
installer: Error - Cannot install without ensuring the file system is read-write

Sir you are the cause of the error. "Cannot install without ensuring the file system is read-write" means you did not accepted a pre install action that require you to interact into the GUI directly.

Bruh, Do you think that I didn’t try it through the UI? Right click open, put admin credentials, get same error on EULA screen?

from cloverbootloader.

vectorsigma72 avatar vectorsigma72 commented on June 26, 2024

no surprise if it fails from the command line because there is a check that abort the installation if you did not accept it:

`function checkFileSystemIsWritable()
{
var writable = true;
var cmd = '[[ yes == $(diskutil info / | grep -i 'read-only volume:' | awk '{print $NF}' | tr '[:upper:]' '[:lower:]') ]]'
r = system.run('/bin/bash', '-c', cmd);
system.log('checkFileSystemIsWritable diskutil result = ' + r);

writable = (r != 0);

if (writable) {
  system.log('checkFileSystemIsWritable: file system is writable: Passed');
} else {
  system.log('checkFileSystemIsWritable: root file system is read only, try to make it RW...');
  var cmd2 = '/usr/bin/osascript -e\''
  cmd2 += 'do shell script "mount -uw /'
  cmd2 += '" with prompt '
  cmd2 += '"' + system.localizedString('MakingRootRW') + '"'
  cmd2 += ' with administrator privileges\''
  
  try
  {
    r2 = system.run('/bin/bash', '-c', cmd2);
    writable = (r2 == 0);
    if (writable) {
      system.log('mount -uw / succeded.');
    }
  } catch (e) {
    system.log('mount -uw / returned with error: ' + e);
    writable = false;
  }

  if (writable == false) {
    my.result.message = system.localizedString('GoToFailRootRW');
    my.result.type = 'Fatal';
  }
}

	return writable;
}`

so there is no way you can skip it (i.e. even if the file system was already writable). A failure after giving a correct administrative account name/password can be a bug instead. But the try-catch block should print 'mount -uw / succeded.' when succeded or

'mount -uw / returned with error: ' + e
when it fails...
but there is no trace of them just as you refuse to go ahead or anyway some how the installation-check is refused, if not by you, is refused by the system. So the question is: are you running from an Administrative account? Why the user name did not appear in your screen shot? Did you remove it for your privacy?

from cloverbootloader.

vectorsigma72 avatar vectorsigma72 commented on June 26, 2024

Same here.

g3nsvrv@G3NSVRVs-Mac ~ % sudo mount -u -o rw /Volumes/Install\ macOS\ Catalina 
g3nsvrv@G3NSVRVs-Mac ~ % sudo installer -pkg ./Downloads/Clover_v2.5k_r5096.pkg -target /Volumes/Install\ macOS\ Catalina
mount: / failed with 77 (77)t_apfs: volume could not be mounted: Operation not permitted
installer: Error - Cannot install without ensuring the file system is read-write

Sir you are the cause of the error. "Cannot install without ensuring the file system is read-write" means you did not accepted a pre install action that require you to interact into the GUI directly.

Bruh, Do you think that I didn’t try it through the UI? Right click open, put admin credentials, get same error on EULA screen?

This bothered you? Simply is not possible from the command line, ad it was the only things visible from your message. Any way from your log, this time I can see an comprehensive and illuminating
mount: / failed with 77 (77)t_apfs: volume could not be mounted: Operation not permitted

from cloverbootloader.

bpresles avatar bpresles commented on June 26, 2024

Why the user name did not appear in your screen shot? Did you remove it for your privacy?

Yes

from cloverbootloader.

bpresles avatar bpresles commented on June 26, 2024

So the question is: are you running from an Administrative account ?

Yes

from cloverbootloader.

vectorsigma72 avatar vectorsigma72 commented on June 26, 2024

Yes

Ok thanks, that is clear. Usually administrative account show the name while guests or non administrative accounts require to fill both user name and password, why I asked.
Have you notice a line in your log that starts with:
mount: / failed with
as for @G3NSVRV ?

some other questions:
Is that happening on the root file system or on another disk only, like an external one? Happens on both cases or one of the two works?
Is that happening because you are targeting a volume containing a Catalina installer or another Catalina partition running from a Catalina installation?

from cloverbootloader.

bpresles avatar bpresles commented on June 26, 2024

Yes

Ok thanks, that is clear. Usually administrative account show the name while guests or non administrative accounts require to fill both user name and password, why I asked.
Have you notice a line in your log that starts with:
mount: / failed with
as for @G3NSVRV ?

I gave you the whole log from the Installer, so I guess no ;)

some other questions:
Is that happening on the root file system or on another disk only, like an external one? Happens on both cases or one of the two works?

I'm running the installer from the root filesystem.

Is that happening because you are targeting a volume containing a Catalina installer or another Catalina partition running from a Catalina installation?

I'm trying to install Clover while booted in Catalina from my main SSD (with previous clover). There is no Catalina installation partition or app (nothing in /Applications).

from cloverbootloader.

gavineadie avatar gavineadie commented on June 26, 2024

Returning to this issue .. the bottom line is that the Clover installer seems dysfunctional when used from a Mac running Catalina in that you cannot reach the "click 'Continue' twice" step of the Clover instructions because the installer aborts before offering that option. I presume, since I don't know the intervals of the process, that the Clover installer always checks if it can write to the root volume, even if the user has no intention of doing that (the more common target of the install being a USB stick), when it finds it can't do that it aborts.

Apple's article, referenced above, points to the reason for the failure, which is nice to know but doesn't lead to any resolution. So, my questions are:

.. is this impacting all Catalina users or only some ?

.. can this 'writable root volume' check be avoided ?
.. if not, is Clover useless in macOS 10.15+ ?
.. if so, is a Clover issue to be addressed ?

My personal solution is to use a pre-Catalina Mac when needing to use the Clover installer to set up USB sticks, hardly an optimal solution.

from cloverbootloader.

gavineadie avatar gavineadie commented on June 26, 2024

I just pulled the Clover repo and as @vectorsigma72 notes, the key to this lies in the Installer "Distribution" script in the function checkFileSystemIsWritable() where a mount -uw / conditions the success of the installation.

Seems like the failure side of that test, instead of making efforts to make root writeable (which can't be successful in Catalina), should work a little harder and look for other writable (bootable?) volumes. Sadly, the last time I messed with Installer scripts was in the Mac System 7 days, so maybe someone with modern Installer skills could do that (or something better).

from cloverbootloader.

Papavero3535 avatar Papavero3535 commented on June 26, 2024

Same issue here. Any fix in sight??

from cloverbootloader.

gavineadie avatar gavineadie commented on June 26, 2024

A fast, but unsatisfactory, fix would be to set my.result.type to Warning instead of Fatal when the root is not writable .. a one word fix in the Installer script! And, yes, I've tested it!!

from cloverbootloader.

Papavero3535 avatar Papavero3535 commented on June 26, 2024

A fast, but unsatisfactory, fix would be to set my.result.type to Warning instead of Fatal when the root is not writable .. a one word fix in the Installer script! And, yes, I've tested it!!

Thanks gavineadie - Unfortunately I am not very familiar with how to edit the script. Im a film editor just trying to build a hackintosh haha. Any chance you could either share your new package or share some knowledge? thanks!

from cloverbootloader.

gavineadie avatar gavineadie commented on June 26, 2024

As a stranger to this product, I feel reluctant to step in. I don't recommend patching the file in the installer, if it's even possible, because it'll get changed back on the next upgrade. I built the entire installer from scratch but I'm a programmer and familiar with the tools and processes required. I expect this will be fixed soon in a better way than my patch.

from cloverbootloader.

Papavero3535 avatar Papavero3535 commented on June 26, 2024

As a stranger to this product, I feel reluctant to step in. I don't recommend patching the file in the installer, if it's even possible, because it'll get changed back on the next upgrade. I built the entire installer from scratch but I'm a programmer and familiar with the tools and processes required. I expect this will be fixed soon in a better way than my patch.

Definitely understand. Appreciate the extra info though! 18 days an no fix though... not exactly holding my breath haha

from cloverbootloader.

Erictoby avatar Erictoby commented on June 26, 2024

Maybe, it's time to move /EFI-Backup folder to somewhere, such as /usr/local/EFI-Backup or ~/EFI-Backup...

from cloverbootloader.

juliendonck avatar juliendonck commented on June 26, 2024

Have the same issue. Any chance for an update?

from cloverbootloader.

gavineadie avatar gavineadie commented on June 26, 2024

This is not an issue of where things are put, it is merely checking that "/" can be mounted writable. If it's not (and it is not in Catalina), the Installer immediately aborts, making the issue of where anything gets put beside the point.

from cloverbootloader.

Erictoby avatar Erictoby commented on June 26, 2024

@gavineadie The purpose of checking "/" is writable is to create /EFI-Backup.

from cloverbootloader.

vectorsigma72 avatar vectorsigma72 commented on June 26, 2024

@gavineadie The purpose of checking "/" is writable is to create /EFI-Backup.

No. RC Scripts needs that, the Clover preference file needs that as well, and so on. The system knows this and wont start the package because potentially can install in /.
Since the work around was to make / writable before any check on any volume (you cannot do that after having selecting one because is too late) ... the package fails.
The fix is just not using the package: Clover.app is the way to go. Under testing.

from cloverbootloader.

mnsrit avatar mnsrit commented on June 26, 2024

Hmm that's odd. It seems only confined to the latest version of Clover 5099. I was able to install Clover version 5089 on USB stick with Catalina installer in it. I was able to install it but got a black screen through.

from cloverbootloader.

bharat-mukheja avatar bharat-mukheja commented on June 26, 2024

What steps did you follow to built the package? @bchernicoff

from cloverbootloader.

norda72 avatar norda72 commented on June 26, 2024

Can Apple have blocked Clover in Catalina? To protect their system?

from cloverbootloader.

gavineadie avatar gavineadie commented on June 26, 2024

No .. this is a feature of Catalina. It's not only Clover that's impacted .. Finder has the same restriction.

from cloverbootloader.

rafaelmx avatar rafaelmx commented on June 26, 2024

Gomsoup's solution worked for me! Thanks!

from cloverbootloader.

roddy20 avatar roddy20 commented on June 26, 2024

"Of course I've SIP completely enabled (0x0) ;)."

SIP is disabled by Clover as default
CsrActiveConfig
0x3E7

if you enabled SIP you cannot install some packages

from cloverbootloader.

bchernicoff avatar bchernicoff commented on June 26, 2024

"Of course I've SIP completely enabled (0x0) ;)."

SIP is disabled by Clover as default
CsrActiveConfig
0x3E7

if you enabled SIP you cannot install some packages

Sure. What's that got to do with the Apple Mac he was disabling SIP on to run the Clover installer?

from cloverbootloader.

roddy20 avatar roddy20 commented on June 26, 2024

Sure. What's that got to do with the Apple Mac he was disabling SIP on to run the Clover installer?

It is not related with Clover and it's development
Mac doesnt require Clover to boot
If you want use your Mac in any unusual and unsupported way you may need to disable SIP
Do you want to change the system and protect it from changes, simultaneously?

from cloverbootloader.

roddy20 avatar roddy20 commented on June 26, 2024

and the second thing, no need to use installer to update Clover
Just copy BOOTx64.efi and/or CLOVERx64.efi

from cloverbootloader.

RedxTar avatar RedxTar commented on June 26, 2024

Im having the same issue on Catalina. Is there a workaround that doesn't involve disabling the SIP just to install it on the USB?

Screen Shot 2020-05-28 at 8 21 27 AM
Screen Shot 2020-05-28 at 8 21 42 AM
Screen Shot 2020-05-28 at 8 21 53 AM

from cloverbootloader.

douira avatar douira commented on June 26, 2024

Not a proper solution, but you can partially disable parts of SIP in the Options in the boot screen without disabling SIP altogether. You only need to enable "Allow Unrestricted FS"

from cloverbootloader.

ZinkDifferent avatar ZinkDifferent commented on June 26, 2024

This still doesn't work. So basically Clover simply can't be installed on Catalina?

from cloverbootloader.

guizy67 avatar guizy67 commented on June 26, 2024

Clover does work with Catalina, just make sure your config.plist is correct.

clover-config

I was having the same issue until I corrected these values (they were initially blanc)

from cloverbootloader.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.