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



I don’t know what you mean by Application Locked. In fact your first sentence doesn’t make any sense to me. There is no "System Property Tab" either (as seen in the image below), there is no system property tab on application properties. The above bolded text, please clarify what you mean by "some random application". I never used a random application, I used your USBSetup application, not a random unknown app. Your USBSetup.exe was given full security admin permission (as I do with all apps like this) and I run my system with UAC disabled, so no permission issue here at all. My Storage drives are set to drive A: and drive B: for safety reasons (B contains my Downloads folder), so apps don’t ever accidentally mess with them (This is a common IT trick used by many professionals). My D: drive will always be a USB device and I always check before flashing something. Thanks for the reminder though.

@noInk , you keep mentioning the "path". Do I need to do something with my Environment Variables path so that diskpart can be called up from anywhere? No, "%SystemRoot%\System32" was NOT in my path by default, but I just created it and placed it below "%SystemRoot%"… I am now going to restart and try again. Thanks for the help. I don’t remember you mentioning this as a requirement before???

EDIT: THAT was the problem. "%SystemRoot%\System32" needed to be in my Environment Variables path. ALL Buttons now work as intended.

@noInk thank you VERY much for your help and your little program to call up diskpart and to make the DUET and REFIND flash drive. This should help the ones who fear using the command prompt.

Suggestion, shouldn’t the buttons be in-line like below? Or did you need the middle space for the indication FeedBack “Warnings/Success etc”?

"Drive Letter DropDown"

CLEAN
FORMAT
BOOT
EJECT (Or UNMOUNT)
DUET
REFIND
CLOSE (Or CANCEL)

@SkOrPn

The “%SystemRoot%\System32” should be registered by default.
Glad it work, and, about the random application I was referring to USBSetup.

For files coming from other PC, on windows there a group policy defined as “attachment manager”.
If enabled, there could be an “This file came from another computer and might be blocked to help protect this computer” security warning under the “General” tab of the application.

The empty space on the background of the application is used to display, in reflection of the application status, certain output message.
Making the button align “in-line” would leave either far to much space open or a even bigger form, but could be easily done.
About the EJECT (UNMOUNT) option… certain device require physical removal, certain none and some USB might not even work at all and/or stuck on the writing endlessly.

Anyway, I’ve updated it on 1.0.0.6. Those error message should now be themed with the app scheme :smiley:
Thanks for the testing SkOrPn!

Thanks for the information. I’m on a fairly fresh install of Windows 10, and the System32 variable was not in the path by default. I had to create it myself using the New button and typing it out. I was not aware of that until I checked yesterday. Sorry about that.

EDIT: FYI, Windows 10 will soon update to Spring Creators update code named Redstone 4 build 1803. My buddy (in Merseyside UK) just got his update this morning but my computers here in New Mexico USA has not yet.

Nice, so.! if it is working… I’m going, later on, update the HOW-TO on the first page with the sequence of some previous post.
If you have any idea, or wish something to be implemented lemme know.

Giving to you the credit on adopting and testing the whole thing :stuck_out_tongue:

The current archive is on 2017 but the truth is: it’s from December-January 2018, so it’s still pretty much up-to date.
Anyway. 1366 (WESTMERE) is still keeping up versus today consumer desktop grade ! :smiley:
Let’s hope Win10 PRO make altogether the telemetry, for anything not related to the store, opt-out-puttable before it reach it’s END.


Yeah, if Microsoft would only advertise they are dropping most of the Telemetry with an opt-out (except for the store), this would help its adoption rate. Windows 10 runs so damn good here in 2018, NOTHING like it did just two years ago. I doubt Windows will reach its end, simply because too many people and Businesses use ONLY Windows, especially entire Governments.

I would mention to people to make sure %SystemRoot%\System32 needs to be in the PATH>Environment Variable, and point to its location for people to double check. Just in case?

@SkOrPn

The sys32 PATH > Environment Variable, should in theory still be there.
I can’t check on a fresh install right now… but, supposedly you can call, on a fresh install, any sys32 files from a command prompt without adding manually the variable.
Mine install come initially from the CORE\PRO USB EDITION(2015), so IDK, might be a requirement of something else. Dunno :smiley:

I fixed some UI behavior, DPI issue on win10, misspell, added some error handling and also bumped up to version 1.0.1.4 by adding a runtime detection of the BIOS type,
( Orange text = the board is running in UEFI, else in compatibility mode or LEGACY ) plus, I dropped down the size back to 95KB :open_mouth:
Certain unpacked directory are now run vs MD5,
if needed the integrity check can be bypassed by adding the “-DisableMD5” (w/o quote) switch.
By doing so, the application will look like that;


