Creating a flash drive for installing windows 7 uefi. Flash drive for booting in UEFI mode: components

In order for a UEFI system to boot from a USB flash drive, it must be formatted in the FAT32 file system. The official Microsoft utility for creating bootable flash drives, windows 7 USB/DVD download tool, formats the drive as a file NTFS system, accordingly, a system with UEFI in native mode will not boot from such media.

Let's try to prepare a USB flash drive ourselves and upload it to it windows distribution 7. What we need:

  • USB (v2 or v3) flash drive with a capacity of at least 4 GB
  • 64-bit Windows 7 distribution (32-bit versions of Microsoft OS will not boot on a UEFI system). The distribution package can be in the form of an installation kit DVD disc or ISO file with image

The procedure for creating an installation USB flash drive with windows7 for a UEFI system:

After completing all the described manipulations, you will have a USB flash drive in your hands, from which you can install Windows 7 on a UEFI system in native mode. More details about the process windows installations 7 on a system with UEFI and we will look at all the pitfalls in the next article.

winitpro.ru

How to make a bootable Windows USB flash drive or UEFI disk

On computers that have a new UEFI interface instead of the usual BIOS, it is advisable to install windows in EFI mode to improve performance operating system. To install windows in EFI mode, you will need an image of the 64-bit operating system windows 7 SP1 or later. At the same time system disk on which windows will be installed in EFI mode, must be partitioned not in the usual MBR form, but converted to GPT format. This is done in the 64-bit version windows utility Diskpart.

Option 1. Create a USB flash drive to install windows in EFI mode.

1) Create bootable usb drive(flash drive) for installing windows 7.

The bootable USB flash drive must be formatted in file system FAT32 to be recognized as boot device The UEFI USB flash drive must be at least 4 GB in size. To create a Windows 7 flash drive in EFI mode, you cannot use the Microsoft program - windows 7 USB/DVD Download Tool. This utility formats the installation flash drive in NTFS and UEFI does not recognize it.

We connect the USB flash drive to the USB port. - In the Start menu, enter cmd.exe in the search bar and click right click mouse on the found object. In the opened context menu select Run as administrator. - Enter the commands one by one. After entering each of them, press the Enter key ↵.

here - # is the number of the USB drive obtained in the previous command. Next commands will completely clear everything on the selected disk.

clean create partition primary select partition 1 active format fs=FAT32 assign exit

Unpacking the image installation disk(ISO file) and copy all the data from it completely onto the flash drive.

Note: To create boot disk can be used UltraISO program, which immediately creates an installation flash drive formatted in the FAT32 file system.

2) On the flash drive, open the *:\efi folder (here * is the letter of the flash drive with the Windows 7 installation files). 3) Create a new one inside this folder named boot. (*:\efi\boot). 4) Copy all the contents of the *:\efi\microsoft\boot folder to the *:\efi\boot folder. 5) Using an archiver (for example, 7-zip) open the file *:\sources\boot.wim or *:\sources\install.wim. 6) Go to the folder *:\sources\boot.wim\1\windows\Boot\EFI\ in the archive. 7) Copy the bootmgfw.efi file from the archive to the flash drive, to the folder *:\efi\boot you created. 8) Now you need to rename the copied file bootmgfw.efi (*:\efi\boot\bootmgfw.efi) to bootx64.efi (*:\efi\boot\bootx64.efi)

Ready! Now the *:\efi\boot\ folder should contain all the contents copied from the *:\efi\microsoft\boot folder and the bootx64.efi file obtained from boot.wim or install.wim. Note: For some motherboards, you will additionally need to copy the bootx64.efi file to the root of the flash drive, either with the same file name or with the name shellx64.efi.

Option 2. Create a DVD for installing windows in EFI mode.

1) Download the archive from Microsoft program CD/DVD Premastering Utility and unpack it to any folder. 2) Copy the oscdimg.exe file to the C:\windows\System32 folder. 3) Unpack the installation disk image (ISO file) into a temporary folder. 4) In the Start menu, enter cmd.exe in the search bar, and right-click on the found object. In the context menu that opens, select Run as administrator. 5) Enter the command to create an ISO image file of the installation disk:

oscdimg -lWin_7_x64_UEFI -m -o -u1 -pEF -e -bD:\Win_7_x64\efi\microsoft\boot\efisys.bin D:\Win_7_x64 D:\Win_7_x64_UEFI.iso

