Jump to content











Photo
* * * * * 1 votes

Install Windows 10 from USB after booting with WIM or VHDX

usb ssd windows 10 wim vhdx win10pe winntsetup bootice portable

  • Please log in to reply
5 replies to this topic

#1 wimb

wimb

    Gold Member

  • Developer
  • 2426 posts
  • Interests:Boot and Install from USB
  •  
    Netherlands

Posted 08 November 2018 - 04:33 PM

Install Windows 10 from USB after booting with WIM or VHDX
 
MediaCreationTool makes USB stick 32 GB for Installing Win10x64 and Win10x86
- Add WIM file for USB boot from RAMDISK - filename = w10x64A.wim
- Add VHDX file to Portable SSD 250 GB for booting with FILEDISK filename = W10x64.vhdx
- Add ISO file used by WinNTSetup for Installing Win10x64 in VHDX or hard disk
Update BCD files in folders boot and efi using reserved BCD copies to add WIM and VHDX to USB Boot Menu
- Or BOOTICE x64 is used to add New WIM or VHD entry to BCD files in boot and efi folders on USB
- Keep BCD files in boot and efi folders as copy for future USB Boot Repair
 
Download  and Add Explorer++ and WinNTSetup and BOOTICE
 
===============================================================================
 
A. Microsoft Method - also needed for New hard disk - via option New the EFI Partition is created
 
1. Download MediaCreationTool
2. Make USB-stick 32 GB for Installing Win10x64 and Win10x86 (choose option both)
3. Boot from USB after beep via F8 menu and choose from menu: Windows 10 Setup (64 bits) to Install
 
Shift F10 gives Command Window for Repair with  bcdedit and bcdboot
Cmd Window run notepad - File Open - All files - R-mouse Run as admin on file WinNTSetup x64 - allows method B.
In WinNTSetup select in USB folder x64\sources file install.wim or install.esd or install.swm and use Setup
 
Update of Windows 10 with preservation of Programs and User Data
- After starting up Windows 10 then setup.exe from USB will allow Update
 

===============================================================================

 
B. WinNTSetup Method - Boot from USB with WIM or VHDX file and use WinNTSetup and ISO file
 
This method gives more control to existing hard disk and you can simply install Windows 10 in VHDX
 
1. Download MediaCreationTool and Create Win10x64.iso for Installing Win10x64
    First create the ISO file on an internal hard disk and then copy the ISO file to USB
2. Boot from USB after beep via F8 menu and with WIM from RAMDISK or with VHDX as FILEDISK
3. Use WinNTSetup x64 and ISO file for Install of Windows 10 x64 in VHDX or hard disk
 
More Info : Forum and WinNTSetup and Boot from USB and VHDX and Native Boot
 

More Info: DiskPart and UEFI/GPT-based hard drive partitions and BIOS/MBR-based hard drive partitions

 

More Info: WinCmd and bcdedit and bcdboot

More Info: bootsect and DiskPart and DISM

 
===============================================================================
 
Attached File  Win10_Inst_Eng.pdf   1.39MB   26 downloads
 
 
 

How to use WinNTSetup with Microsoft USB Boot Media when Win10PE file w10x64A.wim is not available ....

 

Attached File  Media2_VHDX.png   295.6KB   0 downloads == Attached File  Media3_VHDX.png   378.9KB   0 downloads == Attached File  Media4_ShowHidden.png   365.73KB   0 downloads

 

ShowHidden.reg can be used with double click in Explorer++ after booting with Microsoft USB Media

Windows Registry Editor Version 5.00

; Show all hidden files
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"SuperHidden"=dword:00000001
"WebViewBarricade"=dword:00000001
"Hidden"=dword:00000001
"ShowSuperHidden"=dword:00000001

; Show all file extentions
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"HideFileExt"=dword:00000000

Attached File  ShowHidden_reg.txt   824bytes   4 downloads

 

:cheers:


  • devdevadev likes this

#2 wimb

wimb

    Gold Member

  • Developer
  • 2426 posts
  • Interests:Boot and Install from USB
  •  
    Netherlands

Posted 16 November 2018 - 11:11 AM

DiskPart script to make UEFI/GPT-based hard drive partitions for Install of Windows 10
rem ==
rem == CreaPartGPT-SSD-Disk0.txt ==
rem ==
rem == These commands are used in Win10PE with DiskPart to create 3 GPT partitions
rem == for Install of Win10 on a UEFI/GPT-based computer SSD harddisk
rem == In DiskPart use list disk to find disk number and adjust partition sizes and label as necessary.
rem ==
list disk
select disk 0
clean
convert gpt
rem == 1. EFI Boot partition FAT32 300 MB ==========================
create partition efi size=300
format quick fs=fat32 label="0_EFI"
assign
rem == 2. Microsoft Reserved (MSR) partition =======
create partition msr size=16
rem == 3. Windows 10 partition NTFS ========================
create partition primary
format quick fs=ntfs label="0_W10"
assign
list volume
exit
rem ==
rem == Info https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/configure-uefigpt-based-hard-drive-partitions
rem == Info https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/configure-biosmbr-based-hard-drive-partitions
rem ==
rem == In admin command window use: DiskPart /s G:\DiskPart\CreaPartGPT-SSD-Disk0.txt
rem ==
 
