Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Boot Windows 7/8 from GPT on BIOS system : No hybrid MBRs or DUET!

03 Feb 2014   #1
milindsmart

Windows 7 Home Premium x64
 
 
Boot Windows 7/8 from GPT on BIOS system : No hybrid MBRs or DUET!

Hi guys,

Till now, Windows 7/8 x64 could boot from a GPT disk only on a UEFI system. Methods to enable this are hybrid MBRs and DUET. Both of which are hacks.

We now have a simple way to boot windows (BOTH 32bit AND 64 bit) from a GPT disk on a BIOS system WITHOUT hybrid MBRs or DUET, using just a small MBR disk to hold bootmgr, can be HDD or USB stick. It can even be a floppy It will just hold the boot files.

GPT is preferable for several reasons, independent of UEFI :
  1. No 2TiB limit on Hard disk size
  2. No distinction between primary and logical partitions, and the associated space allocation decisions.
  3. Partition table is redundantly stored, checked using CRC
  4. No conflict of partition types
  5. No need to use the logical partitions which are implemented in an EXTREMELY error-prone manner.
The principle here is simple: Have a ready Windows installation on a partition on a GPT disk. Then add the boot files and boot record to an MBR disk, and add a bootloader entry to the BCD pointing to the Windows installation (more precisely, winload.exe)

First install windows on a GPT disk. This can be done in several ways :

  1. Install in BIOS mode on MBR and then convert using gptgen
  2. Install in UEFI mode using DUET. (ONLY for 64-bit!)
  3. Apply the windows install image (install.wim) using ImageX (Windows 7) or DISM (Windows 8+)on the GPT disk (best)
Next insert the Windows DVD, and that small disk, whatever it may be. Open the command prompt.

Use diskpart to verify for yourself which drives are data drives, and which is your windows boot drive. For safety, I recommend removing the drive letters of all other drives except the windows boot drive, which I'll refer to as C:, using the command :
Code:
remove
Type the following commands in diskpart. I'll refer to the other disk as Disk 1. It should be self-explanatory

