Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
Status
The first post of this thread is a WikiPost and can be edited by anyone with the appropiate permissions. Your edits will be public.
Thanks, unfortunately, still getting

"no such file or directory"...
Can you look up the folder manually in Finder? Perhaps you named it differently? Should be on your "Macintosh HD"

Type "cd " (without the quotation marks, but followed by a space), then drag and drop the backup folder into the terminal window, then hit enter. This should direct the command prompt to the backup folder.
 

Thank you for the link. I'll take a look to see if I can restore Recover.

I thought reinstalling the Sierra, then Recovery partition would be restored with a new Recovery partition. But that did not happen.
[doublepost=1500147054][/doublepost]
Sometimes the GPU temp values fall below ambient temperature, which I find utterly strange, it has to be a glitch on the temp readout. But thanks to your method my MBP is usable again.

I've done a little bit of research using launch daemon to load the kext during startup. However using launch daemon the result it's same as with regular auto load from the Extensions folder. To avoid freeze it should load after login, which would be possible using launch agents, but this will not work as well, because it does not supports root, only the currently logged in user.

I use a script saved as application:
set myPath to POSIX path of ("path to shell script using")
do shell script quoted form of myPath with administrator privileges

pointing to this shell script
/usr/bin/osascript -e ‘do shell script sudo “kextload /kext/AMDRadeonX3000.kext” with administrator privileges’

This way I only had to enter the password in the popup window.

Yes, unfortunately the kextload command requires the sudo command. And this forces you to use the password of the user who has an administrator right.
 
Can you look up the folder manually in Finder? Perhaps you named it differently? Should be on your "Macintosh HD"

Type "cd " (without the quotation marks, but followed by a space), then drag and drop the backup folder into the terminal window, then hit enter. This should direct the command prompt to the backup folder.

Well, when I swapped out my hard-drive, I renamed it "solid state hard drive". Can I just rename it "Macintosh HD", and follow the steps again?
 
Last edited:
Well, when I swapped out my hard-drive, I renamed it "solid state hard drive".
The name of the hard drive doesn't really matter. "cd" changes the directory you are currently in, and it looks like the backup folder is not present in your root directory for some reason. Perhaps you made a spelling mistake? Also Capitalisation matters. You could try searching for the kext file using the finder, which will point you to the folder.
 
Ok, I get all the way to step 6 with no problems. However, when I go into terminal and enter:

cd /backup

I get "No such file or directory"...

Any suggestions?

Thanks!

Or you did not create the directory or you are providing the incorrect path to this directory with the command cd.

Show the result of this command ls -la.

0 - Boot normal. If you can not get into normal boot, go into safe mode (press SHIFT key at boot).

1 - Go to " / "

cd /


2 - List files and directories in " / "

ls -la

or

ls -la /


3 - Show directories in /Volumes

ls -la /Volumes
 
Last edited:
The name of the hard drive doesn't really matter. "cd" changes the directory you are currently in, and it looks like the backup folder is not present in your root directory for some reason. Perhaps you made a spelling mistake? Also Capitalisation matters. You could try searching for the kext file using the finder, which will point you to the folder.

Weird...I can see AMDRadeonX3000.kext in my "extensions" folder just fine using finder.
 
try executing first, followed by .

PLEASE IGNORE THIS POST. Further tests on my part prove it is incorrect.

Ha ha... More Unix stuff...

cd /backup means a folder off the root, called backup...

backup folder is not in the root...

When using terminal, I always use 'pwd' command to determine where I am... For example. if I boot into single user mode (Command S) I find myself in the root folder /. To get to the folder where the backup folder is, I have to enter:...
 
Last edited:
Ha ha... More Unix stuff...

cd /backup means a folder off the root, called backup...

backup folder is not in the root...

When using terminal, I always use 'pwd' command to determine where I am... For example. if I boot into single user mode (Command S) I find myself in the root folder /. To get to the folder where the backup folder is, I have to enter:

cd Volumes/Macintosh\ HD first. That should get me to the folder where the backup folder is.

From normal boot, and starting Terminal you will find you are in a folder called /user/(Your name)... Sometimes displayed as /. if you check this folder with the ls command, you should see backup in your home folder. It is not in the /root folder.

So from loading Terminal after logging in, the correct command to open the backup folder is:

cd backup - not cd /backup.


In Terminal, when i type cd backup, I get: "no such file or directory".
 
Weird...I can see AMDRadeonX3000.kext in my "extensions" folder just fine using finder.

Oh oh. If AMDRadeonX3000.kex is still there in the /System/Library/Extensions folder, your move to the backup folder failed. You did execute csrutil disable in Recovery mode (Command +R +S) on boot?

After login, run terminal, and list the folders... Is backup there? if it isn't, execute pwd to make sure you are in your home folder... eg:

pwd

/Users/Your_Name.

that should be where the backup folder you created in step 5. If it isn't there something went wrong...
 
Weird...I can see AMDRadeonX3000.kext in my "extensions" folder just fine using finder.
Weird - the entire point of the fix is that AMDRadeonX3000.kext should NOT be in the Extensions folder.What do you get when you execute
kextstat | grep AMD

