• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

Installing Windows Vista/7 on a GUID Partition Table

FordGT90Concept

"I go fast!1!11!1!"
Joined
Oct 13, 2008
Messages
26,259 (4.47/day)
Location
IA, USA
System Name BY-2021
Processor AMD Ryzen 7 5800X (65w eco profile)
Motherboard MSI B550 Gaming Plus
Cooling Scythe Mugen (rev 5)
Memory 2 x Kingston HyperX DDR4-3200 32 GiB
Video Card(s) AMD Radeon RX 7900 XT
Storage Samsung 980 Pro, Seagate Exos X20 TB 7200 RPM
Display(s) Nixeus NX-EDG274K (3840x2160@144 DP) + Samsung SyncMaster 906BW (1440x900@60 HDMI-DVI)
Case Coolermaster HAF 932 w/ USB 3.0 5.25" bay + USB 3.2 (A+C) 3.5" bay
Audio Device(s) Realtek ALC1150, Micca OriGen+
Power Supply Enermax Platimax 850w
Mouse Nixeus REVEL-X
Keyboard Tesoro Excalibur
Software Windows 10 Home 64-bit
Benchmark Scores Faster than the tortoise; slower than the hare.
Background

GUID Partition Table (GPT) is a boot sector technology poised to replace the venerable Master Boot Record (MBR) principally because MBR has a maximum capacity of 2 TB for a single partition (some single disks have reached 3 TB). Installing Windows on a GPT is a bit tricky because Windows wants to default back to MBR. In order to force Windows on to a GPT, we have to pre-format the drive prior to Windows installation. You can do that during Windows setup using the console.

