Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Couldn't install Kryptonite #6

Closed
RinnieX opened this issue Jul 12, 2021 · 18 comments
Closed

Couldn't install Kryptonite #6

RinnieX opened this issue Jul 12, 2021 · 18 comments
Labels
awaiting-user-response Additional information required from user

Comments

@RinnieX
Copy link

RinnieX commented Jul 12, 2021

Problem Description

Hello,

I have a Radeon R9 Nano that shows "No Removable GPU" on my MacBook. I tried to install kryptonite through the terminal and this is what I get.

zsh: read-only file system: Installer.zip
ditto: Installer.zip: No such file or directory
cd: no such file or directory: Installer
chmod: installer.sh: No such file or directory
zsh: no such file or directory: ./installer.sh
zsh: no matches found: Installer*

I'm so confused! I followed the steps and things don't work for me. Could someone please explain to me what I did wrong? Also, I notice when trying to copy and paste the script to Terminal it says Make sure to select the boot disk you created in the previous step or use your existing bootloader disk." How do I select that? Please help. Thank you in advance.

I have macOS Big Sur, version 11.4
MacBook Pro (13-inch,2017, Four Thunderbolt 3 Ports)
Processor 3.1 GHz Dual-Core Intel Core i5

@mayankk2308
Copy link
Owner

mayankk2308 commented Jul 12, 2021

After opening a Terminal session, can you share output of:

pwd

Ideally it should be pointing to your home/user directory. In your case, it seems like you are running the command from a directory which is located on the macOS read-only volume.

I also updated the README with a slightly updated command. Please try that as well.

Finally, you can always install using the manual method.

@mayankk2308 mayankk2308 added the awaiting-user-response Additional information required from user label Jul 12, 2021
@RinnieX
Copy link
Author

RinnieX commented Jul 12, 2021

rinniexiao@Rinnies-Macbook-Pro ~ % cd
rinniexiao@Rinnies-Macbook-Pro ~ % pwd
/Users/rinniexiao
rinniexiao@Rinnies-Macbook-Pro ~ % curl -qLs https://github.com/mayankk2308/kryptonite/raw/main/Installer/Installer.zip > Installer.zip; ditto -x -k Installer.zip .; cd Installer; chmod +x installer.sh; ./installer.sh; cd ../; rm -rf Installer*

ditto: Couldn't read PKZip signature
cd: no such file or directory: Installer
chmod: installer.sh: No such file or directory
zsh: no such file or directory: ./installer.sh
zsh: no matches found: Installer*
rinniexiao@Rinnies-Macbook-Pro /Users %

This is what I get after I typed in pwd and followed by the scripts.

@RinnieX
Copy link
Author

RinnieX commented Jul 12, 2021

updates:

rinniexiao@Rinnies-Macbook-Pro ~ % cd /Volumes/KRYPTONITE
rinniexiao@Rinnies-Macbook-Pro KRYPTONITE % pwd
/Volumes/KRYPTONITE
rinniexiao@Rinnies-Macbook-Pro KRYPTONITE % curl -qLs https://github.com/mayankk2308/kryptonite/raw/main/Installer/Installer.zip > Installer.zip; ditto -x -k Installer.zip .; cd Installer; chmod +x installer.sh; ./installer.sh; cd ../; rm -rf Installer*

ditto: Couldn't read PKZip signature
cd: no such file or directory: Installer
chmod: installer.sh: No such file or directory
zsh: no such file or directory: ./installer.sh
zsh: no matches found: Installer*

I created a new MS-DOS(FAT32) partition (external) disk and that's the result I got in Terminal. Still wasn't sure where it went wrong. I tried to do it manually too but I got stuck after I downloaded the Kryptonite-release.zip and extracted, dragged it to the external disk. After that, I restarted my laptop and on my startup disk, it only shows my Machintosh HD... I even tried to use OpenCore and still nothing...

I'm very new to this, so please be patient with me. I apologize in advance. Thank you.

@mayankk2308
Copy link
Owner

mayankk2308 commented Jul 12, 2021

Why are you doing cd /Volumes/KRYPTONITE/ first? It's not required and doesn't say so anywhere in the instructions. This is likely the problem.

Edit: Sorry, I just saw you had 2 updates. Reading up.

@mayankk2308
Copy link
Owner

@RinnieX I've updated the README with an updated command. Can you please try that and let me know how it goes?

@RinnieX
Copy link
Author

RinnieX commented Jul 13, 2021

I don't see any differences.... the outcome is still the same.

According to manual installation, I dragged the EFI folder onto a MS-DOS volume and then restart the computer but the disk that I created didn't show up on the startup. Did I do it wrong? which EFI folder should I copy to the disk, the Kryptonite-Release or the OpenCore-0.7.1-RELEASE?