Code:
select disk 1
clean
create partition primary [size=##]
format
select partition k
active
list volume
select volume n
assign
list volume
exit
Note down the letter assigned newly in the last list volume. Assume it is D:

Install boot files to the drive
Code:
bcdboot C:\Windows /l en-us /s D:
Install the bootsector
Code:
bootsect /nt60 D: /mbr /force
Edit the BCD for a small tweak (this may not be necessary : experts advice looked forward to)
Code:
bcdedit /store D:\boot\bcd /set {bootmgr} device boot
Restart, and boot from the second disk. It should boot smoothly. Check
Code:
diskmgmt.msc
for confirmation of GPT disk.


NOTE : Tested in a VM, not yet tried on a real machine, which I will very soon. Hence I have not made it into a full tutorial. But realistically, it's not really going to fail unless something gets screwed up. Testers also very welcome! but rest assured, none of this is close to as dangerous as a Hybrid MBR. I'll make it into a tutorial once it's tested and no sudden issues are found

I'll be looking for more elegant solutions very soon, such as mapping an image at boot time. But I wanted to tell (announce ) to you guys, so that I get some valuable feedback, and improvements, and expert gyaan.

The original thread is here : Hack Bootmgr to boot Windows in BIOS to GPT - Windows 7 - reboot.pro . Credits to cdob and Sha0 from reboot.pro.


My System SpecsSystem Spec
.
03 Feb 2014   #2
milindsmart

Windows 7 Home Premium x64
 
 

One caveat is, of course, that the Windows install/repair will refuse to automatically repair your installation of windows.. because it obviously doesn't know how to handle this "unsupported" configuration. Since it's not like there'll be a dedicated expert to "support" my computer when using supported configurations, I think it's worth the effort of manually working with it.

There is a way however, for automatic repair to be used, for non-boot related problems : that is, winload.exe and other system files, not bootmgr. Use DUET to boot into the windows install disc. This should allow the installer to do all the repairs it can.
My System SpecsSystem Spec
15 Jun 2014   #3
walkerneo

Windows 7 Ultimate x64
 
 

I have an efi computer, but the disk won't boot with efi, so I might have to do this. Since the computer is efi, is there a way to install using this method but then move the boot files over and boot without the external drive?
My System SpecsSystem Spec
.

15 Jun 2014   #4
gregrocker

 

Quote   Quote: Originally Posted by walkerneo View Post
I have an efi computer, but the disk won't boot with efi, so I might have to do this. Since the computer is efi, is there a way to install using this method but then move the boot files over and boot without the external drive?

The solution which works for all others who don't want to waste any more time with EFI is to Bypass UEFI to Install WIn7.
My System SpecsSystem Spec
26 Jun 2014   #5
milindsmart

Windows 7 Home Premium x64
 
 

Best bet is to find out why and try to fix your computer into booting with UEFI. Failing which, skipping UEFI might be easier.

If you're keen on using GPT with windows without UEFI, and you don't want to use an additional disk, check out this answer, which is an improvement of the above method.
My System SpecsSystem Spec
27 Jul 2014   #6
robb20

Windows 7 Professional 64-bit
 
 

So, just to clarify some things in your original post milindsmart...

The C drive is your boot drive and the D drive you refer to later in the tutorial is your usb flash drive correct?

I don't install anything on the flash drive prior to starting this process?

I install Windows on the drive I want to convert to gpt in the tutorial too right?

Also, the USB flash drive will hold the bootmgr for good or just temporarily? What size can I use? Is 128MB too small?

This will work on 4TB drives as well? I eventually want to install 4 4TB drives in my computer, but for now I'll be installing it on a 3TB drive.
My System SpecsSystem Spec
01 Aug 2014   #7
milindsmart

Windows 7 Home Premium x64
 
 

Sorry for the delay, didn't find time to reply properly.

Quote   Quote: Originally Posted by robb20 View Post
The C drive is your boot drive and the D drive you refer to later in the tutorial is your usb flash drive correct?
Yes C is the boot drive (one with \Windows\ directory) and D is the system drive (one with \bootmgr and \BCD)

Quote   Quote: Originally Posted by robb20 View Post
I don't install anything on the flash drive prior to starting this process?
Nothing required. In fact you just need to set up an MBR and VBR on one of the primary partitions in the flash drive. You can use the rest for data.

Quote   Quote: Originally Posted by robb20 View Post
I install Windows on the drive I want to convert to gpt in the tutorial too right?
Yes. You can also go ahead and convert the drive, and then install Windows by imaging it onto the drive directly, using DISM or ImageX.

Quote   Quote: Originally Posted by robb20 View Post
Also, the USB flash drive will hold the bootmgr for good or just temporarily? What size can I use? Is 128MB too small?
For good. Anything beyond 32MB is fine.

Quote   Quote: Originally Posted by robb20 View Post
This will work on 4TB drives as well? I eventually want to install 4 4TB drives in my computer, but for now I'll be installing it on a 3TB drive.
Yes it'll work on any drive windows already can boot from.
My System SpecsSystem Spec
01 Aug 2014   #8
gregrocker

 

What are comparative boot speeds with win7 system files throttled by USB controller?
My System SpecsSystem Spec
01 Aug 2014   #9
milindsmart

Windows 7 Home Premium x64
 
 

According to Wzyboy here and here, there is no visible impact on speed.
My System SpecsSystem Spec
01 Aug 2014   #10
robb20

Windows 7 Professional 64-bit
 
 

No worries milindsmart!

Thanks for all the help! I just finished installing Windows on a 3TB GPT drive thanks to you!
My System SpecsSystem Spec
Reply

 Boot Windows 7/8 from GPT on BIOS system : No hybrid MBRs or DUET!




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
System wont boot to windows. Got a blinking screen after bios page.
I realized some days ago that my system was slow in responding. But not long i got the blue screen with white writings about 'crash dump things'. So i press the power button to switch off and on again. I enter windows normally. So fast forward to 3 days later. The system was responding very slow...
Installation & Setup
Windows 7 Ultimate x64 will install on system, but not boot after bios
Hey all! I've been lurking around the forums for the passed week or so now, and have come to my wits' end with a problem I had on my system. I looked through a few threads and didn't find any answer unique to my problem, so I figured I'd post a thread about it; apologies in advance if there has...
General Discussion
Hybrid Boot in Windows 7 - is it possible?
Hi, and I'm back after several years of hibernation (I know, bad pun. ehehehe) Well, we all know how nifty Hybrid Boot is, logging off and hibernating the system files and all for a quick boot. Now here is the question, is it possible to add Hybrid Boot to Windows 7? Of course I did some...
Customization
Windows 7 install requires BIOS update, no operating system to boot
I have searched and been unable to find the information. Specs are HP G60-445DX 3GB RAM AMD Turion X2, 64 bit Etc. Upgrading from Vista Home Premium that was reset to factory specs in hopes of repairing "local only" issue on network. Here's what is happening, booted from Windows 7...
Hardware & Devices
Clone to SSD won't boot, now I have a "hybrid" system
I bought an Intel SSD (160GB) and used Acronis TrueImage to clone my system disk (Win 7 Ultimate x64, WD Caviar) to it. I've done this many times before, without a problem. This time, the PC (Asus P5B-Deluxe, Intel E6700) would not boot from the SSD - just gave me the flashing cursor. I booted...
General Discussion
BIOS Settings: S1 or S3 for Hybrid Sleep?
When I install Windows 7, I'd like to use the Hybrid Sleep mode if I can. Which is the better syspend mode in BIOS Settings: ACPI S1 (Power on Suspend) or ACPI S3 (Suspend to RAM)?
Installation & Setup


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 00:28.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App