and likely close if you delete any important files from it’s sub-directory :stuck_out_tongue:

I have just tried this, and when I boot from the USB It comes to a screen with BErrorart! in red on the screen… Any Ideas?

@glenlewis09

It mean there an error on the LBA/MBR ( DiskError / BadBootSector or both ),
are you booting from legacy or UEFI? EG: DUET/REFIND or REFIND alone?

Unless you are capable to manually change the OS boot mode, the OS must be initialized (media installation) with UEFI, also check on the root USB the Efildr20 presence.

CPU?
BOARD?
OS?
PROCEDURE? EG: DUET/REFIND (Booting the NVME drive from non-UEFI legacy board (DUET with optional REFIND) with USBSetup.)

Hey Folks, I am new here.
You all really seem up to date and recent on X58 M.2 Support.

I have questions before I give up. Unless there is a video on that DUET thing. (It gives me a headache reading those instructions lol)

But anyways.
My system is a X58 Asrock Extreme Evo 960 M.2 + Pci Express Adapter (I know about 960 not having legacy or w/e) 950s are too expensive…
I tested a riser on pci E slot as well, and it reads the same shown below.

So my Bios is update to date and set to AHCI. (after enabling AHCI, the drive would pop up on Windows 10 installation)
I can view the Drive on Windows 10 installation.
But then when I try click next, it says This computer may not support booting to this Disk.
Windows 7 USB ISO wouldn’t show drive at all.

No one ever mentions this, so I felt like I won half the battle. It’s frustrating because I think I am there. but I believe I have to do a lot more to get it going.

So what should i try that will give me the least headache?
Is there Windows 7 or Windows 10 that’s modded to support this.
Or Bios mod for Asrock X58?
Or Mod to my M.2?

What should i try to do?


I am eager to join the X58 club. I always wanted one and I love how it functions and the settings. I have like 3 cpus ready to Oc on it.
But I REALLY don’t want Disc Drive or SSD with only 200-250 speed. No Thanks lol.
I want to tease my friends with this absolute troll build.


If its too much headache. I just return this M.2 and buy this one.
https://www.ebay.com/itm/Samsung-256GB-P…HoAAOSwSO5a69oX

I just want one with a warranty, be nice if they put that legacy driver back on… like wtf…

Lastly. I fail completely at following that guide with DUET from audiocricket as it doesn’t open no matter what.
Open command line prompt (with admin privileges)
CD to unpacked DUET folder
Run CreateUSB.cmd DRIVE: (where DRIVE: is your DUET’s USB stick drive letter)
And the rest of it makes me sick trying to understand it. lol

@1xstealthx1

Thing is;
The Windows7 USB installer must made with UEFI in mind to deploy the OS.

The guide attached upon here allow the creation of the out-of-chip firmware (USB) to call upon the system initialization.

Perhaps I’ve already mentioned somethings upon mine older post, anyway;
to make the ISO media or whatever, be creative or see some how-to via (www) search with “WINDOWS 7 USB GTP UEFI” in it…
If you succeed,. let’s you know.

either OS is fine. but thanks for information. I am a little slow.

I emailed Samsung… lol… Why give it to us in the first place if you take it away. I asked it we can have a software to load it to our new NVME M.2s

Yeah I am pretty bad at this stuff. I am good with hardware and some software but not everything.

I ended up returning it. But this would be great if someone resolved this instead of that complicated DUET thing.
Going to go with the Samsung 950 Pro or PM951
Those should be plug in play as I’ve read, right?

I don’t like how I have a bad taste in my mouth, knowing that there isn’t a more simple solution for future M.2’s Via Pci E/Express.
I felt like I was close but the windows system wouldn’t allow the next step. Saying hardware isn’t supported but ACTUally showing the drive though…

@1xstealthx1

On the NVME M.2 you need to boot the OS installer from the DUET>REFIND GUI to been able to select it as bootable.

To do so, make the DUET USB by following the DUET/REFIND (Booting the NVME drive from non-UEFI legacy board (DUET with optional REFIND) with USBSetup.)
After the last point, from your Legacy BIOS interface, make sure to change the BOOT PRIORITY ORDER to this new USB disk, save and exit.
By booting from this USB disk you’ll see something similar to the preview image attached on the first post.
Once there, attach the OS USB installer and hit the F5 key to refresh the view, this will allow to select and install the OS on the NVME drive.

Thanks.

Yeah i couldn’t get DUET to work. (early stages failed me, on just making it bootable, prompt/run wasn’t working.)

but anyways
M.2 NVME Samsung 950 Pro and the other one should just work no issues right? once i find good price one of those, I am going to order it.