EDIT: and see the preceding reply by rlebleu. I think you might have made a typo in step 5?

[doublepost=1500152663][/doublepost]
Ha ha... More Unix stuff...

cd /backup means a folder off the root, called backup...

backup folder is not in the root...

When using terminal, I always use 'pwd' command to determine where I am... For example. if I boot into single user mode (Command S) I find myself in the root folder /. To get to the folder where the backup folder is, I have to enter:

cd Volumes/Macintosh\ HD first. That should get me to the folder where the backup folder is.

From normal boot, and starting Terminal you will find you are in a folder called /user/(Your name)... Sometimes displayed as /. if you check this folder with the ls command, you should see backup in your home folder. It is not in the /root folder.

So from loading Terminal after logging in, the correct command to open the backup folder is:

cd backup - not cd /backup.
I think if you precede the folder by a forward slash, it looks automatically in the root folder? Try going to any random folder in the terminal and then type cd /System (or any other root folder) - it should change directories

EDIT: The backup folder should have been created in the root directory, as the recovery console defaults to the root folder and we are executing mkdir without changing the location? At least my backup folder was in the root.
 
Last edited:
Weird - the entire point of the fix is that AMDRadeonX3000.kext should NOT be in the Extensions folder.What do you get when you execute

EDIT: and see the preceding reply by rlebleu. I think you might have made a typo in step 5?

[doublepost=1500152663][/doublepost]
I think if you precede the folder by a forward slash, it looks automatically in the root folder? Try going to any folder in terminal and then type cd /System (or any other root folder) - it should change directories


PLEASE IGNORE THIS PREVIOUS POST

"Not quite unfortunately...

If I boot in single user (command-S) , or Recovery single user (Command R + S) and pwd (print work directory) I find myself in the root directory. To get to the user's root directory, I have to cd to the /Volumes/Macintosh\ HD/ to find my home directory and the backup folder I created in step 5."

I redid the boot tests... As GDBO said root is root.

Booting in single user more shows folders in the root folder. Folder backup was there.

Booting in Recovery Mode boots in the root directory of the Recovery Partition! That's why I could not find the backup folder and recognize the folders in the boot directory.

Sorry about the confusion...
 
Last edited:
  • Like
Reactions: GDBO
I have possibly stumbled onto something blindly with my early 2011 macbook pro with the suspected graphics issue... I attempted to remove the and kext files from sierra on the hard drive it had. really made a disaster out of that to where it worked but had a bluish tint to the display and still had graphics issues. I found an old early 2009 white macbook laying around, put an ssd drive i had laying around in it and took it to my local apple store and had them install 10.10.5 on that macbook. brought it home, removed the drive that i made a real disaster of and installed the ssd drive in my early 2011 macbook pro. took the macbook pro awhile to initially boot but when it did it booted into 10.10.5 and knock on wood has been working awesome for about 24 hours now. upon further research it appears that automatic graphics switching is not enabled since the check mark in energy preferences is empty in the energy part of system preferences, and in about this mac it only shows the amd graphics card not both like it did in sierra. That being said, I am really starting to wonder if it really isn't more of some kind of software issue with automatic graphics switching and not an issue with the machines at all. using it now and typing this post with it... still get about 5 hours out of battery life so if the amd graphics card uses more power so be it if the machine works the way it was intended.
 
I will try it, thanks for the help.

Dude, thanks so much for this extensive and clear step-by-steps... hearing the news that Apple has declared my late 2011 MBP 'vintage' and having this issues coming up again after I had a new board in 2015.. I was just about to trash it until I came accross this thread (thanks to PeytonPlaysMc).

I manage to make the USB bootdisk but when I came to delete gpu-power-prefs... it indeed stated that 'Operation not permitted' so I performed the unmount/mount procedur from totoe_84 but after trying for 3 times it still won't delete. Have I missed something?

Cheers,

In Terminal, when i type cd backup, I get: "no such file or directory".

Can you re-do the guide on page 18 again from step 4? There was a mistake which is corrected now.
[doublepost=1500196852][/doublepost]
PLEASE IGNORE THIS PREVIOUS POST

"Not quite unfortunately...

If I boot in single user (command-S) , or Recovery single user (Command R + S) and pwd (print work directory) I find myself in the root directory. To get to the user's root directory, I have to cd to the /Volumes/Macintosh\ HD/ to find my home directory and the backup folder I created in step 5."

I redid the boot tests... As GDBO said root is root.

Booting in single user more shows folders in the root folder. Folder backup was there.

Booting in Recovery Mode boots in the root directory of the Recovery Partition! That's why I could not find the backup folder and recognize the folders in the boot directory.

Sorry about the confusion...

Made changes to the guide - the directories should work now. Thanks for the troubleshooting.
 
Last edited:
Complete Guide to Permanently Disable AMD 6XXXm series dGPU and Prevent Thermal Throttling

Acknowledgements: This guide is entirely based on nsgr's work.