DiskPart script to make UEFI/MBR-based portable SSD or USB-harddisk for UEFI / BIOS booting with WIM or VHDX
rem ==
rem == CreaPartMBR-USB-Disk5.txt ==
rem ==
rem == These commands are used with DiskPart to create two partitions
rem == for a UEFI/MBR-based portable SSD or USB-harddisk
rem == In DiskPart use list disk to find disk number and adjust partition sizes and label as necessary
rem ==
list disk
select disk 5
clean
rem == 1. Boot partition FAT32 20 GB - WinPE 8/10 x64 WIM files UEFI /BIOS booting ===========
create partition primary size=20480
format quick fs=fat32 label="U-BOOT"
assign
active
rem == 2. Data partition NTFS - UEFI 8/10 x64 VHD files - BIOS XP/7/8/10 VHD ==================
rem == partition contains also  7/8/10 ISO files for Install with WinNTSetup ==================
create partition primary
format quick fs=ntfs label="U-DATA"
assign
list volume
exit
rem ==
rem == Info https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/configure-uefigpt-based-hard-drive-partitions
rem == Info https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/configure-biosmbr-based-hard-drive-partitions
rem ==
rem == In admin command window use: DiskPart /s G:\DiskPart\CreaPartMBR-USB-Disk5.txt
rem ==

More Info: WinCmd and DiskPart and UEFI/GPT-based hard drive partitions and BIOS/MBR-based hard drive partitions

 

Attached File  CreaPartGPT-SSD-Disk0.txt   1.09KB   5 downloads and Attached File  CreaPartMBR-USB-Disk5.txt   1.14KB   6 downloads

 

:cheers:



#3 Rootman

Rootman

    Frequent Member

  • Advanced user
  • 292 posts
  • Location:USA

Posted 18 November 2018 - 01:19 AM

I use Easy2Boot on various USB drives, thumb and HDDs.  I created a .imgPTN from it using MPI Toolpack.  I use the same drives to install Windows 7 and WIndows 10, as well as boot to a variety of live ISO files, from Linux distros to Macrium Rescue media to several different Win PE ISO files.  

 

I boot to it in legacy mode, select the Windows install .imgPTN file I want, reboot to EFI and then install Windows.  It works great with no editing or changing of any files or boot menu files. 


  • devdevadev likes this

#4 wimb

wimb

    Gold Member

  • Developer
  • 2426 posts
  • Interests:Boot and Install from USB
  •  
    Netherlands

Posted 18 November 2018 - 08:04 AM

VHDX booting from portable SSD has the full power of Windows 10 x64.

That means it has the drivers for all hardware and it allows to use all Windows programs.

 

The Boot Menu for the VHDX is made only once with BOOTICE and reserved copies of BCD files can be used on other devices.

Updating the portable SSD for Install of new versions of Windows requires only to add new Windows setup ISO file.

There is no 4GB size limit for the ISO and you don't need to Integrate the ISO with any Toolpack and there is no need to Switch partitions.

 

The present approach is an easy to make all in one transparent solution for booting fast on any hardware in BIOS or UEFI secure mode

and allows then to Install any version of Windows by using WinNTSetup and any Windows setup ISO file.

 

There is no need to boot first in Legacy mode. With VHDX you can boot straight into UEFI Secure Boot mode.



#5 wimb

wimb

    Gold Member

  • Developer
  • 2426 posts
  • Interests:Boot and Install from USB
  •  
    Netherlands

Posted 03 December 2018 - 09:31 AM

Make Portable SSD booting from USB with AIO Boot Linux
 
Booting with Windows BootManager Menu in BIOS mode and in UEFI Secure mode
 
Description is given in

 

The content of AIOBoot-v0.9.8.17.7z is copied to USB FAT32 Boot drive.

Do not auto install new Bootloader, but keep Windows BootManager as Bootloader.

 

Linux Mint files bootx64.efi and grubx64.efi are used in EFI\BOOT folder for support of UEFI Secure booting.


grubx64.efi expects for UEFI booting grub.cfg in folder boot\grub

The grub folder of AIO is copied  to boot folder made by Microsoft MediaCreationTool.
 

In file Main.cfg of folder boot\grub make new boot entry for UEFI booting of Windows BootManager

menuentry "[b] Windows 10 x64 EFI USB BootManager" --hotkey=b {
  chainloader /efi/microsoft/boot/bootmgfw.efi
} 

BOOTICE is used to add Grub2 entry to boot\bcd Windows BootManager

for BIOS booting support with Boot file \AIO\grub\grub2win

 

AIOCreator.exe is used to Integrate Linux ISO files.

 