* I just bought one. seller lowered the price* Samsung NVME M.2 256GB SSD PM951 MZ-FLV2560 MZFLV256HCHP-000MV *
$65 shipped!
So this model should just work normally right?

The ONLY thing I can think of that would be easier would be a bootable_duet-refind.iso format, then all we would need to do is use Rufus on a working windows PC and burn the bootable_duet-refind.iso to usb. Those instructions from the OP copied below here and edited for clarity work perfectly flawless for me every time, and on many multiple computers. I just do not see how it could fail… It’s practically fail proof, unless the machine and or user is broken. These instructions are for a working Windows PC.


ALL OF THE BELOW ASSUMES YOU KNOW HOW TO START AND USE THE COMMAND PROMPT!

• 1) Open the Windows Command Prompt with “Run as Administrator” option at the same location you unpacked the DUET to (obviously).

• 2) CD into the DUET_UDK2017_REFIND folder if you haven’t already.
EXAMPLE: “cd C:\DUET_UDK2017_REFIND” (without quotes). Enter.

• 3) Note down the drive letter of the USB flash drive.

• 4) Type “CreateUSB Drive_Letter: FORMAT” (without quotes).
Example: “CreateUSB.cmd K: FORMAT” (without quotes) - (K: is the drive letter of the USB flash drive.)
This command will format the selected USB flash drive and set up the MBR boot code and the Boot Sector necessary to boot DUET.

• 5) Safely Remove and Replug the USB flash drive. (crucial).

• 6) Type “CreateUSB Drive_Letter: DUET” (without quotes).
Example: “CreateUSB K: DUET” (without quotes).

• 7) OPTIONAL: REFIND BOOT MANAGER: (this is needed to “easily” boot the Windows installer)
Type “CreateUSB Drive_Letter: REFIND” (without quotes).
Example: “CreateUSB K: REFIND” (without quotes. This will copy all the REFIND files to the USB in order to have a GUI that can boot things, such as Windows).

• 8) Once done remove the USB flash drive.

• 9) Plug in the USB flash drive on the target system and set “Boot from USB” as the first option in your system’s BIOS Boot order option.


By the way, the 950 series is a mighty fine SSD, there’s no reason to upgrade to the 960 or 970 if your still on the PCIe 2.0 boards, unless of course you plan on upgrading soon to PCIe 3.0 and want the latest greatest tech. That is why I went with the 960 series, because I plan to upgrade to Ryzen this summer.

Good luck with your 950, it should work well, but you can still have issues with them too on older systems.

Thanks. Nice write up. If I ever try again.

I failed that step 2. It just wouldn’t work. I probably typed it wrong.
I still think it should work like RUFUS or Windows 10 bootable.
Bit more user friendly.


But anyways.
I am a builder so I have access to tons of new parts. I could care less about modern parts. (only enjoy Ryzen 2700X and GTX 1080 Ti’s because they are money makers lol Mining) and of course Gaming on Battlefield 1)
For my own rigs I focus on the most you can squeeze out of it per dollar.

Here are my rigs or under construction if you folks are interested in reading.

Main workstation/ mines 24/7/Daily.
- I7-3770 I won in auction for $90 2 years ago
- Msi LGA 1155 cheap board, No Native Sata 2 (Was my mistake, I nearly got few free at microcenters bundles) (I will change it over to 75 version of board if I keep it)
- GTX 1080 Ti Evga SC @ $2.50-3.12 a day NiceHash with good settings. (when i play a game similar to Diablo 3, I don’t even have to turn it off lol) $730 on Ebay (seller gave me the original receipt :smiley: )
- Seasonic Gold 550W I bought 2 years ago around black friday, came out to like $26 after rebate.
- Corsair Case with White Led fans, I think it was like $24 on sale
- Samsung 480/500GB forget model, was like $100 (this build is what got me on the M.2 Train, because my Samsung under performs so bad, like 200-275 read. or w/e, only downside to this build)
- 8Gb Crucial Tactical Tracer I got way back before ram was expensive (probably $38, when i bought in bulk)
- CPU Cooler is unknown because I keep changing it, I pissed off my friend for while using Intel Box cooler, It was great temps back then on those I7s.
Used it for over 2 years and still running 24/7

For the Lawlz
- Ryzen 2700X 4.3Ghz Turbo @ $.85-$1.15 a day, and stays cool with the crazy prism cooler (I got it for like $260 open box bundle at micro, It’s already been mining for more than a month, so nearly at $220 out the door)
- on B350 Board
- Misc DDR4 RAM
- System is a test system, I test cards on it and let it run 2-3 cards + the CPU all the time.
- System is very new, I don’t have time to move it as a main system or anything like that.
- Random Gold Rated PSU’s usually
- Case TBA, It’s in a form factor with Risers sticking out of it at the moment.