Another question is on step 4 of the installation, when using the OpenCore to create a new partition of the external disk, I copy the EFI folder from kyrptonite-release.zip to the disk. Was this process simplified? Because I watched a few videos tutorial about OpenCore and how to create a bootable macOS and their steps are much more complex...

if it is simplified, could you recommend me a good video tutorial please, thank you.

@mayankk2308
Copy link
Owner

@RinnieX other OpenCore tutorials do not apply - this is simplified.

Can you try running just this:

curl -qLs https://github.com/mayankk2308/kryptonite/raw/main/Installer/Installer.zip -o Installer.zip

This should give you an Installer zip file. Unzip that and see what files you get inside. If everything looks good, go to the directory in Terminal and run the installer:

cd Installer
chmod +x installer.sh
./installer.sh

@RinnieX
Copy link
Author

RinnieX commented Jul 13, 2021

Screen Shot 2021-07-13 at 9 14 41 AM

i ran it and i don't see anything..

@mayankk2308
Copy link
Owner

@RinnieX open this folder and unzip the file in Finder.

@RinnieX
Copy link
Author

RinnieX commented Jul 13, 2021

Screen Shot 2021-07-13 at 9 20 08 AM

think i got something.. i downloaded the zip and run it through the terminal and used rest of the code you provided and this what i got so far. Couldn't find the OpenCore....

@mayankk2308
Copy link
Owner

Press N. Read everything the script says and the instructions in the README.

@RinnieX
Copy link
Author

RinnieX commented Jul 13, 2021

Screen Shot 2021-07-13 at 9 39 13 AM

I tried it twice and it failed to download. What should I do next?

I only saw nvidia eGPU, but I have AMD eGPU but from the README if I understand correctly I have to manually patch it into boot-args String in configplist in the NVRAM section later, right?

@mayankk2308
Copy link
Owner

mayankk2308 commented Jul 13, 2021

@RinnieX I don't understand what is going on with your system because it is not able to download or save stuff. You've done everything right so far in the above screenshot. Do you have some VPN/Firewall stuff that's blocking things or something similar? Or do you have some custom developer tools (zip/unzip)? In the meantime, since you have a volume ready, you can try these manual instructions:

  1. Rename your volume to KRYPTONITE.
  2. Download Kryptonite-RELEASE from the Releases page.
  3. Unzip and copy the EFI folder to your created disk. Then edit the config.plist file and add the required boot-args you need. You should only need krygpu=AMD.
  4. Bless the bootloader as follows:
    sudo bless --folder /Volumes/KRYPTONITE/EFI/BOOT --label Kryptonite
  5. When booting the system, press and hold OPTION key, then select the Kryptonite boot disk.

This will launch another boot menu where you can select your macOS boot drive. Booting from here will patch the system in memory.

if I understand correctly I have to manually patch it into boot-args String in configplist in the NVRAM section later, right?

That is only if you aren't using the script.

@RinnieX
Copy link
Author

RinnieX commented Jul 13, 2021

Screen Shot 2021-07-13 at 10 07 58 AM

I think I got it!!!! I closed an app that I have that might've caused the problem. Since the download is completed, do I still need to edit the config.plist file to add krygpu=AMD? or is it automatically applied?

@mayankk2308
Copy link
Owner

mayankk2308 commented Jul 13, 2021

See README. You should be good to go. Can you share what app this was that caused the issue?

@RinnieX
Copy link
Author

RinnieX commented Jul 13, 2021

After it completed the download, when I restarted my computer and holding the OPT, I still didn't see my external disk on the boot picker.....

I tried manually before and it doesn't have the external disk on the boot picker neither.

PS the app is called LULU, it's like a Firewall app.

@RinnieX RinnieX mentioned this issue Jul 13, 2021
@mayankk2308
Copy link
Owner

mayankk2308 commented Jul 13, 2021

@RinnieX Again, I don’t know the issue on your end and can’t do much on my end to resolve it. If your volume has been formatted by the script it should show up unless you actually have a 2018 MacBook Pro with T2 (in which case you would need to disable security and enable external drive boots).

@RinnieX
Copy link
Author

RinnieX commented Jul 13, 2021

Screen Shot 2021-07-13 at 10 37 12 AM

Screen Shot 2021-07-13 at 10 37 59 AM

Screen Shot 2021-07-13 at 10 40 03 AM

I think I have everything correct. I'm not sure why it just doesn't show... I'll try to figure it out... thank you so much for your help!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting-user-response Additional information required from user
Projects
None yet
Development

No branches or pull requests

2 participants