Jump to content

UEFI Windows 7 Installer - Diskpart?

Go to solution Solved by BestPCBuilder2017,

I think I found a better solution that doesn't involve 3rd parties. 

https://dhodgin.wordpress.com/2012/10/02/creating-a-uefibios-windows-7-usb-and-installing-to-gpt-partitions/

So, I'm just wondering if it's possible to create a UEFI bootable Windows 7 installer using the Diskpart commands in Command Prompt for Windows. I know the default Microsoft GUI tool for creating the USB bootable installers has issues, so I figure this might be an alternative other than Rufus. Just wondering if it's possible to create one using only Diskpart and then something like copying and pasting the files over from the Windows 7 installer disc or using the ISO file or something like that. 

 

 

Link to comment
https://linustechtips.com/topic/775403-uefi-windows-7-installer-diskpart/
Share on other sites

Link to post
Share on other sites

3 hours ago, NumLock21 said:

The original win7 disc already support UEFI

Right, but for doing it for a USB. Let's say you want to install it from a USB for another computer that doesn't have an optical drive... etc... 

 

 

Link to post
Share on other sites

Just now, NCIX Lampy said:

Right, but for doing it for a USB. Let's say you want to installer it from a USB for another computer that doesn't have an optical drive... etc... 

It shouldn't matter. You're supposed to be using a tool to properly write an ISO image to a USB drive anyway... which DiskPart doesn't do.

Link to post
Share on other sites

Just now, NCIX Lampy said:

Right, but for doing it for a USB. Let's say you want to installer it from a USB for another computer that doesn't have an optical drive... etc... 

Yes with diskpart you can create a uefi bootable win7 usb drive. But the steps that takes to create one... just use Rufus.

 

 

 

 

Link to post
Share on other sites

3 hours ago, M.Yurizaki said:

It shouldn't matter. You're supposed to be using a tool to properly write an ISO image to a USB drive anyway... which DiskPart doesn't do.

I mean to format the USB in such a way that you can copy and paste the files over from the installer disc to the USB and the USB would boot into the UEFI Windows 7 installer and install UEFI Windows 7. Something like that. Not sure if you can do it with an ISO, but I figure I'd mention it. 

 

 

Link to post
Share on other sites

3 hours ago, M.Yurizaki said:

 

3 hours ago, NCIX Lampy said:

So, I'm just wondering if it's possible to create a UEFI bootable Windows 7 installer using the Diskpart commands in Command Prompt for Windows. I know the default Microsoft GUI tool for creating the USB bootable installers has issues, so I figure this might be an alternative other than Rufus. Just wondering if it's possible to create one using only Diskpart and then something like copying and pasting the files over from the Windows 7 installer disc or using the ISO file or something like that. 

 

 

 

Link to post
Share on other sites

6 minutes ago, M.Yurizaki said:

Alright, I found something you can use, just replace Windows 10 with Windows 7: https://davidzych.com/install-windows-10-from-a-usb-flash-drive/

That is just basic USB not UEFI.

His user name might be the reason.

 

 

 

 

 

Link to post
Share on other sites

Just now, NumLock21 said:

That is just basic USB not UEFI.

His user name might be the reason.

I'm most likely incorrect with this but the only thing you need for UEFI booting is some files in a specific directory. UEFI doesn't care about the boot sector. To quote Wiki

 

Quote

Unlike BIOS, UEFI does not rely on a boot sector, defining instead a boot manager as part of the UEFI specification. When a computer is powered on, the boot manager checks the boot configuration and based on its settings, loads into memory and then executes the specified OS loader or operating system kernel. The boot configuration is defined by variables stored in NVRAM, including variables that indicate the file system paths to OS loaders and OS kernels.

 

OS loaders can be automatically detected by UEFI, which enables easy booting from removable devices such as USB flash drives. This automated detection relies on standardized file paths to the OS loader, with the path varying depending on the computer architecture. The format of the file path is defined as <EFI_SYSTEM_PARTITION>/BOOT/BOOT<MACHINE_TYPE_SHORT_NAME>.EFI; for example, the file path to the OS loader on an x86-64 system is /efi/BOOT/BOOTX64.EFI.[23] and efi\boot\bootaa64.efi on ARM64 architecture.

 

Link to post
Share on other sites

2 minutes ago, M.Yurizaki said:

I'm most likely incorrect with this but the only thing you need for UEFI booting is some files in a specific directory. UEFI doesn't care about the boot sector. To quote Wiki

That tutorial you just posted will not boot from UEFI. I've done it plenty of times. The only way to get UEFI boot is by creating it with Rufus or the manual method on the link I've provided.

There is a difference between UEFI boot on the bios and UEFI boot for your OS. The tutorial is to create a UEFI bootable USB flash drive.

 

 

 

Link to post
Share on other sites

3 hours ago, NumLock21 said:

I'll give it a shot, thank you. 

 

 

Link to post
Share on other sites

3 hours ago, M.Yurizaki said:

Alright, I found something you can use, just replace Windows 10 with Windows 7: https://davidzych.com/install-windows-10-from-a-usb-flash-drive/

Could you not post misleading/irrelevant material. 

 

 

Link to post
Share on other sites

3 hours ago, NumLock21 said:

Is there a way to do it without the need of using 7-ZIp?

 

 

Link to post
Share on other sites

22 hours ago, NCIX Lampy said:

I think I found a better solution that doesn't involve 3rd parties. 

https://dhodgin.wordpress.com/2012/10/02/creating-a-uefibios-windows-7-usb-and-installing-to-gpt-partitions/

That's not even the best solution. It requires a spared system with a UEFI installed OS just to grab that file. That defeats the purpose of even creating a UEFI bootable USB.

 

 

 

Link to post
Share on other sites

3 hours ago, NumLock21 said:

That's not even the best solution. It requires a spared system with a UEFI installed OS just to grab that file. That defeats the purpose of even creating a UEFI bootable USB.

If you have a spare on hand, or if it's a tone time grab of the file, then it's fine. 

 

 

Link to post
Share on other sites

5 minutes ago, NCIX Lampy said:

If you have a spare on hand, or if it's a tone time grab of the file, then it's fine. 

Well not everyone will have a spare UEFI build on hand.

*wants to create UEFI bootable flash drive*

*Needs that uefi boot file, says to grab from another computer that already has a UEFI OS*

*do not have a spare machine or one with UEFI OS installed*

*builds a spare machine or format original then install UEFI OS from Windows DVD*

*Grabs the uefi boot file required to make that uefi USB bootdrive*

 

Installs UEFI OS from DVD onto 2nd machine. Then what is the point of wasting time making a USB version? Just grab a external DVD and install from DVD disc onto the first PC.

That step to grab file from another computer is retarded. One possible way without any third party tools is through WAIK, Windows Automated Installation kit. Then use ImageX to mount wim, and then grab that file.

 

 

 

 

 

 

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×