To Troll People & and to probably daily
- X58 Asrock Extreme I won on Ebay Auction for $78 (works fantastic, I just haven’t played with OC’s yet, may need to replace thermal paste on the heatsinks)
- I have 3 cpus for it. - Misc I7 just to get it posted, probably was $8-14
- Xeon X5677 $30 - Main probably, and to test Overclocking
- W3565 $7 - to test overclocking (experimental)
- Ram TBA, I want a nice triple channel kit with 4gbs or 8gbs sticks. I care more about highest MHz that won’t hurt anything or crash.
- Nice beefy Black RGB Cooler from Enermax, I think it was $40 something, just for fun and I just don’t care too much about Liquid Cooling (Another Time)
- Case TBA

Miner 1
- Asrock 250 Intel board, Open box, I made $5 on it lol. It had a $20 rebate and It bundled or it was priced at like $15 or something, was missing I/0 Shield
- Surprisingly it has 4 cards connected to it 24/7 (this was an experiment that went overboard, as I never let it quit and just keep letting it go as it’s reliable)
- 120GB M.2 Misc Brand, over 2000 write speed, I think i got it open box as well $32
- Intel G3900 LGA 1151 $27, open box probably
- Here’s the funny part, EVGA 1000W G1 GOLD $180, redesigned edition, new when it came out.
- 2x GTX 1080 Ti’s and 2x GTX 1070 EVGA’s @ $8-$12 a day

Miner 2
- Biostar 12 card BTC board
- 7 cards at the moment
- G3900 Intel
- Thermaltake 850W RGB GOLD $85 on sale after rebate (I think they are $95-135 now)
- 5x GTX 1060 6GB PNY Reference (Business owner I worked for gave them to me, I built him a ton of Miners, he also gave me 3 GTX 1080 Ti’s as well)
- 2x GTX 1070 EVGA

Experimental
- Xeon X3470 3.6 Turbo
- Super Micro $20 Motherboards, I have a few - Down side, 2x USB Ports, 1x USB port on the board itself, and no front Audio/Mic Support.
- Testing Server ram, my best score was a $18 - 16GB Server Kit and works flawlessly. 1 stick was dead but I fixed it.
- Can run Battlefield 1 1080P Medium/High settings on full map online based on the video card used. I mainly tested GTX 1060/1080 Ti for shits and giggles.


Thanks again for being an active forum!

@noInk

I am willing to do a How-To video posted to Youtube if you know of free desktop capture software that can capture the steps I take on my desktop to create a working DUET REFIND USB drive. I have never done a capture of my desktop before that I can remember, but I do have a Youtube account that I could post it to and make public. And I have LOTs of time on my hands with nothing better to do. Your call.

EDIT: I will try making a How-To video with something called TinyTake.

That would be legendary.

I think AMD or NVIDIA has it and comes with graphic drivers but I never used it before.

I barely use my Youtube account, but I think it’s tied to my Email.
So if you make the Video, and you send it to me. Ill upload it to youtube for you.

The most important thing is.
We will get a thousand questions asking if it works with any M.2/Pci Express NVME Drive (some people with DUET write up say it will work with any of these high speed Drives)

Title should be something like…
Get X58 & Other Old Motherboards to run High Speed M.2/SSD/Pci Express Drives
Video contains instructions on how to use DUET to get most boards to read your Modern High Speed Non SATA drives so you can install WINDOWS 7/10 on it.

That’s off top of my head.

@1xstealthx1

There is no SSD or HDD on Planet Earth that DUET and REFIND would not see, not a single one. In order for that to happen the machine would need a physically broken PCIe slot (like I have on one of my boards), or a physically broken BIOS that does not allow the system to see storage devices from PCIe (which is super rare because of the many early PCIe enabled storage device cards that used to be sold). DUET’s entire purpose of being is just to see storage devices and boot them. DUET adds the missing bits that a BIOS usually does not have.

I will give TinyTake a try since it’s free and said to be simple. I don’t want to try OBS studio because I don’t plan to make a habit out of this, lol. Haha

You the man!

The main purpose is to have those 300-600 speeds of SSD
and or 1500-2000++ speeds of M.2/Pci Express type
I know Pci Express 2.0 has a cap but who cares lol! (It’s fast enough)

Yeah I heard that too, I just wasn’t sure.
In video we will state that DUET see’s ALL.
After OS is installed it’s all up to your board right? (not sure what boards wouldn’t work, but we will just say it will work for more X58 boards and newer, and only the ones we’ve tested)