[Guide] NVMe-boot for systems with legacy BIOS and UEFI board (DUET-REFIND)

@Nerv

Some USB doesn’t support the 1024 KB offset, some report the manufacturer compressed size.
Use an high quality memory or one with the real size defined within it’s sector. Usally less is better.

To restore a corrupted USB see the DISKPART section on the first page.

Thanks for your advise, will study and try it out, may note you once success.

@noInk

I did use Diskpart tutorial to restore one of the USB, other one was dead. So I’m hoping to find more permanent solution like booting Duet from hdd. Regarding less is better I presume you mean capacity?

@Nerv

Alternatively you can try - “BDU” (Boot Disk Utility by Cvad), from the Clover thread. It’s not as simple as as the Duet method but the BDU utility lets you select SATA devices as the UEFI boot disk. The method isn’t covered by the threads author so you need to figure it out on your own. I found it very easy to use myself.

[Guide] NVMe-boot without modding your UEFI/BIOS (Clover-EFI bootloader method)

@NoInk
Thanks for the superb Duet Bootloader and refind combo
@Skorpn
Thanks for the Video!. Enormous help getting a Intel 600p running on a S30 lenovo thinkstation 0539 series.
Steps:
Installed 600p and copied windows 10 and all partitions over as a data drive from SATA HD to NVME 600p using Macrium reflect.
Built the Duet USB stick as per video.
Booted from Duet straight into NVME 600p windows 10
checked all good.
Deleted all partitions on SATA HD
Copied USB FAT32 partition to SATA HD and made active, set to 50MB size
removed Duet USB and checked S30 boots from Sata HD into NVME 600p windows 10
Checked all good.
Installed Intel 600p drivers to hit 1900MB/sec
Set config to -1 so boot straight into windows.

:slight_smile:

Hey
Kind of busy day for reading far back convos, but I found other reasons for me to need to create another Win 10 usb.

Can you tell me exactly where to go to create it?
when i type it google. media creation tool
First thing that pops up is windows 10 website.
I thought it was supposed be a different program or something. or rufus?

Last Windows usb i made was in march I believe. So if I do this now, I want make sure I do it the way it will probably work with my X58 as well.

Thanks

@rangeyrover
Welcome and thank you for the successful report.
Most of the work is done by the people @ https://github.com/tianocore/edk2
All I did was making the current BUILD by sticking together few things.

@1xstealthx1
DOWNLOAD from Microsoft the MEDIA CREATION TOOL and follow it’s self-explanatory instruction to make the USB directly from it.
https://go.microsoft.com/fwlink/?LinkId=691209



@noInk please detail what you mean about the power problem. I have one system using a generic M.2 to PCI-E adapter and Win10’s shutdown leaves the system powered and requiring hard power down. Is it a known problem? TIA

@1xstealthx1 if you are having a purple bar, something is corrupt. you should try
booting without the video card. Find yourself a $10 Craigslist or eBay card to test, or boot to onboard graphics if you don’t use i7.
You could try booting without the monitor attached.
I second the recommendation you clear the CMOS and would further recommend you remove the power cord and battery for a minute, then discharge on the board (use the clear CMOS jumper for 10 seconds).
You would be wise to flash the latest BIOS version again via the mainboard’s flash utility (not the one in the operating system).

@silekonn

I don’t know the specifications of the aforementioned adapter.
On cheaply made adapter the stand-by PIN might be bypassed and the signal rerouted without ground.
If something like that happen on your system: remove the NVME from the adapter and use a better one, promptly.



Any way to identify that easily?

@silekonn

Without an interposer connected to something capable to decode the NVME protocol on the fly, a debug UEFI environment capable to write the command trace on something, or a digital multimeter: the easiest way is to check if the PC power off.

NoInk. I thought I had to do something special with the OS.
I basically just recreating another one.

I was thinking Windows tools is Microsoft thing. I forgot that Media Creation is windows software. (That’s why there is confusion)
This will probably bring me back to square one, but I’ll try it later and see what it does.

I’m pretty sure I have to make a rufus type and extremely busy to do that one.

@1xstealthx1

Nope, there nothing special to do.
Either it work, or it doesn’t there are no catch.
Use the tool from Microsoft to make their USB installer and call it done.



I’ve been getting the exact same error as above with the latest DUET and the one AudioCricket has at his guide here https://audiocricket.com/2016/12/31/boot…t-se-mainboard/

I tried 3 different USB sticks on 3 different PCs, which all had the latest Windows 10 with Fall creators update, and all kept failing to make a DUET USB disk (even when formatting in linux with gparted first or using DISKPART clean).

Finally I had success making the bootdisk with DUET-REFIND :slight_smile:

Didn’t need the REFIND interface in the end just adding in the NVMe DXE. Editing the startup.nsh was a bit more involved than just pasting in a few lines but now I have automatic startup too on my Dell Precision T7400 with Intel 5400 Seaburg (Skulltrail) chipset. My Kingston KC1000 drive had to be put in a PCIe v2 x16 slot for max write of 1700 MB/s in CrystalDiskMark. In the PCIe v2 x4 slot it was much slower, even though it’s actually running at x4 now in the x16 slot.

