2

I am trying to install a Windows 7 x64 Home Premium in UEFI mode1. For this purpose, I obtained a DVD from the vendor of my computer that contains all editions of Windows 7 x64. (The Microsoft Win 7 ISO download site does not work for me because it refuses to accept the (OEM) product key found on my computer's certificate of authenticity, hence I cannot download from there - Microsoft recommends to ask the PC vendor for a disk instead, which is what I did.)

According to some resources such as this article (only in German), Windows 7 x64 DVDs are already prepared for UEFI installation. Also, the article says I need to enter the UEFI boot menu upon booting while the Windows DVD is in the drive. The UEFI boot menu should then show two entries for the DVD drive, one labeled "UEFI" for the UEFI boot.

I can enter the UEFI boot menu. Unfortunately, I see only the following entries ("..." means I skipped some detail information that only consisted of letters and numbers and probably does nothing to illustrate the issue):

  • UEFI Default
  • SATA2:HL-DT-ST DVDRAM ...
  • SATA1:...
  • Generic-SD/MMC 1.00
  • Generic-Compact Flash 1.01
  • Generic-SM/XD-Picture 1.02
  • Generic-MS/MS-Pro 1.08
  • Realtek PXE B01 D00
  • Enter Setup

So, the DVD does not show up in UEFI mode; it just shows up once, in normal mode.

As far as I can tell, secure boot is disabled in my MSI UEFI BIOS. (It looks like this, and the entire Windows 8 feature group that contains the secure boot feature is set to disabled.)

From superficially looking at the contents of the installation DVD, it looks like it is supposed to support UEFI boot:

  • There is a bootmgr.efi file in the root directory.
  • There are some files in a /efi/microsoft/boot subdirectory (namely bcd, cdboot.efi, cdboot_noprompt.efi, efisys.bin, efisys_noprompt.bin, as well as a fonts subdirectory).

Am I doing anything wrong in the UEFI boot manager while trying to launch the setup? Or is my Windows 7 DVD not actually fit for UEFI boot - in which case my question becomes: Can I create a modified bootable Windows 7 setup medium based upon the DVD I have that actually can boot in UEFI mode?

1: My actual objective is to make use of the full 4 TB of my system HDD, which seems to be possible only with GPT rather than MBR, which in turn seems to require installing Windows 7 in UEFI mode.

  • Can you post the partition information for the disk trying to boot to? "Can I create a modified bootable Windows 7 setup medium based upon the DVD I have that actually can boot in UEFI mode?" - The Windows 7 ISO your using already supports EFI. Your likely just applying that ISO to the disk incorrectly. Are you writting the ISO to an optical disk or are you writting it to a flash drive? "it just shows up once, in normal mode." - What exactly is "normal" mode? – Ramhound Nov 14 '16 at 18:51
  • @Ramhound: "partition information for the disk trying to boot to" - do you mean the HDD I'm trying to install to? It is empty, new. It has no partitions (except for those that are being created during the Windows setup process). "Your likely just applying that ISO to the disk incorrectly." - I am not applying any ISO, my computer vendor directly burned a DVD and gave that to me. I am happy to extract an ISO from that DVD and apply it differently to a new DVD, though, if there are any hints on what should be done differently. "What exactly is 'normal' mode?" - the non-UEFI mode. – O. R. Mapper Nov 14 '16 at 19:08
  • "do you mean the HDD I'm trying to install to?" - No; I do not mean the HDD, the target HDD should have no partitions, if it does you should delete them. Where can I download Windows 7 (legally from Microsoft)?. "the non-UEFI mode" - So Legacy Mode or CSM. – Ramhound Nov 14 '16 at 20:01
  • @Ramhound: Ok, the target HDD is indeed empty (or at least, I see to it that it is upon each of these Windows reinstalls). With the instructions you linked to, I could successfully create a bootable USB key from which I can install Windows in UEFI mode, and the installer now accesses the full 4 TB of the HDD. Unfortunately, the current installation (I chose Windows 7 Home Premium N, as according to this answer the N versions are the ones distributed here in the EU) will not accept my product key, saying it does not match the current "Windows SKU"... – O. R. Mapper Nov 14 '16 at 22:13
  • ... This issue seems to be well-known, so I'm trying to find out which SKU the key on my COA belongs to. For the language, I chose German, but of course that's a mere guess based upon the fact that I'm in Germany and had successfully installed Windows in German from my vendor's DVD, which did not seem to prevent me from choosing whichever language I like. We'll see how many subsequent installations it'll take until I happen to hit the correct SKU :) Or maybe there's a way to find out which SKU my vendor's DVD installs when I choose Home Premium in the menu from that installer? – O. R. Mapper Nov 14 '16 at 22:22
1

From what I can conclude from multiple sources, installation media for Windows 7 x64 is not guaranteed to be bootable in pure UEFI for all hardware configurations (it was released at a time before UEFI systems are commonplace - mostly just BIOS or some early version of EFI). For the cases that worked, the vendors have implemented some kind of explicit support in the form of hybrid mode (UEFI+legacy) or CSM to allow the media to boot in "impure" UEFI/EFI mode.