where the following parameters are used: -l - Sets the volume label. Don't use spaces. -m - Ignores the limit maximum size image. -o - Optimizes storage using the MD5 hashing algorithm for file comparison. -u1 - Creates an image that has both a UDF file system and an ISO 9660 file system. The ISO 9660 file system is written using DOS-compatible 8.3 file names. The UDF file system is written using Unicode file names. -p - Specifies a value for the platform ID in the El Torito directory. The EF identifier is used to represent a UEFI system. Don't use spaces. -e - Disables floppy emulation in the El Torito directory. -b - Specifies the El Torito boot sector file to be written to boot sector or disk sectors. Don't use spaces. D:\Win_7_x64 – Indicates the location source files. D:\Win_7_x64_UEFI.iso – Specifies the path to the created ISO file.

6) Press the Enter key ↵. 7) Write the created image to a disc using the UltraISO utility.

Features of installing windows in EFI mode.

If you have overclocked any of your components, it is better to restore the settings to standard values. - In UEFI/BIOS you need to set the AHCI value for SATA mode and enable ACPI 2.0 if disabled. - If booting from the device does not occur, then in UEFI/BIOS install the flash drive first in the boot queue. - If you have both USB 3.0 and USB 2.0 ports, then for successful installation it is recommended to connect a flash drive to the USB 3.0 port. USB flash drives 2.0 can also be connected to USB port 3.0. Copy the drivers for your flash drive USB port 3.0.

1) Connect the flash drive to the USB connector and restart the computer. 2) When the computer boots, press the key to call up the Boot Menu. Depending on the manufacturer motherboard- this is F8, F11 or F12. 3) In the list of devices, select “UEFI:[name of your device]“.

When installing on a blank, unpartitioned disk, go straight to step seven. When installing on a disk with existing partitions and using the old MBR rather than GPT, do the following:

4) After loading into the installation windows screen press the combination ⇑ Shift + F10.

5) Enter the commands one by one, pressing the Enter ↵ key after entering each of them.

diskpart list disk select disk #

Here # is the number hard drive, on which windows will be installed. It will be the result of the previous command. Next, enter the commands for complete cleaning of the entire selected disk:

clean convert GPT exit

6) Close the command window and continue installing windows. 7) Download the drivers for the USB 3.0 port if you connected a flash drive to it. 8) In the window for selecting a disk for installing Windows, select the Unallocated disk space item and click the Create button. After this, 3 partitions will be automatically created (EFI System Partition (ESP), Microsoft Backup Partition (MSR) and Primary windows partition.) 9) Select the main partition and continue installing windows in EFI mode, like a normal installation.

Note: If the installation is successful and the system does not boot, then in UEFI/BIOS install “windows Boot Manager” first in the boot queue.

set-os.ru

How to create a bootable UEFI USB flash drive

Good day.

On new computers and laptops, many users are faced with the inability to boot from installation flash drive with windows 7, 8. The reason for this is simple - the emergence of UEFI.

UEFI is new interface, designed to replace the outdated BIOS (and incidentally protect the OS from malicious boot viruses). To boot from the “old installation” flash drive, you need to go into the BIOS: then switch UEFI to Legacy and turn off Security Boot mode. In this same article I want to consider the issue of creating a “new” bootable UEFI flash drive...

Step by step creation bootable UEFI flash drive

What you need:

  1. directly the flash drive itself (minimum 4 GB);
  2. ISO installation image with Windows 7 or 8 OS (the image needs to be original and 64 bits);
  3. free utility Rufus (Official website: http://rufus.akeo.ie/ If anything, then Rufus is one of the simplest, most convenient and quick programs to create any bootable flash drives);
  4. if the Rufus utility does not suit you in some way, I recommend WinSetupFromUSB (Official website: http://www.winsetupfromusb.com/downloads/)

Let's consider creating a UEFI flash drive in both programs.

1) After downloading Rufus, just run it (no installation required). Important point: You need to run Rufus as an administrator. To do this, in Explorer, simply right-click on the executable file and select this option from the context menu.


Rice. 1. Run Rufus as administrator

  1. device: specify the flash drive you want to make bootable;
  2. partition scheme and system interface type: here you need to select “GPT for computers with a UEFI interface”;
  3. file system: select FAT32 (NTFS is not supported!);
  4. then select the ISO image you want to burn to the USB flash drive (remember, if it’s Windows 7/8 at 64 bits);
  5. Check three boxes: quick formatting, creating a boot disk, creating an extended label and icon.

After making the settings, click the "Start" button and wait until all the files are copied to the flash drive (on average, the operation lasts 5-10 minutes).

Important! All files on the flash drive will be deleted during such an operation! Don't forget to save all important documents from it in advance.

Rice. 2. Setting up Rufus

1) First you launch WinSetupFromUSB utility with administrator rights.