The only other way I could boot into the system was with Clover, which was much easier to make a bootdisk from. Clover is much faster loading on my system as this DUET hangs for a minute or so on the memory check finished ok screen, unfortunately I just can’t find how to automate the startup on Clover and hear it can’t be done.

Oh yeah and thankfully I didn’t have to install windows from scratch, thanks to the included Acronis True image and MrLithium’s guide here https://mrlithium.blogspot.com/2015/12/h…egacy-bios.html which does need a small typo fixed in an important command line:

bcdboot L:\Windows /s K: /h UEFI
should be
bcdboot L:\Windows /s K: /f UEFI

Thanks to all involved here and in the upstream chains, for keeping my 11 year old motherboard flying!

Yes I believe Fall Creators didn’t work for me either, but that was last year so I may not be remembering correctly. However this years April Spring Creators 1803 update and the download from the OP works perfectly on every flash drive I have tried it on. Microsoft must have broke something last Fall, lol

Glad you got it working though.

This week I am building my first Ryzen machine so I won’t be needing this implementation any more. I do have several other machines that are Legacy BIOS so we never know when I will be upgrading their SSD’s. I have several M.2 adapters so maybe I will eventually be using DUET again some day down the road. NVMe might be great for my 10 year old Xeon media/file Server.


Hmmm, that’s strange. The 3 windows machines I tried it on also all have the latest April Spring Creators 1803 update (showing build 17134 in system information).

The download in this threads original post works for me too, any chance you could narrow this down and test if the latest DUET that MrLithium’s guide links to here https://gitlab.com/tianocore_uefi_duet_b…_duet_installer

and/or the mega.nz hosted DUET download that Audiocricket links in his guide here https://audiocricket.com/2016/12/31/boot…t-se-mainboard/

works on your machine(s) and USB stick(s) without the DBR failed error?

@phusg Reply with a @noInk so that the OP is informed of your issue, that way we get someone who knows what they are doing, lol.

The audiocricket DUET worked for me every time I tried it, but that was way back in late 2016 and January 2017. I ran that duet for a very long time until I found this thread.

Yep, I implemented a dirty fix to write the DBR some time back.

@phusg sould ask audiocricket, or make the USB with the file from the first post and replace the DUET firmware manually if he’s testing thing.
The version here is 2017 December. The gitlab one is 2011.
About the skulltrail platform it might be better to use REFIND alone with the UEFI boot option from the bios set to ENABLED.
The unseen error might be the reloading off certain uefi driver or something in the same memory space. Dunno.

The Audicricket site doesn’t ever reply to inquiries. I tried for month after month after month and was never replied to. The author created it and then almost immediately abandoned it, if I remember correctly.

EDIT: Ok looks like he was replying to people again only 3 Months ago using Disqus at the bottom of the site. Interesting…

Hey

It looks like I give up.

Windows 7 doesn’t detect Drive
Windows 10 detects drive, cannot load to it. (Completes all the way till last step when you pick your drive)
Windows 10 Via Duet freezes when you start the very first step on Windows 10, shows Window logo and hangs all day. (never gets to the little loading circle) then after a while the keyboard dies off, and turns off. (but machine stays frozen at that screen) (similar to that issue Fish1717 guy was having, he never got back to us, to tell us what happened)

Windows 10 is fresh through media creation (Windows 10 from March or earlier showed same issue)

So hey Skorpn or noInk

Anyone want to take my build and take a crack at it? I can ship it to you, just little experiment. I know there is no promises.
My guess is Duet is inable to launch the Windows 10 on this board. (And windows 7 isn’t even detected on Duet)
I tried many different settings on bios and nothing works, I believe bios is fully updated.

Obviously I’ll pay you. (I just want us to know every possible work around, to better assist everyone)
Because I may sell my board if I can’t get it going. whole point was to get 250gb SSD to run full speed or m.2 speeds.
If I can’t get the board to work,I can sell it to one of you cheap if you want it. (Just no I/0 Shield)

Also have 1x Msi LGA 1155 board that were working but had bios failures (If you know how to fix those at all, does bios fail loop)
1x Intel board doesn’t post, after changing ram speed. (no amount of CMOS resets recovers it)
You can keep them or fix it if you want to.

Sorry to just put this out there, I just don’t know if this is something you like doing or not.
The Asrock Extreme X58 will come w/I7 cpu + cooler if i have a small 1 for it + M.2 Pci Express adapter with Samsung SM951
You have your own ddr3 ram stick and misc card?

The oldest card I had used to test was a GT610. I don’t think it’s the card because Windows installer works fine without duet on regular ssd/or hdd. (Someone asked this question before, I know card works correctly)

Thanks for being such an active forum.

J