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



Yeah, first let me time the original version. Then I can time this version. I was not aware you had newer versions as I go by the Month being first, so 11-12-2017 just means November 12th to me, lol. I will try and pay more attention to that, sorry.

And what do you mean by you fixed the screenshot, what screenshot are we talking about? Or did you mean you fixed the config file in the new version of your DUET, so that backgrounds are now centered properly? I already made myself a Asus ROG background using the default 1024 x 768 that REFIND like to use.

BRB, going to go test my NVMe boot performance now. Thanks

EDIT: Wait, I forgot to ask, should I recreate the USB DUET disk, or just copy over a file? If I need to recreate the DUET USB can I then use my current "refind.conf" file, or just edit it with my own settings again? I will wait for your reply. Oh and the first two bootups were about 16 seconds after the REFIND UI disappeared (that happens after the countdown).

@SkOrPn

Yea, date is kinda inverted LOL
About the screenshot I mean that now you can hit F10 to grab the screen in refind, wasn’t working before, the file will be saved within the usb screenshot directory.
For the background I suppose you should keep your configuration along with the theme you created.
If you are sure about the MBR content, it is not necessary to recreate the USB, you could indeed copy over the files.
Hope these 16 seconds are with the old version? :smiley:
I m using a different type of card and it exhibit the opposite issue, it does the aspect ratio by not sending the expansion bit.
It’s an MSI 670 PE OC with the “”"“updated”""" UEFI GOP bios, does your AMD card is compatible with UEFI?
Cause that’s a lot! in case you should seek if there are any official update with the UEFI extension for it.
Also, on mine drive the older version are available but not public, so, once you delete it, there no going back unless you keep the local copy.

@noInk

Yeah the 16 seconds was with the old version. Testing the new version now. I just reformatted everything then.

EDIT: OK, its now booting in 10 seconds!!!
Not sure how the heck you can reduce boot time, but you sure did with the new DUET version. You should give these builds your personal version love, such as "DUET_UDK2017_REFIND_v1.0… or “DUET_UDK2017_REFIND_v11122017” or something along those lines. Haha, I prefer the first method myself.

Thanks for the awesome updates.

Or "DUET_w/REFIND_noInk-v1.0"

Yeah that would be much nicer than the stock naming scheme. I mean you are responsible for these newer builds.

@SkOrPn

Well, that’s good to hear and thanks for the feedback and testing.
On mine it does a seamless transaction or 6 seconds it depend by windows status ( should be seamless from power off and 6 sec with reboot ).

Power OFF – Warning 2MB GIF inside



Reboot – Warning 3MB GIF inside

I was counting the time from the refind GUI screen when your looking at the refind OS icons. When I click on the Windows icon it’s 10 seconds to the login screen or abouts that, but when I click on the Ubuntu icon it’s 7 or 8 seconds. This is with the new version.

I am using the Rampage III Extreme x58 with the PCIe slots at 101 mhz and the Xeon processor at 4ghz, that is 200 bclk times 20 multiplier. The nvme is a Samsung SM961 256GB and is partitioned 50/50 for Windows and Linux. It is attached to the Asus M.2 PCIe mini card and I forgot what slot it is in. I think it’s the 3rd slot from the top.

I think it’s the best setup I can achieve for this old system.

@SkOrPn

That delay could be duo the video card not supporting UEFI, else it would be instant in windows I suppose.
Anyway, I implemented another huge update on the DXE core. DUET should be more stable along with refind.


Instant loading of Windows? How is that possible? LOL, that doesn’t even happen on brand new late 2017 hardware…

Oh cool time for a DUET update… YAY!!!

@SkOrPn

Well it’s working as expected on mine end, so, that’s will be last for a while.
About windows it’s a feature since the OS will still load things in background even for minute after you log in.


@noInk

Yeah mine is working great on my end too, thanks. The new DUET works perfectly for me. I’m not having any troubles at all.

Hi everyone.
Is it possible somehow, install DUET on HDD, to get rid of the boot flash drive?

@SkOrPn

Nice! :o

@Turum