2) Then set the following settings (see Fig. 3):

  1. select the flash drive on which you will burn the ISO image;
  2. check the box "Auto format it with FBinst", then check a few more boxes with the following settings: FAT32, align, Copy BPB;
  3. Windows Vista, 7, 8...: specify the installation ISO image from windows (64 bits);
  4. and lastly, press the GO button.

Rice. 3.WinSetupFromUSB 1.5

Then the program will warn you that all data on the flash drive will be deleted and will ask you to agree again.

Rice. 4. Continue deleting..?

After a few minutes (if there are no problems with the flash drive or ISO image), you will see a window with a message about the completion of the work (see Fig. 5).

Rice. 5. The flash drive is written / work is done

By the way, WinSetupFromUSB sometimes behaves “strangely”: it seems that it is frozen, because... there are no changes at the bottom of the window (where the information bar is located). It actually works - don't close it! On average, creation time bootable flash drive- 5-10 min. It is better not to run other programs at all while WinSetupFromUSB is running, especially various types of games, video editors, etc.

That’s all, actually, the flash drive is ready and you can proceed to the next operation: installing windows (with UEFI support), but this is the topic of the next post...

Social buttons:

pcpro100.info

Creating a bootable UEFI USB flash drive for Windows

Almost everything modern computers and laptops do not come with old system BIOS, already with the new one - UEFI. Unlike its predecessor, it is more “smart” and intellectual. It is very easy to determine what you are using. Firstly, if your computer came with Windows 8 or 8.1 pre-installed and when you turn it on, the operating system starts immediately, rather than the usual BIOS polling of controllers and a system test - this is UEFI. Same thing if installed SSD drive and the operating room is used windows system 8 or 8.1. Although it is worth noting that the presence of this new product does not deny the possibility of installing older systems as in normal mode, and in compatibility mode - legacy. In this post, I will talk about three simple ways to create a bootable UEFI USB flash drive to install Windows 7 or Windows 8 on a computer or laptop.

The first and easiest way is to copy the installation files

For now, this can only be done with Windows 8.1, with Windows 10, which has not yet been officially released, and on latest versions Ubuntu and ArchLinux. The procedure is as follows: Download the operating system distribution in ISO format.

Unpack it to any folder on the disk using an archiver. 7zip works great with ISO images:

We format the flash drive to the FAT32 file system. To do this, go to “My Computer”, right-click on the USB drive:

Select the file system and click on the “Start” button. After that, it goes to the folder with the unpacked Windows image and simply copy everything that was unpacked directly to the flash drive:

The trick is that installers of new operating systems are already optimized for UEFI. All that remains is to boot from it and check its functionality.

Method two - using the Diskpart utility

This option is used to install Windows 7 on a computer or laptop with UEFI. The first step is to run command line windows. To do this, press the Win+R key combination and in the “Run” window that opens, enter the command: “cmd”:

Click the OK button. Now launches a utility utility for working with partitions on the command line:

A list of disks available in the system with numbers will open: select disk《Disk_number》 I think it is clear that at this step you need to indicate the number of the USB drive obtained from the list. For example, select disk 2, as in my case. Let's clean it completely:

Create a section:

create partition primary

Select it:

select partition 1

Making the section active:

Format to FAT32:

We assign it a letter automatically:

But that's not all. On the USB flash drive, find the efi\microsoft\boot folder and copy it all to the efi folder. As a result, the efi\boot directory should appear. Now you need to find the file: bootmgfw.efi. To do this, you need to unpack it with a 7zip archiver or WinRar archive sources\boot.wim. The file you are looking for will be located in the sources\boot.wim\1\windows\Boot\EFI\ folder.

Copy the bootmgfw.efi file to the efi\boot folder, and then rename it bootx64.efi. Ready. We made a bootable UEFI USB flash drive with Windows 7.

Method three - using special programs

Some programs for creating bootable flash drives can do this for UEFI. One of these is the free Rufus utility. Install and run the program:

Set the partition scheme and system interface type: - “GPT for computers with a UEFI interface” if you are using a GPT partition. - “MBR for computers with UEFI interface” if using compatibility mode (Legacy mode) and the MBR partition table. Next, we set the file system to FAT32, feed the program the operating system image and start the recording process installation files to a USB drive by pressing the “Start” button.

After about 10 minutes you will have a ready-made installation flash drive.

Good day.

On new computers and laptops, many users are faced with the impossibility of booting from an installation flash drive with Windows 7, 8. The reason for this is simple - the advent of UEFI.

