Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I've recently become interested in DUET, Intel's UEFI emulator for developers. I'm reading that it can be installed to a hard disk, but what does this make it? Some kind of boot monitor? A virtual machine? Would I be able to make BIOS computers run like EFI computers? Could it be used for a software-based secure boot?

share|improve this question

1 Answer 1

You can think of DUET is a sort of boot loader that loads an EFI environment on BIOS-mode computers. When run, DUET essentially turns a BIOS-based computer into one with EFI support. It's not a virtual machine. The last I checked, DUET did not include Secure Boot support, but that may have changed with recent builds. (Even if it did include Secure Boot support, it wouldn't really be all that effective, since DUET still depends on the basically insecure BIOS boot path to get started.) It does let you run EFI-based boot loaders and other EFI tools, though. As the name implies, it was originally designed for developers, but I imagine that most developers now have real EFI hardware. Its most practical application these days is likely to be for people with BIOS-based computers who want to boot Windows from hard disks that are larger than 2TiB. Such disks need to use the GUID Partition Table (GPT), and Windows can only boot from GPT disks when using EFI. DUET enables this. OTOH, it's also something of a pain to set up, so you should consider it only if you've got more time and/or expertise than money. If you have one or two hundred bucks to spare for a desktop system (or a bit more than that for a laptop), you'd be better off replacing the motherboard (or the whole computer) with an EFI-capable model.

The process of installing and using DUET is too complex to describe here; but I've written a Web page on the topic:

http://www.rodsbooks.com/bios2uefi/index.html

Note that DUET is extremely finicky. In my experience, it works best on Intel-based computers. I've tested it on at least three AMD-based computers, and it failed completely on two of those and worked poorly on the third. You'll need another BIOS-based boot loader (such as GRUB or SYSLINUX) to get DUET started at all. My Web page describes how to set that up, though.

share|improve this answer
1  
Does DUET continue running after it has booted the operating system? In that case it would sound like it's like the bootloaders in smartphones which have added functionality or a hypervisor. –  Melab Jul 13 '13 at 22:54
1  
Part of DUET, like part of any EFI implementation, does remain running to provide runtime services to the OS. In that respect it does have some hypervisor-like characteristics, but it's not really a virtual machine in that it's not serving as a middleman in any hardware access. AFAIK, all that DUET does once the OS takes control is provide EFI runtime services, which do things like mediate access to NVRAM (which in the case of DUET is actually a disk file, and doesn't even work well). –  Rod Smith Jul 14 '13 at 19:08

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.