First, Macbook Pro 2011 with failed AMD GPU.
Second,
Single User mode and
Recovery Mode no needed sudo command before
nvram command. You are logged in as
root (administrator).
The
sudo command is for you to acquire
root (administrator) powers.
The
sudo command only needs to be used when you
boot normally or
Safe boot (press SHIFT key at boot).
Recovery Mode with nvram gpu-power-prefs to Intel GPU = load graphical screen with menu, disk utility, etc.
Recovery Mode with nvram gpu-power-prefs to AMD failed GPU = freeze progress bar and overheat Macbook Pro with gray screeen.
Solution 1:
1 - Boot Single User mode -> press
Command + S keys at boot and nvram gpu-power-prefs to Intel GPU and reboot.
Code:
nvram fa4ce28d-b62f-4c99-9cc3-6815686e30f9:gpu-power-prefs=%01%00%00%00
reboot
2 - Boot Recovery Mode graphical -> press
Command + R at boot -> menu Utilities -> disable SIP with csrutil command.
3 - Boot Single User Mode - Press
Command + S keys at boot.
4 - Follow post
#2255 - move AMDRadeonX3000.kext - rebuild kext cache / prelinkedkernel (~ 23 MB) file without AMDRadeonX3000.kext inside.
5 - Everything OK with boot normal? If yes, then reboot and enable SIP again in
Recovery Mode (press
Command + R at boot).
Solution 2:
The USB stick / Pendrive with the Mac OS installer also has a Single User Mode where you can make nvram gpu-power-prefs and also disable SIP -
csrutil disable - no need graphical screen.
1 - Power on your Macbook Pro 2011 and press
Option / Alt key at boot -> show boot manager.
2 - Plug your USB Stick / Pendrive with Mac OS installer.
3 - Boot Manager show Mac OS installer icon.
4 - Move arrow left or right "
<-- or
--> " and select Mac OS installer icon. Do not press ENTER.
5 - Press
Command + S keys and
hold -> now press ENTER key and keep pressing
Command + S keys.
6 - Keep pressing
Command + S keys until load Single User Mode from USB Stick / Pendrive Mac OS installer.
7 - After load Single User Mode -> release
Command + S keys.
8 - Probably many "s" letters will appear on the screen. Press ENTER or delete all "s" with the BACKSPACE key.
9 - nvram gpu-power-prefs to Intel GPU and disable SIP and reboot.
Code:
nvram fa4ce28d-b62f-4c99-9cc3-6815686e30f9:gpu-power-prefs=%01%00%00%00
csrutil disable
reboot
In my case it took about 40 seconds to appear the SIP message saying that for the changes to take effect need to restart the system.
The USB Stick / Pendrive light with the High Sierra installer blinks.
10 - Unplug your USB Stick / Pendrive with Mac OS Installer.
11 - Boot Single User Mode from system partition - your HD/SSD - press
Command + S at boot.
12 - Follow post
#2255 - move AMDRadeonX3000.kext - rebuild kext cache / prelinkedkernel (~ 23 MB) file without AMDRadeonX3000.kext inside.
13 - Everything OK with boot normal? If yes, then reboot and enable SIP again in
Recovery Mode (press
Command + R at boot).