Link to home
Start Free TrialLog in
Avatar of dmitrij75
dmitrij75Flag for Russian Federation

asked on

How to prepare an internal IDE/SATA drive for installing of Windows 7,8 on UEFI and BIOS computers?

I have the instruction to setup Windows from USB external stick or drive:
------------------------------------------------------------------------------------------------------------------
Your USB drive must be bootable, and be formatted with a FAT32 File system. The UEFI is unable to identify a USB drive formatted with NTFS as a UEFI boot device.
Make a bootable USB device for UEFI and GPT:

    Open the Start Menu, type diskpart, press Enter
    Type lis dis, press Enter
    Type sel dis X (where X is the number your USB drive shows up as), press Enter
    Type cle, press Enter
    Type cre par pri, press Enter
    Type act, press Enter
    Type for quick fs=fat32, press Enter
    Type ass, press Enter
    Type exi, press Enter
    Copy everything from the Windows 7 installation DVD onto the USB key (a simple drag and drop will do; if you have an .iso extract first).

Your USB drive must also contain the directory and file: \EFI\Boot\BOOTX64.EFI. This is the EFI installation bootloader extension.
If you do not have this directory, or file on your USB drive, fear not. This is how you create it.
First, create a new directory called Boot inside the \EFI directory
You will then need to copy all of the files from the \EFI\microsoft\boot directory, up one level into the directory you just created (\EFI\Boot).
Next, use 7-Zip to open the archive located at: *:\sources\boot.wim (* is the drive letter of your USB key that holds the Windows 7 installation files)
Inside the archive, find the file located in folder "1" \Windows\Boot\EFI\bootmgfw.efi.
Copy this file to *:\EFI\Boot\ location you created earlier. (Not in 7-zip) (This file is also available from any current windows 7 installation). It is located in the C:\Windows\Boot\EFI directory.
After copying the file to the EFI\Boot directory, rename the file in *:\EFI\Boot\bootmgfw.efi toBOOTX64.EFI. You should now have an EFI bootloader directory for Windows called *:\EFI\Boot\, with all of the files copied from the EFI\microsoft\Boot. Directory, and the newly named BOOTX64.EFI
Your install media (DVD/USB) must be inserted into your PC prior to powering it up. This will allow your UEFI to register your device (DVD drive/USB drive) as a UEFI boot enabled device.
------------------------------------------------------------------------------------------------------------------

Could that instruction be applied to an internal IDE/SATA drive to install from it ?
If not, what should be changed/added in the guide above?
Avatar of Christopher Martinez
Christopher Martinez
Flag of United States of America image

To narrow down what your trying to do here just so there is no confusion...
what you want to do is turn a internal SATA drive into a bootable install media for windows 7?  Are you turning this drive into a external drive via a usb harness or are you wanting to duel boot this drive with another internal drive to install from?
Avatar of dmitrij75

ASKER

I need to boot from internal HDD into Windows PE to initiate the setup to install Windows on another HDD or partition, or just call up the utilities I need. In other words, to be able to boot from ISO (original or modified), that should be copied to internal HDD and prepared properly to boot from this media instead of USB stick/external drive. And that it was bootable as well on UEFI-PC's.
Avatar of nobus
why not just boot from DVD???  that seems the easiest to me.

here a guide, on how to do that :  http://pcsupport.about.com/od/windows-8/a/open-advanced-startup-options-windows-8.htm
No sir!
DVD's, USB sticks/drives are not fitting for me, as I don't have any of them and not going to buy ones!
I have many of HDD inside PC case and wish to use them, instead of crappy DVD's that was thrown away a couple of years ago. Besides I have many PC'S with BIOS that's not supporting to boot from USB devices. I am not going to install the OS in VM's as well. So I need only the stuff I am asking for!!!
ASKER CERTIFIED SOLUTION
Avatar of Christopher Martinez
Christopher Martinez
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial