[HowTo] Get full NVMe Support for all Systems with an AMI UEFI BIOS

Hey,

Thanks for your response.

After a few hours of hair pulling I was able to figure it out so I figured I would share my success in case someone else comes across it. I got the idea when reading an arch forum, but basically I took the EFI file that was generated by the truenas installer (efi/boot/BOOTx64.efi) and made 2 copies of it, one in EFI/Boot/bootx64.efi and the other in EFI/Microsoft/Boot/bootmgfw.efi (note the change of capitalization). After this it booted without issue. It seems my bootloader/BIOS was only checking predefined locations for the EFI file and the place truenas put it was not one of them.

Everything is working great and I could not have done it without your guide on modding the BIOS to add the NVMe package. The whole thing was a fun learning experience into the inner workings of UEFI. Thanks for the guide!

1 Like

I need some assistance modifying the BIOS for my board. When I opened the .CAP file in UEFITool 0.28.0, the app crashes.

Any version after 0.28.0 will open the .CAP but the “Insert after” selection in right-click is disabled.

I just want to insert the NVMe driver into the BIOS. Can someone please help? Thanks

this is the link to the BIOS. There are many “BIOS” in the download but only 1 .CAP file.

Contrary to you I have found 3 *.CAP files within the linked package. The correct file with the the UEFI BIOS Region in it is named R3029.CAP.
As you already have realized, the modification of this specific BIOS is not easy. The UEFITool v0.28.0 cannot open the BIOS file, the AMI Aptio MMTool v4.50.0.23 works, but doesn’t show the content of the DXE Driver Volume.
My tip: Use the AMI MMTool v5.0.0.7. You can find the download link within the Tweaktown Forum, if you do a Google search for “MMTool Aptio 5.00.0007”.
I tested it and was able to get the NvmExpressDxe_5.ffs properly inserted.

Good luck!

1 Like

let me try that version. I’m pretty sure I tried a newer version (5.x) of MMTool and I got a message that says the CAP file is not “Aptio compatible”. (or something like that)

Thanks for the reply.

Hello everyone. First of all thanks for this wonderful topic. I have an Asrock Z77 Oc Formula motherboard that does not support nvme type hard disks. I have tried several times both methods and failed. Is there someone to help me to modify bios for Asrock Z77 Oc Formula. I will use 1tb Samsung Eve 970 Plus.
At the following link the newest bios of the motherboard can be found.

https://www.asrock.com/mb/intel/z77%20oc%20formula/#BIOS

@diciotto

Note: This is a user file, with AMI NVMe module and other updated modules like RAID, SATA, LAN, GOP and cpu mCode, method to flash, ASRock Instant Flash only, not OS environment.
This is not a file from forum responsibility and user choice only to use it.
Good luck

6 posts were split to a new topic: [Problem] BIOS freezes with WD SN770 NVMe SSD

Hey y’all, wanted to report success in modding the latest BIOS (version 3.3) for a Supermicro X9DRH-7TF to get full NVMe support.

Initially tried with UEFITool v0.28.0, but it did not work… the motherboard would get stuck at post code 0x06 during boot. Tried again with MMTool Aptio 4.50.0023, and it worked perfectly.

It seems like this BIOS will work for all X9DRH boards (no guarantees, but during bootup it does say X9DRH-7TF/7F/iTF/iF).
Edit by Fernando: The download link can be found >here<.

Thank you to Fernando, Ethaniel, and everyone else that made this possible!

2 Likes

@abraha2d Welcome to the Win-Raid Forum and thanks for your positive feedback!
Since you have meanwhile offered your successfully modded BIOS within >this< separate thread, I have removed the MEGA link from your previous post.
Enjoy the Forum!
Dieter (alias Fernando)

2 Likes

9 posts were split to a new topic: [Request] NVMe mod for MSI Z87M Gaming

I followed the How-To instructions to add NvmExpressDxe_Small to an HP Shave-HSW motherboard BIOS A0.10 but ended up with Pad files where the original BIOS image does not. I’m using UEFITools 0.28. Does anyone have any suggestions or can create the modded BIOS? The link to BIOS is Driver - HP Slimline Desktop - 410-109 | HP® Customer Support
Any help would be greatly appreciated! Thanks in advance.

Do you know for sure if UEFITool moves existing pad files or creates new ones?

1 Like

@bitzpersec
Provide a bios dump or extracted bios from EXE.
OR
You can try UEFItool 0.25 or AMI MMtool method.

@bitzpersec Welcome to the Win-RAID Forum!
Please read the start post of this thread and follow the Guide and its advices.
There was no reason to start a new thread about your problem.
Good luck!
Dieter (alias Fernando)

My apologies; I’ll take this discussion to the correct sub-forum.

Thanks again to @Fernando for this amazing guide. i was able to mod and flash successfully another motherboard, this time was an Asus H81M-A and now it can bot fine from an nvme ssd disk.

Edit by Fernando: The Link to the modded BIOSes have been removed by me (see below).

1 Like

@wfantasma
Thanks for your feedback, but your successfully modded BIOSes should better been offered >here< within freshly started sepaparate threads.
Interested users may not find the MEGA link within this voluminous thread, which has been designed for users, who want to modify the BIOS themselves.

Ok, i did that way :slight_smile:

1 Like

i am using main asus P8H77-V and after i mod bios there is restart status the computer is stuck asus logo, keyboard and mouse are both frozen until i press reset on the case, the computer boots into nvme normally . I tried using NvmExpressDxe_5.ffs module and got the above situation, I continue to try with older version NvmExpressDxe_4.ffs and still have the same problem, ( bios I’m using is P8H77-V BIOS 1905) if I using an older bios for example 1904 or 1801 can I fix the above error? Is there any way you can help me fix it?
Thank you.

That usually happens when something else is “touched” besides the inserted NVMe DXE…

Theres no need to rollback to older bios versions, in this case or any other case/motherboard model.

EDIT: How does the “computer boots into nvme normally” if it gets stuck in the ASUS logo and needs reset???

Witch method was used to insert the NVMe DXE, MMtool ou UEFItool?
What method/tool is used to flash the mod bios?

1 Like