How to build UEFI emergency boot disk

  
Now many pre-installed Win8 books are started in UEFI+GPT mode. Due to the change of boot mode, our original boot CD and U disk cannot be started on the new computer. What should we do if these computers encounter a startup failure? As the saying goes: Be prepared. Let's build the UEFI emergency boot disk together. Locally, use UEFI boot command line UEFI boot is different from traditional BIOS boot. It does not need active primary partition. We only need to put the boot file in a FAT format primary partition, UEFI will automatically read the boot file and load the system. And UEFI also supports command line to configure startup. So if your computer has a boot failure, we can try to repair it using UEFIshell that comes with the motherboard. First confirm that your motherboard integrates UEFI's own Shell mode. Generally, press F2 to enter Shell mode when booting. When the prompt appears, the shell appears to enter the efi shell environment (see Figure 1). At this point we can try to manually load the boot file using the command line. The general UEFI boot partition is the FAT partition at the front end of the hard disk. So first we have to find the partition where the startup file is stored, and then enter the following commands (the comments are followed by parentheses, see Figure 2): Fs0: (ufeshell uses fs:x to indicate the drive, serial number starts from 0) ls (view the file structure to ensure There is EFI directory, if not, then re-select other fs drives) cd EFI\\Boot (enter boot directory, view boot file) BOOTX64.efi (run uefi executable directly) so that even if UEFI startup error, we can still manually load The method of starting the file is booted. Tip: If your motherboard does not have integrated shell mode, you can prepare a USB flash drive, insert a computer and start a command prompt. When prompted, type “bcdboot c:\\windows /s U: /f UEFI”, make U disk UEFI Start the disk, and then download the shell file to the U disk at http://download.csdn.net/detail/guifp2012/4785048, so that the UFI can be used after the U disk is booted. Network large subsidy: common UEFI shell command introduction http://smilejay.com/2011/05/efi_efi-shell/qiao borrowing external force, build UEFI boot PE disk The above method is only used when the startup configuration error occurs, if the startup file is lost , or the boot partition error, we can not repair in the UEFIshell environment. In order to avoid this, we can make a support for UEFI boot U disk PE. Let's take the example of making a 64-bit Win8 bootable USB flash drive. First make sure that the U disk file format is FAT32 format, if not, format it in Fat32 format in Windows Explorer. Then prepare the 64-bit Win8 installation file, open it with UltraISO, then expand the sources directory and delete the install.wim file in the right pane (see Figure 3). Tip: Delete the install.wim file Here we just use the win8 installation file to make the UEFI boot disk. To delete the install.wim file, in order to reduce the size of the PE, if you want to make an installation disk that supports UEFI boot, use the installation file directly. Once you have finished deleting the file, click on “File - Save As" to save it on your desktop for backup. Then go to http://www.uqidong.com/download/to download <;U Start”. After starting the program, switch to "ISO mode (support UEFI startup)", then Tina and "Browse", select the above edited ISO file, and finally click "One button to create a boot U disk" (see Figure 4) ). In the pop-up window, the disk drive selects the inserted USB flash drive, other settings default, click “ write & rdquo;, so the program will automatically write the required file to the boot USB flash drive (see Figure 5). After completing the above operation, if we want to use UEFI mode to start, press F12 after reboot, and then select the device like “UEFI: USB USB Hard Drive” in the pop-up option to launch the device menu. After selecting, we can select from U. The disk is booted (see Figure 6). After successfully booting from UEFI and entering the PE system, you can now repair the startup of the original computer. For example, if the original computer is a fault caused by the startup file loss, we only need to enter the following command at the PE command prompt: D:\\windows\\system32\\bcdboot d:\\windows /s L: /f UEFI (assuming the original computer C drive is here) The symbol is D:, the drive letter displayed by the UEFI boot partition on the PE is L:) When the screen prompts “Successfully create the boot file”, the repair is completed, and bcdboot will automatically copy the UEFI boot file to the specified partition (see Figure 7). . This article comes from [System Home] www.xp85.com
Copyright © Windows knowledge All Rights Reserved