GPU disable on boot was successful for months – but cannot execute sh /force-iGPU-boot.sh anymore from Single User Mode

gpu

I am new to this platform and hope that you can help me out with this one.
I had this common GPU issue on a 2011 MBP that I was able to solve with the super detailed post by the user "LаngLаngС" (thanks so much!) as found here:
GPU problem – Boot Hangs on Grey Screen

Unfortunately a new problem occured that prevents me from running the script. I'll explain:

To solve the GPU issue I everything as written in LangLangC's post and I also had the executable sh script on my desktop – so when I had to boot the Mac again, I did this in single user mode with CMD + S, and then typed "sh /force-iGPU-boot.sh" and then reboot. This would boot my machine always as normal with the internal GPU.

So far so good – until yesterday. When trying to reboot again from Single User Mode, I got this new prefix "sh 3.2#" and the lines looked different. It says that the volume is "read only"-. When I try to execute "sh /force-iGPU-boot.sh" it says, file or directory not found. I cant run "sudo" commands as it says "command not found". When I try to remount with "mount -uw" it doesn't work – it always says "device is write locked.

When I type exit or reboot the system actually seems to boot "normal" – if there wasn't the GPU issue! Meaning that if I cannot run the script "force-iGPU-boot.sh" from the single user mode, I cannot boot the GUI Mac OSX properly. Unfortunately I also cannot execute the sudo commands. I also tried to boot the Mac in target mode and "repair" the drive with the disk utility of another Mac, but that never worked either.

I was googling a lot and tried a lot but nothing worked yet. Since I am not very familiar with these kinds of issues, I was hoping to find an answer here, where I found the first answers to my GPU problem.

Basically my "new problem" is that I cannot run the automated script that I saved on the desktop or the sudo commands from the single user mode.

Hope you can help me! Many thanks in advance.

This is the output of sw_vers: https://ibb.co/g41TtQQ

Best,
Alex

Best Answer

I would suggest disabling SIP (System Integrity Protection) by rebooting your laptop into Recovery Mode by holding down Cmd+R while booting, and then opening the Terminal and running the following command:

csrutil disable

Now close the Terminal window and reboot into single-user mode, and try your commands again.