In case UEFI Grub2 is not available as Boot option in your F8 Boot Menu for your Portable SSD 
then you need to use BOOTICE to Add UEFI entry.
Unneeded for USB-Stick, but UEFI Grub2 boot entry is easily lost in case of Portable SSD.
Select as UEFI Boot entry on USB the Linux Mint Grub2 file \EFI\Boot\BOOTx64.EFI
 
Attached File  Win10_Inst_Eng.pdf   1.39MB   24 downloads

 

Linux Mint - Knoppix Live - Ubuntu - Porteus - All booting in UEFI Secure mode using Grub2 EFI Manager of Linux Mint.

 

YouTube Video: USB AIO Linux

 

W10_AIO-7.png == W10_AIO-8.png == W10_AIO-9.png == W10_AIO-5.png == W10_AIO-6.png

 

:cheers:



#6 wimb

wimb

    Gold Member

  • Developer
  • 2426 posts
  • Interests:Boot and Install from USB
  •  
    Netherlands

Posted 14 December 2018 - 08:15 AM

How to make USB Drive booting with various Linux versions in BIOS and in UEFI Secure mode
 
1. Make FAT32 USB Drive (Max = 32 GB) booting with Microsoft Boot Manager Menu
    Microsoft Media Creation Tool (Architecture both 32 and 64 bits) Or Other Format Tool can be used
2. Download and Unpack AIOBoot-v0.9.8.17.7z - Don't use Extractor and Don't Overwrite existing Microsoft files
    Unpack and Copy content of folder AIOBoot-v0.9.8.17 to FAT32 USB Drive, but keep existing Microsoft Boot files
3. Use UEFI_MULTI to Add Grub2 EFI Manager of Linux Mint, which fixes AIO Boot for booting in BIOS and UEFI Secure mode
4. On USB run  AIOCreator.exe - Select Integration Linux OS and your Linux ISO linuxmint-19-cinnamon-64bit-v2.iso - preferred
5. Boot from USB after beep via F8 menu in UEFI or in BIOS mode with Grub2 menu and Select your Linux OS
 
- AIO Boot is supported in BIOS mode by adding Grub4dos and Grub2 entry to Boot Manager Menu
- AIO Boot is supported in UEFI Secure mode by booting with Grub2 EFI Manager of Linux Mint
- Update Grub4dos to version grub4dos-0.4.6a-2018-09-19 for booting in BIOS mode
 
:cheers:
 
UEFI_MULTI-86 has been improved so that the extraction of Linux ISO by AIO Boot is not needed anymore.
We can simply add various Linux ISO files to folder images on USB.
 
- Add VHDX to Boot Manager Menu for BIOS and UEFI Secure booting with Windows 10 x64 VHDX as FILEDISK
- Add WIM to Boot Manager Menu for BIOS and UEFI Secure booting with Windows 10 x64 WIM from RAMDISK
- Add Grub2 of Linux Mint to boot various Linux ISO files in BIOS and UEFI Secure mode
- Linux ISO files are supported when copied to folder images on USB
- Grub4dos entries are present in menu.lst for booting in BIOS mode various Linux ISO files
- Grub2 entries are present in grub.cfg for booting in UEFI Secure mode various Linux ISO files
=
Download : UEFI_MULTI-86.zip   -  password for UEFI_MULTI-86.zip is bootwimb86
 
How to make USB Drive booting with various Linux ISO versions in BIOS and in UEFI Secure mode
 
1. Make FAT32 USB Drive (Max = 32 GB) booting with Microsoft Boot Manager Menu
    Microsoft Media Creation Tool (Architecture both 32 and 64 bits) Or Other Format Tool can be used
2. Use UEFI_MULTI to Add Grub4dos for booting in BIOS mode and Grub2 EFI Manager of Linux Mint for booting in UEFI Secure mode
3. In USB folder images Add your Linux ISO file - preferred is linuxmint-19-cinnamon-64bit-v2.iso
4. Boot from USB after beep via F8 menu in BIOS mode with  Grub4dos menu Or in UEFI Secure mode with Grub2 menu and Select your Linux OS
 
In case UEFI Grub2 is not available as Boot option in your F8 Boot Menu for your Portable SSD 
then you need to use BOOTICE to Add UEFI entry.
Unneeded for USB-Stick, but UEFI Grub2 boot entry is easily lost in case of Portable SSD.
Select as UEFI Boot entry on USB the Linux Mint Grub2 file \EFI\Boot\BOOTx64.EFI
 
Attached File  Win10_Inst_Eng.pdf   1.39MB   24 downloads

 

More Info - Linux Mint - Knoppix Live - Ubuntu - Porteus - All booting in UEFI Secure mode using Grub2 EFI Manager of Linux Mint
 
More Info :   - UEFI_MULTI-86
 
 
:cheers:




Also tagged with one or more of these keywords: usb, ssd, windows 10, wim, vhdx, win10pe, winntsetup, bootice, portable

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users