In other cases, Windows 7 was installed during BIOS/legacy mode to MBR partitions, and the partitions are converted to GPT later using disk imaging tools (this is also known as converting a working Windows 7 BIOS installation to UEFI - this worked for me). This approach is addressed in: How to move an existing installation of Window 7 64bit to UEFI (from legacy)

There is also a third approach to bypass the UEFI boot issue, by booting into some other environment (WinPE, or even another version of Windows that is already installed and running in UEFI), where Windows 7 installation to UEFI can be initiated without having to boot the installation media itself.

You need to have Windows 7 x64 installed using UEFI, but Windows 7 can't install in a pure UEFI environment. If you can't boot into the UEFI installer with your legacy BIOS (CSM) enabled you need to use an EFI shell and start the installer from the EFI command line. It's not as difficult as it sounds. There are also guides around for converting an in place Windows 7 system from BIOS to UEFI, and while that should also fix it, none of those guides worked for me.

Source: https://www.reddit.com/r/Windows10/comments/3l6110/windows_7_upgrade_and_0xc000000f_device_not/

A bug report on 'UEFI Win 7 USB fails to boot'. I encountered a similar error and verified that the installation media can boot in UEFI with other hardware, just not the hardware that it cannot work with.

Source: https://github.com/pbatard/rufus/issues/254

On some Acer, Gateway, P. Bell, Windows 7 x64 will not install in UEFI mode, you need to use Legacy mode.

Source: https://www.eightforums.com/installation-setup/29993-trying-install-win7-uefi-mode.html

FAQ from a motherboard vendor that explains their UEFI support for Windows 7:

In order to install Windows 7 on 1762/16F3 with a Windows 8 BIOS, be sure to go to BIOS -> Boot -> Boot Mode, change UEFI to LEGACY. Failure to do so will cause the OS to hang at “Starting Windows” and will not proceed further. Once you switches to Legacy mode then the issue disappears.

Why I can’t use UEFI mode to load Windows 7?

It is impossible to install Win7 OS (using WinPE3.0 environment) in our Win8 NB UEFI mode (pure UEFI) setting, that’s why you need to switch to legacy mode. Win8 BIOS’ UEFI mode only supports WinPE 4.0 protocols. On desktop motherboards, Win7 OS can be installed via UEFI mode because this UEFI mode is Hybrid therefore it supports such installation. This is not a pure UEFI mode but a mixture of Legacy and UEFI environment. This pure UEFI mode in NB BIOS is same as enabling UEFI Win8 features under motherboard BIOS.

Source: https://service.msicomputer.com/msi_user/support/techfaqdetail.aspx?formid=3061

Related:

Windows 7 Ultimate 64-bit cannot boot in UEFI

Can only install Windows 7 in UEFI-Legacy Mode

Installing Win 7 To GPT and Why My UEFI Mobo Won't Boot From CD Unless In Legacy Mode

0

"HL-DT-ST" is your DVD drive. In UEFI, it may not always show what's inside of it.

If you select that option, you should be able to continue the boot process from the DVD.

  • I know that's the DVD drive. It says "DVDRAM" in that line. It's the DVD drive not in UEFI mode. If I select it, the computer will boot from DVD without UEFI mode, thus bringing me to the Windows setup that does not support GPT. As the article I link to says: There should be two entries for the DVD drive, one labeled UEFI. For me, there is only one, not labeled UEFI. – O. R. Mapper Nov 14 '16 at 18:23
  • Try configuring your UEFI boot options to display the DVD drive. You have a mixed system, so it may not be configured to boot 1st by default. – Chavez Clemons Jr. Nov 15 '16 at 6:55
  • How can I configure UEFI options to "display the DVD drive"? Shouldn't it be irrelevant from which device the computer boots first by default when using the UEFI boot menu to manually select a device to boot from? When using an USB key as described by ramhound, that device does appear in the list with an entry labeled UEFI, so it seems likely the DVD I have is indeed not UEFI-bootable, rather than my PC config being wrong. In any case, I currently cannot enter UEFI settings - ... – O. R. Mapper Nov 15 '16 at 7:56
  • ... any help is gladly appreciated. – O. R. Mapper Nov 15 '16 at 7:56
  • UEFI doesn't include additional boot options by default, and also boots from the first internal HD by default. When you enter your BIOS settings, there should be an option available to define boot options for EFI. You may have to add an additional option to your EFI menu if it isn't already present. On the computer I used, it was the Esc key that brought up the UEFI boot manger. Since you're using a EFI-based computer that previously had Windows 10 installed on it, why not use the Media Creation Tool provided by Microsoft to create a Windows 10 DVD or USB Key? That one works well. – Chavez Clemons Jr. Nov 15 '16 at 8:08

Your Answer

By clicking "Post Your Answer", you agree to our terms of service, privacy policy and cookie policy

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