rtrouton / create_macos_recovery

Tool for repairing the Recovery volume (APFS) or partition (HFS+) on Macs running macOS 10.13.x or later.
MIT License
116 stars 23 forks source link

Getting "command not found" errors #14

Closed oldcar37 closed 2 years ago

oldcar37 commented 2 years ago

I am running MacBook Pro late 2011 with OS 10.13.6 and OS 10.15.6 and Windows 7 Pro. Also have dosdude's GPU patch running. I am also using zsh shell in Terminal and Login. Have Terminal also emulating .sh shell. The file create_macos_recovery is also on desktop. Here is my Terminal window from session which I did on desktop: Screen Shot 2022-09-16 at 4 16 38 PM Anyone just pipe in with suggestions because I am a little new to this Github thing. I also have factory installed 256GB ssd and all volumes and container are APFS and GUID. All drives routinely run thru Disk Utility to detect any problems and Terminal show my OS 10.13.6 Recovery Partition and I can boot into recovery when OS High Sierra is startup Drive. Now I just need OS Catalina to have its own Recovery Partition and everything will be golden.

rtrouton commented 2 years ago

Try this command:

sudo /Users/jamesmick/Desktop/create_macos_recovery.sh "/Applications/Install macOS Catalina.app"

oldcar37 commented 2 years ago

Thanks for your reply rtrouton, I have already tried that and received Terminal output dquote>. I did some checking and dquote> refers to double quotations and the response would to enter another double quote argument or use single quotes instead or enter “ with keystroke. I will give results of Terminal output using single quotes later.

oldcar37 commented 2 years ago

Hi rtrouton, here is Terminal output from you suggestion Screen Shot 2022-09-18 at 7 36 41 PM I used single quotes instead of double and did not receive the >dquote from Terminal.

oldcar37 commented 2 years ago

Success!!!! Here is my Terminal output after running rtrouton's/create_macos_recovery. I used Xcode to get this shell doc. create_macos_recovery.sh.pdf Terminal Saved Output.pdf

oldcar37 commented 2 years ago

If anyone would like copies of code just email/message me, happy to share.

rtrouton commented 2 years ago

I'm glad to see you figured it out. Closing this issue.

ssssamstrup commented 1 year ago

How did you get it to work @oldcar37 ? I'm running to the same issue. Running MacOS Mojave 10.14.6 (with no other OSs installed.

oldcar37 commented 1 year ago

How did you get it to work @oldcar37 ? I'm running to the same issue. Running MacOS Mojave 10.14.6 (with no other OSs installed.

Would a copy of input in Terminal help you out, as you have not mentioned weather you tried or not.

ssssamstrup commented 1 year ago

I've tried all the inputs you've mentioned above and when using sudo without, with " and with ' I get a »command not found« error.

ssssamstrup commented 1 year ago

I just saw in another post something about there could being a problem with HFS+ volumes - however when I searched for more info, people said that running Mojave on HFS+ was not a problem.

My volume is HFS+. Would that make a difference?