DUET is actually loaded into the memory, there is no point into using any faster device to place it’s firmware or something.
Virtually you can place it anywhere your legacy BIOS allow to boot from, anyway, the MSDOS script, for both safety and compatibility reason make no interaction with the system partition.
Manually you could format a whole disk, repurpose it’s FAT32 file system and setup the MBR with the binaries provided to eventually downsize the partition with some third party tool till the desired space.
Such method is up to your finding since I’m not currently covering in detail the full procedure.


I tested duet on both a super small 8gb flash drive, something that would cost like $5 at one time (probably the slowest drive I have) and also a very expensive 64gb usb 3.0 SanDisk extreme, and also I figured out how to put it on a Samsung 850 pro. On all three I could not see a difference in boot up time, and if there is it’s probably 1 second or less maybe even milliseconds. But now I forgot how I put it on the SSD. I think I used that clover format utility and then just deleted the files and tossed on the duet files.

can this method https://audiocricket.com/2016/12/31/boot…t-se-mainboard/ to work on the amd platform specifically amd it 880 ga ud3h motherboard with https: //ark.intel.com/products/94917/Intel-SSD-600p-Series-128GB-M_2-80mm-PCIe-3_0-x4-3D1-TLC nvme ssd and whether it changes something in the procedure or is completely the same if I have a ray, I’d like to explain to you a bit bet


Just build a DUET usb and see if your system can boot to it please. Only you can actually answer your own question because no one here has ever tried it on your board. I believe it will work myself, however we have only tested Intel systems, especially the x58.

So, just follow the instructions to make your DUET usb. Then see if it will boot to it. Once you can boot to it, then your next step is to get a NVMe SSD onto a PCIe adapter and see if DUET see’s it. If it does, then your ready to install an OS onto it. Please report back your findings (this is important).

I stuck at 6 Preparing the bootloader
The main trick here is to use DUET. It is a small tool that boots from and sits on top of your legacy BIOS and provides a generic UEFI interface, which can utilize the very latest hardware, including bootable NVMe SSDs. Think of it as an extension of your current legacy BIOS.

Download DUET here (md5sum 6c50e8a1a06e6665c81cdc7ac50cac57, VirusTotal scan log here)
Verify md5sum and unpack it
Plugin your USB stick
Format your USB stick
Open command line prompt (with admin privileges)
CD to unpacked DUET folder I have to do to make a CD to unpacked DUET I am from serbia and I do not understand barely the best of this sorry if I’m boring

CD into DUET, means “Change Directory” into DUET directory. So typing something like this “C:\cd DUET” will now put you into “C:\DUET” so you can do the rest of the commands.

So “cd DUET” will put you into the DUET directory. So, first thing is you need to learn the Windows command line if you want to learn how to format a duet usb drive. Watch the video series below to learn windows commands. Start from the beginning if you want. Or go here and read https://www.bleepingcomputer.com/tutoria…ction/#commands

https://youtu.be/MBBWVgE0ewk?t=2m40s

I don’t know how to translate my english into serbia language, sorry.

Is it important that you have to be usb 2.0 for creating a usb duet or maybe 3.0 and dear fernando is another issue of great importance since in my country, a lot of people use plates similar to mine and everyday encounter such problems as I have, and are not very wise to work for I would like to ask you to use this procedure to create a duet usb and insert the nvme driver into a duet and that store with the uefi shell for the boot windows10 is somehow recorded on the phone because somehow I can not get used to constantly encounter problems that means taking the whole thing procedure with a duet, and I would later if I could manage to get that SSD to work on my record, I shot it and dropped it on you tube, because it would be an incredibly useful video for all of us here in serbia and the cheeses that have such a problem in advance I’m grateful to you It will be 10 15 minutes and it will mean a lot to us and once again I’m sorry, but I’m really in a big problem

@boketa979


I’m sorry but I cannot help.
Anyway, including specific instructions require testing in how the work is done. For such specific usage choosing an architecture may exclude another, or even better, including something else require configuration to be in place.
These instructions may actually missing from either build since most are patched through 2015 onward. On mine I did some cut on code duo constrain space. Moral is: INTEL X86_64 should be supported, anything else may not fully working as intended, better to try by yourself and by following the guide you are referring.

we tried on my board it 880 ga udhh with amd chipset and did not want to do everything we did as it should be and come only to welcome to efi world and there it stopped and after that the master tried that same usb flesh on the intel crypto, ie on the board and He worked so well. Is there any idea why this happened and why did not he want to work on the amd board?