UEFI is a new interface designed to replace the outdated BIOS (and incidentally protect the OS from malicious boot viruses). To boot from the “old installation” flash drive, you need to go into the BIOS: then switch UEFI to Legacy and turn off Security Boot mode. In this same article I want to consider the issue of creating a “new” bootable UEFI flash drive...

Step-by-step creation of a bootable UEFI flash drive

What you need:

  1. directly the flash drive itself (minimum 4 GB);
  2. installation ISO image with Windows 7 or 8 OS (the image is needed original and 64 bits);
  3. free utility Rufus (Official website: http://rufus.akeo.ie/ If anything, Rufus is one of the simplest, most convenient and fastest programs for creating any bootable flash drives);
  4. if the Rufus utility does not suit you in some way, I recommend WinSetupFromUSB (Official website: http://www.winsetupfromusb.com/downloads/)

Let's consider creating a UEFI flash drive in both programs.

RUFUS

1) After downloading Rufus, just run it (no installation required). Important point: you need to run Rufus under administrator. To do this, in Explorer, simply right-click on the executable file and select this option from the context menu.

  1. device: specify the flash drive you want to make bootable;
  2. partition scheme and system interface type: here you need to select “GPT for computers with a UEFI interface”;
  3. file system: select FAT32 (NTFS is not supported!);
  4. then select the ISO image that you want to burn to the USB flash drive (remember, if it’s Windows 7/8 at 64 bits);
  5. tick three boxes: Quick format, create bootable disk, create extended label and icon.

After making the settings, click the “Start” button and wait until all the files are copied to the flash drive (on average, the operation lasts 5-10 minutes).

Important! All files on the flash drive will be deleted during such an operation! Don't forget to save all important documents from it in advance.

Rice. 2. Setting up Rufus

WinSetupFromUSB

1) First run the utility WinSetupFromUSB With administrator rights.

2) Then set the following settings (see Fig. 3):

  1. select the flash drive on which you will write the ISO image;
  2. check the box “Auto format it with FBinst“, then check a few more boxes with the following settings: FAT32, align, Copy BPB;
  3. Windows Vista, 7, 8...: specify the installation ISO image with Windows (64 bits);
  4. and lastly, press the GO button.

Then the program will warn you that all data on the flash drive will be deleted and will ask you to agree again.

Rice. 4. Continue deleting..?

After a few minutes (if there are no problems with the flash drive or ISO image), you will see a window with a message about the completion of the work (see Fig. 5).

Rice. 5. The flash drive is written / work is done

By the way, WinSetupFromUSB sometimes it behaves “strangely”: it seems that it is frozen, because... there are no changes at the bottom of the window (where the information bar is located). It actually works - don't close it! On average, the time to create a bootable flash drive is 5-10 minutes. Better in general during work WinSetupFromUSB do not run other programs, especially various types of games, video editors, etc.

That’s all, actually, the flash drive is ready and you can proceed to the next operation: installing Windows (with UEFI support), but this topic...

More and more devices are starting to be released not with BIOS, but with uefi. Therefore, many users are thinking about how to make a bootable drive for this option. This article will tell you how to create a bootable flash drive for such firmware. These methods are suitable for versions from Windows 7 and newer, however, they must have x64 bit depth; for 32-bit, this method will not work. To boot from such a drive, on the device itself in the firmware you need disable protected launch(Secure Boot) and enable Compatibility Support Module. All this is in one place, in the same place where the order of devices to launch is selected.

Creating a UEFi flash drive using system tools

All actions can be performed without resorting to third party applications. To do this, you should launch the command line with administrator rights, this can be done through Start. After this, you should enter the following operators: diskpart and then list disk.

This list will show all drives connected to the computer. The user needs to find the one he is going to make bootable and remember its number. In the future, this number will be designated by the letter N. After this, you need to enter into the console the following operators:

These teams will allow completely clean the disk, create and format a partition, and also mark it as active and assign a letter to it.

Copying Windows files to a USB flash drive

After these steps, you will need to move all system files to new drive. You need to transfer not the image, but the unpacked files; how to do this will be written below.

If you have Windows 7 on your computer

In this case everything is simple. Must be completely unpacked Windows image and move all files to the flash drive. You can also use one of the utilities that can read images, open the OS through it and copy files from there.

After this, you need to move the directory efi\Microsoft\boot, to the very first folder of this path - efi.

Then you should extract the file sources\install.wim. In the unpacked directories you should follow the path 1\Windows\Boot\EFI\bootmgfw.efi, and copy the last file.

It should be renamed to bootx64.efi, after which it should be moved to the bootable media in the folder efi/boot.