1. This is an optional step. If you have previously attempted to remove AMD kexts, revert your system to the original state by installing the latest Mac OS combo update. At the time of writing of this guide, the latest combo update can be found here. Installing the update will update your kext files to the latest version. After the update is finished, your macbook will restart and freeze as soon as the dGPU is activated. Shutdown or force a restart.

2. Clear the NVRAM by holding Option + Command + P + R on startup until the macbook reboots.

3. Boot into the single user mode by pressing Command + S on startup. Execute the following commands to enable the iGPU during the boot phase:



4. Disable System Integrity Protection to allow editing system files. Boot into the verbose recovery mode by pressing Command + R + S on startup. Execute



5. Go again into the the single user mode by pressing Command + S on startup. Mount root with write permissions via

(Note the space in front of the last forward slash). Next, create a backup folder by executing

Move the AMDRadeonX3000.kext file to the backup folder you created by executing

Moving this kext file is sufficient to prevent graphics switching.


6. Re-enable System Integrity Protection inside the verbose recovery mode (Command + R + S) by executing



7. Boot into Mac OS normally and start the Terminal. Navigate to your backup folder using

Load the former kext file manually by executing

to prevent the dGPU from idling at maximum TDP. This will not re-enable graphics switching. A restart is not required.

Closing remarks: Step 7 will have to be executed after every system restart to prevent overheating. Steps 4, 5 and 6 will have to be executed after each major system update that breaks graphics switching. Step 3 has to be repeated after a NVRAM reset.

Under step 4, is it /sbin/mount -uw / OR /sbin/mount-uw/

in other words, are there SPACES after T (mount) and after W (uw)?
 
Well, I went back through all of the instructions posted, and DID NOT get any error messages this time, so I'm guessing it worked.

One last question, I've read where an external monitor cannot be used. Is this true?
 
Well, I went back through all of the instructions posted, and DID NOT get any error messages this time, so I'm guessing it worked.

One last question, I've read where an external monitor cannot be used. Is this true?
Great to hear. Unfortunately you cannot use the external monitor via the mini-display port as its linked to the dGPU. You could try a USB to video adapter.
 
Fix for 17 inch dGPU switch issue

(Tested successfully in both “early” and “late” 2011 17 inch MacBook Pro)

...
Step 2) Boot to Linux (Credits to AppleMacFinder):

2.1) Boot to it: insert this CD/DVD/USB to Macbook Pro, hold Option key while booting, choose "EFI boot" (that is your bootable installation media), press "e" key to edit the GRUB options of the Arch Linux archiso x86_64 UEFI CD menu entry while it is selected at the main screen, add nomodeset to the end of this line and press Enter. If everything is done correctly, you will find yourself at the Linux console! (It takes some time so be patient and wait for the prompt)


2.2) Edit EFI vars: looks like efivarfs filesystem is mounted by default! So you can already cd /sys/firmware/efi/efivars and ls to explore this directory and see if there is a "gpu-power-prefs-..." variable (where ... is UUID of this variable).

....
Hi, i removed and created efivars but not really clear how disable Linux usb modification the MacBook startup?
Is /sys/firmware Linux directory or maybe OSX directory?
After removed gpu-power-prefs and rebooted with OSX gray background became blue but only after overheat and auto shutdown can I login and use Mac.
Was efivars modification on Linux or on Osx?
Thanks,
Karl
 
So I followed what FGuarini said in post #106 and it worked great on my early 2011 macbook 17". BUT, the GPU is still showing really hot temps. as soon as I start it up, it is at like 160 F, but I am using integrated graphics, so I don't get why it would get hot. Can someone share with me the temp their GPU is running at after it is disabled. I don't know if this is normal. Thanks!
 
I have Downloaded multiple release date live iso's of ArchLinux and chattr doesn't exists as others have stated.

If you can provide a link to your extract iso used that contains chattr it would be a big help rather then telling people that something is wrong with their download.
 
I have Downloaded multiple release date live iso's of ArchLinux and chattr doesn't exists as others have stated.

If you can provide a link to your extract iso used that contains chattr it would be a big help rather then telling people that something is wrong with their download.

You might like to try GDBO's guide outlined in Message #429 as an alternate method of solving this problem.
 
Has anyone applied this solution for Snow Leopard (10.6.8)? If not, would it work regardless of OS version?
 
Big thanks AppleMacFinder! Works for me! One thing that got me through step 3 that might help other noobs when it comes to doing stuff with terminal:

When I searched the UUID with "diskutil cs list" I got "No CoreStorage logical volume groups found." So I figured I had to enter my SSD somehow (open disk utility to check what your main volume is called):

*) cd /Volumes/SSD

*) mkdir AMD_Kexts

*) mv System/Library/Extensions/AMD*.* AMD_Kexts/

*) reboot

I have a Macbook Pro early 2011 15" running 10.9.5. I don't update OSX anymore because I have several fixes running and I can do what I need to with this OSX. Probably the SSD I built in and the way it is partitioned and/or the older OSX are the reason for not having coreStorage set up. Hope it helps anyone!

Thanks again master AppleMacFinder.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.