Requirements

  • Windows Vista or 7 (must be 64-bit no matter which OS is used)
  • A motherboard with EFI BIOS
  • A means to EFI boot the Windows setup (I had to use a USB DVD drive on MSI Z77A-G65, the internal SATA Bluray drives didn't have an EFI option)

Instructions

  1. Boot into Windows setup using EFI. On the MSI Z77A-G65, it showed up as UEFI:USB-ATAPI DVD ... This will change according to your motherboard and how you are attempting to enter setup. This step is critical. Without booting into setup via EFI, only MBR is available to the setup. There's no easy way to tell from within setup if it is running via EFI or not.
  2. Once you have booted into setup, continue through the process as you would normally until you reach the dialog which shows you the available drives. Load a driver, if necessary, then press SHIFT+F10 to open the command prompt.
  3. In the command prompt, enter the following lines, pressing enter after each one. Note that the <id> field below is the disk ID that you want to format as GPT from the "list disk" command. If there's only one drive, <id> will likely be 1. Note: All data on the drive will be lost during this process. Make sure to select the correct drive.
    1. diskpart
    2. list disk
    3. select disk <id>
    4. online disk
    5. attributes disk clear readonly
    6. clean
    7. convert gpt
    8. create partition efi size=102
    9. create partition msr size=32
    10. create partition primary
    11. format fs=ntfs label="Operating System"
    12. assign letter=C
    13. exit

    "online disk" and "attributes disk clear readonly" are likely to fail. Don't worry, they are only precautionary. Change the drive letter and label to whatever you want. Also, the above command (specifically "create partition primary") will consume all remaining space on the drive. If you want multiple partitions with fixed sizes, substitute what you want in place of "create partition primary."
  4. You may now close the command prompt and click on "Refresh" back in the dialog to choose where to install Windows. You should now see at least 2 partitions (I think Microsoft Reserved is hidden) and it will only let you install on a non EFI/MSR partition. Click on the primary partition and proceed with the installation as normal.
  5. Note that in the EFI BIOS after installing Windows via EFI, you can no longer directly boot the volume Windows is installed on. Instead, you must boot via "Windows Boot Manager" (on MSI Z77A-G65, it was "UEFI: Windows Boot Manager"). Keep that in mind if you wish to tweak the boot order.

Conclusion

That should do it. You should be in Windows with >2 TB of hard drive capacity available if you had more than 2 TB on the Windows partition. Congratulations being on the bleeding edge of technology! :rockout:
 
Last edited:

The Aussie Genius

New Member
Joined
Jan 9, 2013
Messages
2 (0.00/day)
Background

GUID Partition Table (GPT) is a boot sector technology poised to replace the venerable Master Boot Record (MBR) principally because MBR has a maximum capacity of 2 TB for a single partition (some single disks have reached 3 TB). Installing Windows on a GPT is a bit tricky because Windows wants to default back to MBR. In order to force Windows on to a GPT, we have to pre-format the drive prior to Windows installation. You can do that during Windows setup using the console.

Requirements

  • Windows Vista or 7 (must be 64-bit no matter which OS is used)
  • A motherboard with EFI BIOS
  • A means to EFI boot the Windows setup (I had to use a USB DVD drive on MSI Z77A-G65, the internal SATA Bluray drives didn't have an EFI option)

Instructions

  1. Boot into Windows setup using EFI. On the MSI Z77A-G65, it showed up as UEFI:USB-ATAPI DVD ... This will change according to your motherboard and how you are attempting to enter setup. This step is critical. Without booting into setup via EFI, only MBR is available to the setup. There's no easy way to tell from within setup if it is running via EFI or not.
  2. Once you have booted into setup, continue through the process as you would normally until you reach the dialog which shows you the available drives. Load a driver, if necessary, then press SHIFT+F10 to open the command prompt.
  3. In the command prompt, enter the following lines, pressing enter after each one. Note that the <id> field below is the disk ID that you want to format as GPT from the "list disk" command. If there's only one drive, <id> will likely be 1. Note: All data on the drive will be lost during this process. Make sure to select the correct drive.
    1. diskpart
    2. list disk
    3. select disk <id>
    4. online disk
    5. attributes disk clear readonly
    6. clean
    7. convert gpt
    8. create partition efi size=102
    9. create partition msr size=32
    10. create partition primary
    11. format fs=ntfs label="Operating System"
    12. assign letter=C
    13. exit

    "online disk" and "attributes disk clear readonly" are likely to fail. Don't worry, they are only precautionary. Change the drive letter and label to whatever you want. Also, the above command (specifically "create partition primary") will consume all remaining space on the drive. If you want multiple partitions with fixed sizes, substitute what you want in place of "create partition primary."
  4. You may now close the command prompt and click on "Refresh" back in the dialog to choose where to install Windows. You should now see at least 2 partitions (I think Microsoft Reserved is hidden) and it will only let you install on a non EFI/MSR partition. Click on the primary partition and proceed with the installation as normal.
  5. Note that in the EFI BIOS after installing Windows via EFI, you can no longer directly boot the volume Windows is installed on. Instead, you must boot via "Windows Boot Manager" (on MSI Z77A-G65, it was "UEFI: Windows Boot Manager"). Keep that in mind if you wish to tweak the boot order.

Conclusion

That should do it. You should be in Windows with >2 TB of hard drive capacity available if you had more than 2 TB on the Windows partition. Congratulations being on the bleeding edge of technology! :rockout:


Dear FordGT,

First of all, thank you very much for your very useful (and imho, most recommended) tip on installing Windows 7 on a GPT hard disk, which has enabled me to install Windows 7 Ultimate 64-bit on my brand-new Samsung Series 5 NP550P5C laptop (only a few weeks old, coming up to its one-month anniversary) which has an UEFI BIOS, after wiping its slow 1 Tb 5,400 rpm hard disk (will replace it with a SSD sometime in the future) clean of SamCrap bloatware and performing a clean Win7 install.

Now, I think I may have an interesting question for you.

I am thinking of assembling a mini-ITX pc with Intel quad-core i7-3770K and GTX660Ti 2 Gb sometime in the near future (when funds permit).

I am thinking of putting a 2 Tb 7,200 rpm hard disk and a 240 Gb SSD together, and using the SSD to cache the two 1 Tb partitions (after setting up the 102 Mb EFI system partition and the 32 Mb Microsoft Reserved partition and partitioning the remainder into two equal-size partitions of slightly under 1 Tb each) using Intel Smart Response Technology.

On the SSD, I intend to create the following partitions:- a 102 Mb partition to cache the EFI system partition, a 32 Mb partition to cache the Microsoft Reserved partition, a 64 Gb partition to cache the < 1 Tb drive C (coz Intel Smart Response Techology only allows a maximum of 64 Gb), another 64 Gb partition to cache the < 1 Tb drive D, a 16 Gb partition to copy the system RAM to SSD using Intel Rapid Start Technology when putting the computer to sleep (in S3/S4 mode) and the remaining 95/96 Gb partition (I have done the sums) as a normal hard disk for stuff that requires speedy access, for games like Sims 3 which requires a lot of disk accessing.

My question is this:-

Is what I am proposing above feasible or not ?

Would it be possible to use the partitions on the SSD and Intel Smart Response Technology to cache the EFI System partition and the Microsoft Reserved partitions ?

Would Intel Smart Response Technology be able to recognise both the EFI system partition and the Microsoft Reserved partitions, in addition to the two < 1 Tb partitions (drives C and D) ?

Thanks in advance.


TAG
 

FordGT90Concept

"I go fast!1!11!1!"
Joined
Oct 13, 2008
Messages
26,259 (4.47/day)
Location
IA, USA
System Name BY-2021
Processor AMD Ryzen 7 5800X (65w eco profile)
Motherboard MSI B550 Gaming Plus
Cooling Scythe Mugen (rev 5)
Memory 2 x Kingston HyperX DDR4-3200 32 GiB
Video Card(s) AMD Radeon RX 7900 XT
Storage Samsung 980 Pro, Seagate Exos X20 TB 7200 RPM
Display(s) Nixeus NX-EDG274K (3840x2160@144 DP) + Samsung SyncMaster 906BW (1440x900@60 HDMI-DVI)
Case Coolermaster HAF 932 w/ USB 3.0 5.25" bay + USB 3.2 (A+C) 3.5" bay
Audio Device(s) Realtek ALC1150, Micca OriGen+
Power Supply Enermax Platimax 850w
Mouse Nixeus REVEL-X
Keyboard Tesoro Excalibur
Software Windows 10 Home 64-bit
Benchmark Scores Faster than the tortoise; slower than the hare.
EFI System and Microsoft Reserved are hidden partitions on the EFI volume. The only way you could partially do that would be by using RAID0 but doing that would be silly. I would put a GPT on both drives then, from within windows, set the page file to the SSD if that's what you want to do.
 

DarK_AgE

New Member
Joined
Jul 17, 2013
Messages
1 (0.00/day)
Thanks for all the explanation. It'll be very helpfull. Just one question, though. What should I write starting from line 9 if I want to creat 3 or more partitions on the GTP hard drive containing the OS.

Thanks again!
 

FordGT90Concept

"I go fast!1!11!1!"
Joined
Oct 13, 2008
Messages
26,259 (4.47/day)
Location
IA, USA
System Name BY-2021
Processor AMD Ryzen 7 5800X (65w eco profile)
Motherboard MSI B550 Gaming Plus
Cooling Scythe Mugen (rev 5)
Memory 2 x Kingston HyperX DDR4-3200 32 GiB
Video Card(s) AMD Radeon RX 7900 XT
Storage Samsung 980 Pro, Seagate Exos X20 TB 7200 RPM
Display(s) Nixeus NX-EDG274K (3840x2160@144 DP) + Samsung SyncMaster 906BW (1440x900@60 HDMI-DVI)
Case Coolermaster HAF 932 w/ USB 3.0 5.25" bay + USB 3.2 (A+C) 3.5" bay
Audio Device(s) Realtek ALC1150, Micca OriGen+
Power Supply Enermax Platimax 850w
Mouse Nixeus REVEL-X
Keyboard Tesoro Excalibur
Software Windows 10 Home 64-bit
Benchmark Scores Faster than the tortoise; slower than the hare.
I've never tried multiple partitions so this is a shot in the dark...

At step #10, I would try setting the size parameter (it is in mebibytes) to how large you want the partition windows is installed on to be, then go ahead and install windows. This will leave the rest of the drive raw instead of consuming it into the OS partition (C drive). Once you successfully boot into Windows, you should be able to use Computer Management -> Disk Management to create partitions in the raw space.


If you really wanted to do it with diskpart before Windows is installed, you basically repeat the following lines making sure to specify a size if you don't want it to consume all remaining space:
  1. create partition primary size=size in mebibytes here
  2. format quick fs=ntfs label="appropriate name here"
  3. assign letter=C thru Z here
Obviously, you can use quick formatting or leave it out for full format. Leave off the size parameter when you reach the final partition that should consume all the remaining space. Also remember that the order you do this in goes from the outside of the disk (where it is fastest) to the inside of the disk (where it is slowest). Because of this, it is recommended to put EFI (e.g. size=300), then MSR (e.g. size=300), then Windows (e.g. size=30000), then Applications (e.g. size=70000), then Storage (e.g. no size parameter).

If I'm right, the above example would look like this:
  1. diskpart
  2. list disk
  3. select disk <id>
  4. online disk
  5. attributes disk clear readonly
  6. clean
  7. convert gpt
  8. create partition efi size=300
  9. create partition msr size=300
  10. create partition primary size=30000
  11. format fs=ntfs label="Windows"
  12. assign letter=C
  13. create partition primary size=70000
  14. format fs=ntfs label="Applications"
  15. assign letter=D
  16. create partition primary
  17. format fs=ntfs label="Storage"
  18. assign letter=E
  19. exit
 
Last edited:

Koajoe

New Member
Joined
Jul 22, 2013
Messages
1 (0.00/day)
Location
Honolulu
System Name Quatro
Processor i7-3820
Motherboard Asus Sabertooth X79
Cooling Nocua NH-D14
Memory G.SKILL Ripjaws Z Series 32GB DDR3 2133
Video Card(s) GEFORCE 780 GTX
Storage Samsung 840 PRO 256gb
Display(s) Samsung 1080P x2
Case Thermaltake
Audio Device(s) On-board
Power Supply Corsiar HX 750W
Software Windows 7 Pro
Registered just to thank you

FordGT90Concept,

I registered just to thank you for this post. You saved me pulling out my freaking hair!

The internet is way more useful than tech support.

Thanks again!

:rockout: :toast:
 
Joined
Oct 4, 2013
Messages
167 (0.04/day)
Might as well go back to DOS and command lines to do all of that just to install a O/S. :banghead:
BTW; this is the 2nd time I have seen the term "mebibytes" and had to Google it to find out what it meant. More confusion.

.
 
Last edited:

FordGT90Concept

"I go fast!1!11!1!"
Joined
Oct 13, 2008
Messages
26,259 (4.47/day)
Location
IA, USA
System Name BY-2021
Processor AMD Ryzen 7 5800X (65w eco profile)
Motherboard MSI B550 Gaming Plus
Cooling Scythe Mugen (rev 5)
Memory 2 x Kingston HyperX DDR4-3200 32 GiB
Video Card(s) AMD Radeon RX 7900 XT
Storage Samsung 980 Pro, Seagate Exos X20 TB 7200 RPM
Display(s) Nixeus NX-EDG274K (3840x2160@144 DP) + Samsung SyncMaster 906BW (1440x900@60 HDMI-DVI)
Case Coolermaster HAF 932 w/ USB 3.0 5.25" bay + USB 3.2 (A+C) 3.5" bay
Audio Device(s) Realtek ALC1150, Micca OriGen+
Power Supply Enermax Platimax 850w
Mouse Nixeus REVEL-X
Keyboard Tesoro Excalibur
Software Windows 10 Home 64-bit
Benchmark Scores Faster than the tortoise; slower than the hare.
megabyte = mega-byte = 10e6 = 1,000,000
mebibyte = mega-binary-byte = 2e20 = 1,048,576

DOS is used because it requires very little memory to run.
 

The Aussie Genius

New Member
Joined
Jan 9, 2013
Messages
2 (0.00/day)
FordGT,

Let's say I have a laptop / desktop computer with 2 or 3 or 4 hard disc drives.

Do I follow the instructions for all installed hard disc drives, or does the instructions only apply to the first hard disc drive where the OS is going to reside?

In order to use the other drives after the OS has been installed on the first drive, do I just right-click on the drive icon and use the 'Format ...' command in the pop-up context menu that has appeared on the screen? Instead of performing the same instructions on all installed hard drives? (sounds a bit obvious, but I need a refresher)

Do the instructions still apply if the first drive where the OS is going to reside is a SSD instead of a magnetic hard drive?


Thanks.



TAG
 

radicaltangent

New Member
Joined
Jun 9, 2014
Messages
2 (0.00/day)
Hi FordGT90! I really need help here. I've spent the last two days trying to install Windows 7 Pro onto a new computer with a 4TB HD without success. I've literally tried every method I could find online; including using Fedora/GDisk/GParted! The new PC's motherboard is an Intel WX58BP with the UEFI setting enabled. I have created a UEFI enabled copy of the retail Windows 7 Pro installation disc by following the official guide on Microsoft's website.

I've followed your instructions to the letter, and yet the newly minted special install disc refuses to install the 64-bit version of Windows 7 onto a GPT partition! It says: "Windows cannot be installed to this disk. The selected disk is of the GPT partition style".

Using MBR and losing 2TB of space is simply intolerable! I'm also not interested in Windows 8. Please help! :cry:
 

FordGT90Concept

"I go fast!1!11!1!"
Joined
Oct 13, 2008
Messages
26,259 (4.47/day)
Location
IA, USA
System Name BY-2021
Processor AMD Ryzen 7 5800X (65w eco profile)
Motherboard MSI B550 Gaming Plus
Cooling Scythe Mugen (rev 5)
Memory 2 x Kingston HyperX DDR4-3200 32 GiB
Video Card(s) AMD Radeon RX 7900 XT
Storage Samsung 980 Pro, Seagate Exos X20 TB 7200 RPM
Display(s) Nixeus NX-EDG274K (3840x2160@144 DP) + Samsung SyncMaster 906BW (1440x900@60 HDMI-DVI)
Case Coolermaster HAF 932 w/ USB 3.0 5.25" bay + USB 3.2 (A+C) 3.5" bay
Audio Device(s) Realtek ALC1150, Micca OriGen+
Power Supply Enermax Platimax 850w
Mouse Nixeus REVEL-X
Keyboard Tesoro Excalibur
Software Windows 10 Home 64-bit
Benchmark Scores Faster than the tortoise; slower than the hare.
Do I follow the instructions for all installed hard disc drives, or does the instructions only apply to the first hard disc drive where the OS is going to reside?
This only needs to be done for a disk that is going to have Windows boot from it. If you don't intend to boot to it, you can just format it as GPT and the operating system (so long as the OS supports GPT partitions) should be able to use it. That is to say, the HDD Windows is on could be MBR and a 4 TB data drive could be GPT. Nothing needs to change with Windows on the MBR.

Do the instructions still apply if the first drive where the OS is going to reside is a SSD instead of a magnetic hard drive?
The type of the drive doesn't matter. If you want to install Windows on GPT, it takes some work.

Hi FordGT90! I really need help here. I've spent the last two days trying to install Windows 7 Pro onto a new computer with a 4TB HD without success. I've literally tried every method I could find online; including using Fedora/GDisk/GParted! The new PC's motherboard is an Intel WX58BP with the UEFI setting enabled. I have created a UEFI enabled copy of the retail Windows 7 Pro installation disc by following the official guide on Microsoft's website.

I've followed your instructions to the letter, and yet the newly minted special install disc refuses to install the 64-bit version of Windows 7 onto a GPT partition! It says: "Windows cannot be installed to this disk. The selected disk is of the GPT partition style".

Using MBR and losing 2TB of space is simply intolerable! I'm also not interested in Windows 8. Please help! :cry:
Unfortunately, I'm 90% sure no LGA1366 boards support UEFI so it can't boot a GPT volume. You'll have to install the OS on a smaller drive and use the 4 TB as a data drive.
 
Joined
Apr 19, 2009
Messages
1,052 (0.18/day)
Location
Romania
Processor i7-9700
Motherboard Gigabyte Z390 AORUS PRO
Memory 32GB DDR4
Video Card(s) msi 1080
Storage Samsung SSD 850 pro 2TB+1tb hdd 7200rpm+ 1tb 970pro
Software Mageia 6 + Windows 10
Hi FordGT90! I really need help here. I've spent the last two days trying to install Windows 7 Pro onto a new computer with a 4TB HD without success. I've literally tried every method I could find online; including using Fedora/GDisk/GParted! The new PC's motherboard is an Intel WX58BP with the UEFI setting enabled. I have created a UEFI enabled copy of the retail Windows 7 Pro installation disc by following the official guide on Microsoft's website.

I've followed your instructions to the letter, and yet the newly minted special install disc refuses to install the 64-bit version of Windows 7 onto a GPT partition! It says: "Windows cannot be installed to this disk. The selected disk is of the GPT partition style".

Using MBR and losing 2TB of space is simply intolerable! I'm also not interested in Windows 8. Please help! :cry:

So, why do you not make partition size lower than 2TB(with linux live), so you willl have 2 partition on 4TB hdd?
 

radicaltangent

New Member
Joined
Jun 9, 2014
Messages
2 (0.00/day)
Unfortunately, I'm 90% sure no LGA1366 boards support UEFI so it can't boot a GPT volume. You'll have to install the OS on a smaller drive and use the 4 TB as a data drive.
Argh! No matter how careful I am, manufacturers always find a way to screw me over. The official specs for the WX58BP do state support for UEFI, and there is indeed a setting in the BIOS to enable it. But if FordGT is saying that it doesn't really work.... I'm so screwed.:nutkick:
 

FordGT90Concept

"I go fast!1!11!1!"
Joined
Oct 13, 2008
Messages
26,259 (4.47/day)
Location
IA, USA
System Name BY-2021
Processor AMD Ryzen 7 5800X (65w eco profile)
Motherboard MSI B550 Gaming Plus
Cooling Scythe Mugen (rev 5)
Memory 2 x Kingston HyperX DDR4-3200 32 GiB
Video Card(s) AMD Radeon RX 7900 XT
Storage Samsung 980 Pro, Seagate Exos X20 TB 7200 RPM
Display(s) Nixeus NX-EDG274K (3840x2160@144 DP) + Samsung SyncMaster 906BW (1440x900@60 HDMI-DVI)
Case Coolermaster HAF 932 w/ USB 3.0 5.25" bay + USB 3.2 (A+C) 3.5" bay
Audio Device(s) Realtek ALC1150, Micca OriGen+
Power Supply Enermax Platimax 850w
Mouse Nixeus REVEL-X
Keyboard Tesoro Excalibur
Software Windows 10 Home 64-bit
Benchmark Scores Faster than the tortoise; slower than the hare.
ARK
Manual
Downloads

There is a BIOS update that you could try if you haven't already but the manual only makes four references to EFI which gives me the impression it is either limited or not installed. I think it should be able to handle a GPT drive but not booting into it because it isn't full blown EFI.
 
Joined
May 20, 2018
Messages
222 (0.09/day)
Location
Germany
System Name Metal-Tom-PC
Processor AMD Ryzen 5 3600
Motherboard ASUS ROG Crosshair VI Extreme
Cooling Boxed with RGB
Memory Mushkin DDR4 32 GB
Video Card(s) Sapphire Radeon RX580 4GB
Storage 1x M2-SSD @256GB/1x Intenso SATA-SSD @120GB/1x Intenso SATA-SSD @240GB/2x WD10EZRX @1TB/1,5 TB HDD
Display(s) 1x Samsung QE43Q60B (TV)/1x Samsung S27B80P/1x Hanns-G FHD
Case Thermaltake Kandalf LCS
Audio Device(s) Realtek ALC1220A
Power Supply Phanteks Revolt Pro Gold 80+ 1000W
Mouse Logitech M210
Keyboard Logitech MX5500 Revolution
Software Win 11 Pro x64 v24H2
Hi @all!
I know, that here was a long quiet Time ago, but I've got a Question about the old MS Vista for booting on UEFI: Is here anyone able, to set the Timestamp of File "Winload.efi" for current Time?
I've installed this OS on a GPT-Volume, and the Setup stops by the first Boot on this File. ;-( The only single Chance to run the Setup nearby on this "Trap", could be, like I mean, to switch off the secure Boot in BIOS. But I'll try to get the Ability to boot secure with Vista, just in current Time too. Pls help me somebody
 
Top