If you are creating a UEFI USB drive on a computer running Windows 10, Windows 8, or 8.1

In this case, everything is much simpler. First, you should right-click on the disk image and select “ Connect" After that, you should open the mounted image and select all the data. After that, right-click again and send it to the drive.

This completes the creation of the flash drive.

Creating a bootable UEFI USB flash drive in Rufus

This is a free utility that will help you create the desired drive. The application should be downloaded from the official website and launched; it does not require installation.

In the second point you need to select interface and partition scheme. In the section " Create boot image ", you should specify the path to the system image. The remaining settings can be left standard or set to those that the user considers necessary.

Have you already gotten a bit late on the blog? But what can you do if there are several simple and very convenient ways do it. We need to give the reader a choice.

And if we take into account the fact that quite often laptops are now used without disk drives, then you can’t escape this question. Do you agree? Therefore, let's finish off the section about creating a bootable Windows flash drives 7 in UltraISO. Not you know What kind of beast is this (UltraISO)? Yes, this is such a free program.

For the sake of words, it is worth noting that the solution described in this article is perfect for creating bootable media not only seven, but also Win 10. There is also UEFI support. Therefore, I personally really like this arrangement.

So let's begin. The first step is to download an application called Ultra ISO and install on your computer. The process is quite simple, there is not much to say. We take it and put it on. Then we launch it and Windows 7. In our case there will be a 64-bit version:

And here we smoothly move on to almost the last step. Namely, we follow the path “Hard disk image”:

And in the window that opens, set the following options:

  • Disk Drive: specify a flash drive for copying files.
  • Recording method: select USB-HDD+.
  • Don't forget to click the "Record" button.

Naturally, you need to understand that formatting the drive will erase all the information on it. Well, that’s basically it, friends, the creation of a bootable Windows 7 USB flash drive in UltraISO has come to an end.

Again, I repeat that you can also record Windows using this method without any problems. Everything is done by analogy. As they say, exactly- V- exactly.

The only disadvantage of this approach is the inability to add anything to such a medium. Or rather, this can be done, but you will need to manually edit the ISO image in the program and the boot menu files.

Therefore, write your thoughts and questions in the comments to the article, I always read them and answer them if possible. I will also be glad to receive constructive criticism and business suggestions. Now, bye everyone and let's watch an entertaining video.

Where was described the method of creating a multiboot flash drive with a set useful utilities, various systems, etc. And everything would be fine, but here the dog is buried - let's pay attention to this comment thread, which discusses the functionality of multiboot in systems with UEFI. So I started my own investigation to look for universal method solutions to this problem.

I didn’t have to go far - since the times of insane popularity Windows builds XP Zver Edition, its developers used a set of utilities called RMPrepUSB to write the assembly to a USB drive. The assembly has faded from people’s memory, but the utility package project itself continues to develop and grow stronger. Well, the basis itself is the Easy2Boot project. While studying their website, I found a universal way to create a multiboot flash drive that can contain any distribution, LiveCD or floppy disk images that you want to add. So, let's start creating such a miracle flash drive.

What does it all look like?

A working example - I threw different images onto the drive, the structure is as follows:
  • _ISO\LINUX\linuxmint-17-xfce-dvd-64bit.iso
  • _ISO\WIN\ru-en_win7_sp1_x86-x64_18in1_activated_v2.imgPTN
  • _ISO\WIN\Boot_USB_Sergei_Strelec_2014_v.6.9.imgPTN
  • _ISO\WIN\ru_windows_8_1_pro_vl_x86_dvd_LITE_3.iso

Screenshots

Main menu of the flash drive


Linux submenu


Submenu with regular ISO images Windows


Submenu with images for UEFI


When loading an image for UEFI, we will be asked if we really want to overwrite the table with a flash drive partition? Press Enter


And this is what the bootloader of any image for UEFI looks like. Instructions for returning to the main menu are below.



We boot into the BIOS, select the desired UEFI image, switch UEFI back and get a flash drive with one partition containing the files of this image. Accordingly, if this image supports booting into UEFI, it will appear in the list of devices from which you can boot.

Attention! If you booted from images prepared for UEFI, then you will notice that the next time you boot from the drive there will be a boot menu from that same image. Where are all the ones we put on the flash drive? And the files on the flash drive are not the same... There are two options - select the top item from the bootloader EASY2BOOT or in the OS run the script from a flash drive e2b\RestoreE2B (run as admin).cmd.

Bottom line

There are some drawbacks here too - you have to switch to the BIOS in order to connect the desired image. But functionality this set The utility covers all conceivable and inconceivable needs for a multiboot flash drive.
Share