Jump to content
Olarila Professional Hackintosh Services ×

How to change SATA to AHCI when we don't have the option in the bios


Recommended Posts

  • Administrators

Easy way to change SATA to AHCI when we don't have the option in the bios on Windows or macOS

 

-Support Olarila Vanilla Hackintosh by making a donation HERE

-About Premium Users you can check HERE

-Problems with Paypal HERE

-Installation Guide HERE

-Hackintosh EFI folders HERE

-Hackintosh USB Remap HERE

-How to update OpenCore and Kexts HERE

-Guides and Tutorials HERE

 

A few observations before we start.

With this procedure you can change many options relevant to your Hackintosh like Above 4G, CFG Lock, CSM Support, DVMT Pre-allocated, Serial Port, TPM State, XHCI Hand-off, etc.

Some manufacturers make this options available directly in the setup, just disable/enable.

This procedure is not advanced, but has minimal risk. You are at your own risk.

If you update the bios or use Load Optimized Default / Clear Cmos, you will need to redo the procedure.

 

1- Download the Bios/UEFI file from the manufacturer's website. Some manufacturers like Lenovo provide the Bios packaged, in this case you need to extract it before starting this process.

 

2- Open the downloaded file with UEFITool

cMjIZ33.png

3- Look for SATA Mode in the Text tab

omNVCSr.png

 

4- Select what the search returned. In this case is Setup/PE32 image.

uVxkUYA.png

 

5- Extract as is... then save

9TWng3U.png

DFpSEu6.png

 

6- Download ifrextract, open terminal and drag this tool, drag this saved file and output set to PE32.txt. Check image bellow. (on Windows use this version HERE)

LCJKkfP.png

 

7- The file was generated

lx5Albs.png

 

8- Open the .txt file and search for SATA Mode Selection and we have SATA Mode Selection, VarStoreInfo (VarOffset/VarName): 0x5C, VarStore: 0x17 in this case. What really matters to us is 0x5C, VarStore: 0x17.

dx7A7QE.png

You can check the values to change, which value is default, etc. Check example bellow.

On example bellow the Default settings is 0x1 = RAID. In this case we need to change to 0x0 = AHCI

SATA Mode Selection, VarStoreInfo (VarOffset/VarName): 0x5C, VarStore: 0x17
0x4A41F                 Default: DefaultId: 0x0, Value (8 bit): 0x1 {5B 06 00 00 00 01}
0x4A425                 One Of Option: AHCI, Value (8 bit): 0x0 (default MFG) {09 07 1C 10 20 00 00}
0x4A42C                 One Of Option: RAID, Value (8 bit): 0x1 {09 07 1D 10 00 00 01}

zlmuupr.png

 

9- Before we continue, let's confirm where to change the values. Search for VarStoreId: 0xXX. Need replace the value with whatever is returned from your Bios/UEFI file. In my case it was VarStore: 0x17. So I need to search VarStoreId: 0x17. The result is Name: PchSetup.

pxfN0N3.png

 

10- The result in this case is 0x5C in PchSetup and le'ts change it to 0x0 = AHCI.

 

11- Now let's get to the serious part. Download Ru.efi or this EFI folder EFI CFG RU.zip (You can update the file in the EFI folder. Just rename the RU.efi file to BOOTx64.efi and replace it in the BOOT folder)

 

12- Format a pendrive as HFS, mount the EFI partition and paste the EFI folder

hiXv8Ww.png

wVnbgzD.png

 

13- Boot from the pendrive and you will see a screen like this. Press Enter.

MByvScP.jpeg

 

14- Use Alt + C and select UEFI variable

A1O0oZ7.jpeg

 

15- Scroll down to PchSetup

qQKwAXt.jpeg

 

16- Navigate to 0x5C which was the value found in the first step of this tutorial

xHs9wir.jpeg

 

17- Change this value to 00 which was the value found in the first step of this tutorial then use Ctrl + W to save and Alt + Q to exit

xHs9wir.jpeg

CzxS1hD.jpeg

 

18- You did it and now you can boot to macOS.

 

Credits: 

LongSoft, vit9696, RU team, Slice, Kabyl, usr-sse2, jadran, Blackosx, dmazar, STLVNUB, pcj, apianti, JrCs, pene, FrodoKenny, skoczy, ycr.ru, Oscar09, xsmile, SoThOr, RehabMan, Download-Fritz, Zenit432, cecekpawon, Intel, Apple, Oracle, Chameleon Team, crazybirdy, Mieze, Mirone, Oldnapalm, netkas, Elconiglio, artut-pt, ErmaC, Pavo, Toleda, Master Chief and family, bcc9, The King, PMheart, Sherlocks, Micky1979, vandroiy2013, Voodoo Team, Pike R. Alpha, lvs1974, Austere.J, CVad, headkaze, onemanosx, erroruser, Jenny David, Sampath007, Facebook Hackintosh community, Facebook Olarila community and many, many, many others!

 

We're all here to have fun and learn from each other! That's all Folks!

-Guides and Tutorials HERE

-Hackintosh Tutorial Database - HERE

-The largest EFI folder collection for Hackintosh HERE

-Support Olarila Vanilla Hackintosh by making a donation HERE

-Professional Consulting for macOS Hackintosh since 2006 HERE

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...