Jump to content

Install from USB After Booting with WIM or VHD


wimb

Recommended Posts

  • 4 months later...

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

Windows PE 3.0 ISO Boot Image With PStart Menu for Portable Programs

Universal PE Booting from RAMDISK for Rescue and Install of XP or Windows 7

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

Making Windows PE 3.0 ISO using AIK for Windows 7

Requirements

  • The Windows Automated Installation Kit (AIK) for Windows 7
  • WLAN HotFix file Windows6.1-KB972831-x86.cab
  • Installed Windows 7 to supply files to improve Windows PE 3.0
  • Program Make_PE3.cmd to make in 2 min your pe3.iso Boot Image in folder C:\winpe3_x86

Step 1. The Windows Automated Installation Kit (AIK) for Windows 7

Download KB3AIK_EN.iso from HERE

Use ImgBurn or Nero to Burn the ISO Image on DVD

Install Windows AIK according to:

  • In case of Windows 7 Set User Account Control Off or use R-mouse Menu to Run as Administrator
  • Run STARTCD.EXE from the AIK DVD
  • In case of XP as OS - Install .NET Framework 2.0
  • In case of XP as OS - Install MSXML 6.0
  • Install Windows AIK

Download WLAN HotFix from http://support.microsoft.com/kb/972831

Extract the HotFix to get file Windows6.1-KB972831-x86.cab

Copy your HotFix file to folder WinPE_OCs made in Windows AIK\Tools\PETools\x86 folder.

C:\Program Files\Windows AIK\Tools\PETools\x86\WinPE_OCs\Windows6.1-KB972831-x86.cab

Step 2. Get Program Make_PE3.cmd to make pe3.iso

Download - Make-PE3 - mirror

Run the SFX SelfExtractor Make_PE3.exe and use Extract to the Root of your Workstation Harddisk.

The folder Make_PE3\PE3_mod contains file WIN7_Files.txt and 4 folders:

  • PE3_add - Add your extra non-driver files in subfolder x86 structured as in Windows PE 3.0
  • PE3_reg - x86 subfolder contains 3 predefined Registry files with Windows 7 settings to improve the Registry of Windows PE 3.0
  • WIN7_add - Files needed from Installed Windows 7 are collected by the program in subfolder x86
  • WIN7_drivers - Add your Driver files e.g. for WLAN in folder x86 (recurse scanning allows subfolders with driver files)

The actual filelist used by the program to get files is the generated WIN7_add_files.txt copy in folder WIN7_add\x86

In case of 64-bits Operating System then everywhere folder amd64 is used instead of x86 so that 64-bits can have its own list of files.

For 64-bits Operating System you have to make similar registry files from your own Windows 7 Registry.

Step 3. Run Make_PE3.cmd as Administrator to Create Windows PE 3.0 ISO

pe3.iso of about 155 MB has been created in 2 minutes in folder C:\winpe3_x86

Working Directory Folder C:\winpe3_x86 is Created if it does not exist.

File winpe.wim remains unchanged and is copied as file boot.wim to folder C:\winpe3_x86\ISO\sources

The boot.wim file is mounted by imagex.exe in folder C:\winpe3_x86\mount

Files from WIN7_add\x86 and PE3_add\x86 are added to mount by xcopy.exe, Packages and Drivers are added by Dism.exe

The PE3 SYSTEM and SOFTWARE Registry files are improved with Windows 7 Settings using reg import

Then imagex.exe will Unmount and Commit changes in boot.wim

And finally oscdimg.exe will create the pe3.iso file in folder C:\winpe3_x86

Folders WIN7_add\x86 and AIK_Tools are generated and stay ready for future use.

WARNING:

In Windows 7 OS not using as Administrator results in Errors,

because using imagex.exe reg.exe and dism.exe is Not allowed by User Account Control.

If you made this mistake, you need before the next run to empty folder C:\winpe3_x86\mount

Step 4. Install pe3.iso as GRUB4DOS boot option on HDD or USB

Use BOOT_IMG.exe to Install pe3.iso of about 155 MB as GRUB4DOS boot option on HDD or USB

Copy folder PStart or U_XP_SET to Root of HDD or USB drive to provide PStart Menu for portable programs.

Download ppApps_Base!.exe from amalux for a nice collection of Portable Programs.

http://amalux.winbuilder.net/index.php?dir=Portable%2F

Add additional Portable Programs to folder Progs in folder PStart.

Use PStart > Edit > Add file to modify PStart Menu.

GRUB4DOS menu.lst entry

title Boot pe3.iso - ISO
find --set-root --ignore-floppies /pe3.iso
map /pe3.iso (0xff)
map --hook
root (0xff)
chainloader (0xff)/BOOTMGR

Step 5. Reboot with pe3.iso from GRUB4DOS Menu on HDD or USB

Boot with 155 MB pe3.iso in 30 sec from HDD or in 4 min from USB-stick.

Use MultiRes from PStart PE3 System Menu to adjust the Screen Resolution to 1024 x 768 pixels

Using ImDisk Install allows to use mounting e.g. XP Setup ISO in a in a Virtual Drive

If desired, Run CmdHere to add Command Prompt Hereto the R-mouse context menu.

Step 6. Install of XP or Windows 7 AFTER booting with pe3.iso

  • If your XP Setup Source is an ISO file, then first install ImDisk driver so that you can mount the ISO in a virtual drive.
  • Use PStart > Edit > Add file to select imdiskinst.exe from U_XP_SET\USB_XP_Setup\makebt folder and Run to install ImDisk driver.
  • Then Launch Notepad from cmd window or from PStart Menu.
  • In Notepad Select File > Open to get the FileSelector which can be used as File Browser for All Files.
  • Then with R-mouse on the ISO file you can use the ImDisk context menu to mount the ISO in a Virtual Drive.

If your Setup Source is a folder on HDD or USB or a CD/DVD drive then you don't need to use ImDisk.

Launch USB_XP_Setup.exe from PStart Menu to prepare your Target drive for Install of XP.

Info USB_XP_Setup.exe of U_XP_SET package http://www.911cd.net/forums//index.php?showtopic=21883

Launch NT6.X fast installer from PStart Menu to prepare your Target drive for Install of Windows 7.

Info NT6.X fast installer of fujianabc http://www.boot-land.net/forums/index.php?showtopic=10126

Mounting XPSETUP.ISO in ImDisk Virtual Drive

=

PE3_IMDK.png

=

Windows PE 3.0 with PStart Menu for Portable Programs and having Browse for Folder Support

=

PE3_GUI.png

=

User Interface of Make_PE3.cmd Batch Program

=

PE3_MAKE.png

=

Windows PE 3.0 with Wireless Internet and PStart Menu for Portable Programs

=

PE3_USB.png

=

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

Edited by wimb
Link to comment
Share on other sites

Some more Info on booting with Windows PE 3.0 ISO from RAMDISK X:

  • If your XP Setup Source is an ISO file, then first install ImDisk driver so that you can mount the ISO in a virtual drive.
  • Use PStart > Edit > Add file to select imdiskinst.exe from U_XP_SET\USB_XP_Setup\makebt folder and Run to install ImDisk driver.
  • Then Launch Notepad from cmd window or from PStart Menu.
  • In Notepad Select File > Open to get the FileSelector which can be used as File Browser for All Files.
  • Then with R-mouse on the ISO file you can use the ImDisk context menu to mount the ISO in a Virtual Drive.

See previous post

Edited by wimb
Link to comment
Share on other sites

  • 1 month later...

Update of Make_PE3 package to Create Windows PE 3.0 + GUI ISO Boot Image

Some more Windows 7 files are added to Windows PE 3.0 for Support of e.g. Date and Time and Region and Language.

Parts of the Windows 7 registry are collected in folder WIN7_reg as raw material to make the PE3-SYSTEM and PE3-SOFTWARE reg files.

Windows PE 3.0 + GUI (and Win7PE and Win7RescuePE) can after boot further be improved by Install of PnP Hardware.

HWPnP of paraglider was found to be very useful and added to support Install of PnP Hardware

http://www.paraglidernc.com/plugins/hwpnp.htm

Running HWPnP to Install All Hardware followed by Scan for Hardware Changes in Device Manager will Install almost all PnP Hardware.

Only HD Audio and VGA remain visible as Devices which need driver update.

Download - Make-PE3 - mirror

Guide with More Info:

http://www.911cd.net/forums//index.php?showtopic=21883&st=35

=

Windows PE 3.0 + GUI - After Boot Install of Hardware is needed

=

PE3_HW1.png

=

=

After Install All Hardware with HWPnP and Scan for Hardware Changes

=

PE3_HW2.png

=

Edited by wimb
Link to comment
Share on other sites

  • 1 year later...

-

Install of XP or Windows 7 from USB After Booting with 7 PE and

by using WinNTSetup2_x86.exe and Setup ISO file in Virtual drive

0. Use BOOT_USB.exe to prepare USB or HDD drive for booting with Grub4dos Menu and using 7 PE Boot Image file

- Info BOOT_USB - http://www.911cd.net/forums//index.php?showtopic=24424

- Info Make_PE3 - http://www.911cd.net/forums//index.php?showtopic=23931

1. Boot from USB or HDD with 7 PE loaded in RAMDISK - use Grub4dos Boot Menu and 7pe_x86_E.iso Boot Image file

2. Use R-mouse to Mount Windows Setup ISO in ImDisk virtual drive

3. Quick Format TargetDrive - use NTFS FileSystem

4. Run WinNTSetup2_x86.exe and prepare Target drive for Install of XP or Windows 7

- Thanks to JFX -

5. Reboot from Target Drive and Install XP or Windows 7

Instead of 7 PE you can use any other way of booting that allows you to Format and prepare your Target Drive.

You might decide e.g. to boot with Portable Windows XP IMG or with Windows 7 VHD from USB

In any case you can use WinNTSetup2_x86.exe to prepare your Target drive for Install of XP or Windows 7

See Tutorial file XP-W7-Setup.txt in IMG_XP\Help_Info folder

Info IMG_XP - http://www.911cd.net/forums//index.php?showtopic=23553

Download - End of Support

Edited by wimb
End of Support
Link to comment
Share on other sites

  • 3 years later...

After the introduction of Windows 8 in september 2012, then new computers with Windows 8 or 10 are characterized 
by having a GPT partitioned harddisk booting in UEFI secure mode through efi folder on hidden FAT32 boot drive.
XP is not compatible with GPT partitioning and is not compatible with UEFI boot mode and XP drivers can be incompatible with modern hardware.
XP has no access to GPT partitions and Win7 has access (read/write) to GPT partitions, 
but Win7 VHD's can NOT boot when located on GPT partitions and Win7 is not compatible with UEFI boot mode.
Win7 VHD's can boot in BIOS mode (= CSM mode), when located on NTFS partition of MBR parttitioned harddisk.

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

Install of Windows 10 from USB by using Media Creation Tool

Download Media Creation Tool and use it to make USB-stick bootable in UEFI mode with Setup for Win10_x64.

https://www.microsoft.com/en-us/software-download/windows10

After booting from USB-stick you can Install Windows 10 x64. 
In case of UEFI then Install of Windows 10 requires on most hardware a GPT partioned harddisk e.g. as partioned by Setup in Unused space. 
This procedure is the standard for Install of Windows 10 x64 on Unpartioned harddisk and creates efi + windows partition for booting in UEFI mode.

For reformatting a harddisk to GPT style see https://technet.microsoft.com/nl-nl/library/dn336946.aspx 
From inside Windows Setup, press Shift+F10 to open a command prompt window. 
In DiskPart it allows to list disk and select disk and to use commands clean and convert gpt

After Install of Windows 10
Use portable RegistryBackup and create a schedule so that you always have a recent backup of all your registry settings.
It is best to have your user data (Documents, Pictures) located on a separate partition, so that you can Restore your System without loosing Data.
Use SyncBackFree to backup your data and make such backup on USB-harddisk so that you can keep it offline.
Use AOMEI Backupper to make a System Backup that includes EFI + Windows partition, so that you can Restore the System after booting with Win10PE.
Use ProduKey-x64 online Or in Win10PE use WinNTSetup x64 program menu Offline to Save your Product Keys from Windows.
You need the Product Key to Activate Windows when you add an SSD and do a fresh install of Windows 10 on the new SSD.
Use BOOTICEx64 to make a Backup of MBR/PBR BootSectors and of your PartitionTable, needed to repair your Harddisk in case of attack. 

PowerShell can be used to remove unwanted modern Apps in Windows 10. 
http://www.askvg.com/guide-how-to-remove-all-built-in-apps-in-windows-10/ 
The command shell:appsfolder presents a window with icons for all apps, so that you can make e.g. a desktop shortcut for Microsoft Edge browser.

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

More Info on Partitioning Harddisk

UEFI/GPT-based hard drive partitions are made by running in an admin command window a DiskPart script 
see here https://msdn.microsoft.com/en-us/library/windows/hardware/dn898510(v=vs.85).aspx 
and here https://technet.microsoft.com/en-us/library/hh825686.aspx 
https://en.wikipedia.org/wiki/GUID_Partition_Table

Windows Disk Management and e.g. AOMEI Partition Assistant can NOT be used to create efi GPT partition and in that case Setup of Windows 10 will fail. 
DiskPart is really needed to make efi partition having the proper Partition type GUID, as made e.g. by the code given below.

rem ==
rem == CreaPartGPT-SSD-Disk0.txt ==
rem ==
rem == These commands are used in Win10PE with DiskPart to create two GPT partitions
rem == for Install of Win10 x64 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 FAT 32 3000 MB =========================
rem == partition size is sufficient to hold EFI Boot files and Win10PE Boot Image file w10x64.wim 
create partition efi size=3000
format quick fs=fat32 label="SSD_EFI"
assign
rem == 2. Windows 10 x64 partition NTFS ========================
create partition primary
format quick fs=ntfs label="SSD_W10"
assign
list volume
exit
rem ==
rem == Info https://msdn.microsoft.com/en-us/library/windows/hardware/dn898510(v=vs.85).aspx
rem == Info https://technet.microsoft.com/en-us/library/hh825686.aspx
rem ==
rem == In admin command window use: DiskPart /s G:\CreaPartGPT-SSD-Disk0.txt
rem ==

==

BIOS/MBR-based hard drive partitions are made by running in an admin command window a DiskPart script 
see here https://msdn.microsoft.com/en-us/library/windows/hardware/dn898504(v=vs.85).aspx 
and here https://technet.microsoft.com/en-us/library/hh825677.aspx

On some hardware Install of Win10 x64 is possible for UEFI booting on a MBR partioned harddisk with FAT32 Boot Drive and NTFS Installation partition. 
For UEFI booting a FAT32 Boot Drive is required, which can be an internal efi partition, but it can also be a FAT32 USB-stick as prepared by UFD_FORMAT.exe

MBR-FAT32 booting of USB-Stick with WinPE WIM files and of portable USB-harddisk with WinPE WIM and VHD files is always possible in UEFI and BIOS mode. 
An example is the Media Creation Tool of Microsoft that creates  MBR-FAT32 USB-stick for Install or Repair of UEFI or BIOS computer.

How to prepare UEFI/MBR portable USB-harddisk that can be used by UEFI_MULTI.exe for booting WIM and VHD files in UEFI or BIOS mode
http://reboot.pro/topic/18182-uefi-multi-make-multi-boot-usb-drive/#entry168079

rem ==
rem == CreaPartMBR-Disk5.txt ==
rem ==
rem == These commands are used with DiskPart to create three partitions
rem == for a UEFI/MBR-based portable USB-harddisk that can be used by UEFI_MULTI.exe.
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. EFI Boot partition FAT32 20 GB - WinPE 8/10 x64 WIM files UEFI /BIOS booting ========
create partition primary size=20000
format quick fs=fat32 label="U-BOOT"
assign
active
rem == 2. Windows partition NTFS 100 GB - UEFI 8/10 x64 VHD files - BIOS XP/7/8/10 VHD ========
create partition primary size=100000
format quick fs=ntfs label="U-SYSTEM"
assign
rem == 3. Data partition NTFS - 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://msdn.microsoft.com/en-us/library/windows/hardware/dn898504(v=vs.85).aspx
rem == Info https://technet.microsoft.com/en-us/library/hh825677.aspx
rem ==
rem == In admin command window use: DiskPart /s G:\CreaPartMBR-Disk5.txt
rem ==

Win7 VHD's can NOT boot when located on GPT partitions and Win7 is not compatible with UEFI boot mode.
Win7 VHD's can boot in BIOS mode (= CSM mode), when located on NTFS partition of MBR parttitioned harddisk.

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

In case of existing GPT partioned harddisk having FAT32 EFI Boot Drive and NTFS Installation Drive,
then WinNTSetup can be used in WinPE environment to prepare the Boot and Installation Drives for Install of Windows 10 x64 as described below.
 
Install of Windows 7/8/10 from USB by using WinNTSetup in WinPE environment 
is described here http://www.msfn.org/board/topic/149612-winntsetup-v386/

1 - UFD_FORMAT.exe and UEFI_MULTI.exe can be used to make USB-Stick bootable with Win10PE and Win8.1SE wim files. 
http://reboot.pro/topic/18182-uefi-multi-make-multi-boot-usb-drive/#entry168079 
2 - Download Media Creation Tool and use it to make Win10_x64 ISO file that can be used for fresh install of Windows 10. 
https://www.microsoft.com/en-us/software-download/windows10 
3 - After booting with WinPE from USB, then use WinNTSetup_x64.exe and Win10_x64 ISO file 
to prepare NTFS partition of internal harddisk selected as Installation drive for Install of Windows 10 x64. 
Use R-mouse to mount Win10x64 Setup ISO file as virtual DVD-drive and then select (again) install.esd or install.wim in folder sources. 
Select your (hidden) internal FAT32 drive Z: as UEFI Boot Drive or select your FAT32 USB-Stick as UEFI Boot Drive. 
4. After reboot then in Setup of Windows 10 use Skip when Product Key is asked for. 
You don't need a key since Microsoft recognizes legal hardware for install of Windows 10 x64 and will auto activate.
Install on new hardware e.g. after adding SSD, requires to fill in Product Key for activation of Windows 10.

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

Win10PE is here http://theoven.org/index.php?topic=1336.0

My Settings (used for making Win10PE and similar for Win8.1SE)

Download
Win10PE_SE_2016-04-08.zip from http://theoven.org/index.php?topic=1336.0
Download Win10_1511_2_English_x64.iso from https://www.microsoft.com/en-us/software-download/techbench
After mounting ISO as ImDisk then Copy content of CD-drive to HD folder W10_1511_2_x64 (used in builder as Source dir)
You need once to use Utils > WimExtract to extract the wim files from sources in HD folder W10_1511_2_x64
 
In WinBuilder Add and Change Settings as follows:
Build CdDrive - X: - Y: Select Run ALL programs from RAM so that everything is in the wim file used for booting from USB

Added
Components - MSVisual C++
From Yomi/AppY/HD Tasks in http://yomi.cwcodes.net/  use R-mouse to Save as 3 extra winbuilder scripts for
\Projects\Win10PESE\Apps\HD Tasks\Imaging\AOMEI_Backupper_Professional.Script
\Projects\Win10PESE\Apps\HD Tasks\Partition\AOMEI_Partition_Assistant_Professional.script
\Projects\Win10PESE\Apps\Supplementary\Graphics\FS_Capture_KYHI.Script
Apps Portable - Portable Search PStart - Uncheck Load at Startup (since launching manually is preferred)
Apps System Tools Windows Setup - WinNTSetup3 - Use my WinNTSetup files and add latest version

In Workbench generated files:
\Workbench\Common\Aomei Backupper\ABPro.exe
\Workbench\Common\Aomei Partition Assistant\PAssist_Pro.exe
\Workbench\Common\WinNTSetup3\Files
Use Apps > System Tools > Windows Setup > WinNTSetup > Open Folder and then Add Downloaded Files and Run once WinNTSetup_x64.exe

 
W10PE_2016-06-25_090357.png
 

UFD_FORMAT.exe and UEFI_MULTI.exe can be used to make FAT32 USB-Stick or MBR-FAT32 drive bootable with 10PE and 8.1SE wim files.

http://reboot.pro/topic/18182-uefi-multi-make-multi-boot-usb-drive/#entry168079

For BootMenuPolicy we use setting Legacy and for WinPE WIM we need LoadOptionsString with value DISABLE_INTEGRITY_CHECKS
 
In AOMEI Backupper Professional it is needed for UEFI booting of GPT-disks  to use a Full System Backup and System Restore,
so that EFI + Windows partition can be Restored together, since Restore of only Windows partition C will give EFI Boot failure.
BOOTICE professional mode can be used to repair such boot failure by changing in EFI BCD the <UnknownDevice> BootPart to Windows Drive C:
 
============================================================================================

Win8.1SE is here http://theoven.org/index.php?topic=774.0

It is very good and allows also to use TeamViewer

w81x64TV.png == w81x64TVC.png

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

UFD_FORMAT.exe and UEFI_MULTI.exe can be used to make USB-Stick bootable with 10PE and 8.1SE wim files.

http://reboot.pro/topic/18182-uefi-multi-make-multi-boot-usb-drive/#entry168079

To download a package of all NirSoft utilities (Updated every week), go to this Web page.

Use ProduKey-x64 online Or in Win10PE use WinNTSetup x64 program menu Offline to Save your Product Keys from Windows.
You need the Product Key to Activate Windows when you add an SSD and do a fresh install of Windows 10 on the new SSD. 

After booting with Win8.1SE x64 or Win10PE x64, 
then one can use WinNTSetup_x64.exe to read the Product Keys and to Reset Password of the selected Offline Windows User Account.

After booting from USB with WinPE then in WinNTSetup use upper left program menu and select Offline Windows.

PasswordReset2016-02-11_105012.png

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

XP can be used on some UEFI computers by booting in BIOS mode with grub4dos from FAT32 USB-stick 
and using XP installed on NTFS partition or in VHD located on NTFS partition of second internal MBR patitioned harddisk. 
WARNING: XP drivers can be incompatible with recent hardware and then give BSOD

Install of XP in VHD on NTFS partition of internal MBR harddisk and booting with Grub4dos from FAT32 USB-stick
 
First Prepare XP Setup ISO file with integrated DriverPacks as described in How to prepare XP Setup Source ?
and Copy XP Setup ISO file to the root of NTFS drive of internal MBR-harddisk of your computer.
 
More Info see VHD_XP_Setup - Install XP in VHD - http://reboot.pro/topic/18547-vhd-xp-setup-install-xp-in-vhd/
 
Procedure for Install of XP in VHD
0. Download and Run VHD_XP_Setup.exe and Extract to simple path on internal Harddisk - gives folder VHD_XP_Setup
In Win 7/8/10 OS Set User Account Control Off and Reboot
1. Use imdiskinst.exe to Install ImDisk driver (if not present already)
- Imdisk is used to mount VHD and HDD Image files in a virtual drive
2. First use UFD_FORMAT.exe to make FAT32 USB-Stick bootable with Grub4dos Menu and that can be used as Target Boot Drive
- Then Run VHD_XP_Create.exe to create XPSRC1.vhd on NTFS partition of MBR harddisk and to make Grub4dos Boot Menu on FAT32 USB-Stick for Install of XP in VHD
- Select FAT32 USB-stick as Boot Drive and NTFS partition of MBR harddisk as System Drive and select XP Setup ISO file located in root of MBR NTFS Harddisk Drive
3. Reboot and in Grub4dos menu select Start XP Setup on XPSRC1.vhd - WinVBlock driver
- After booting (blue) then in Partition Selection menu of XP Setup, you must scroll down and select Drive C: [XPSRC1-VHD] as drive for Install of XP
- XPSRC1.vhd has already NTFS compressed format, so you should NOT format at Setup, just keep settings
- Format XPSRC1.img inside XP Setup cannot be used, it results in corrupt message
4. After Reboot select Continue XP Setup and then Reboot to Start XP from Image XPSRC1.vhd

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

Install of XP on NTFS partition of internal MBR harddisk and booting with Grub4dos from FAT32 USB-stick
 
1. Use UFD_FORMAT and UEFI_MULTI.exe to create FAT32 USB-stick bootable with WinPE from Bootmanager Menu
2. After booting with WinPE from USB then use WinNTSetup to Install XP on NTFS partition of internal MBR harddisk
In WinNTSetup use R-mouse to select XP ISO file and select as Boot Drive and as Installation Drive the same NTFS partition of MBR harddisk
3. After booting (3x) in BIOS-mode from USB-stick, first in Bootmanager Menu select Grub4dos,
and then in Grub4dos Menu select find and load NTLDR of Windows NT/2K/XP
 
 
In UEFI_MULTI don't Add XP to Bootmgr Menu, since this will add the real ntldr to your FAT32 USB boot drive,
whereas you want to find ntldr (= renamed setupldr.bin) for install of XP located on NTFS partition of internal MBR harddisk.
 
GPT_MBR_2016-02-13_085925.png == XP_2016-02-14_084752.png
Edited by wimb
Link to comment
Share on other sites

  • 1 month later...

After the introduction of Windows 8 in september 2012, then new computers with Windows 8 or 10 are characterized 
by having a GPT partitioned harddisk booting in UEFI secure mode through efi folder on hidden FAT32 boot drive.

In case of UEFI then Install of Windows 10 requires on most hardware a GPT partioned harddisk
e.g. as partioned by Setup in Unused space when USB-stick is used as made by Media Creation Tool.
https://www.microsoft.com/en-us/software-download/windows10
This procedure is the standard for Install of Windows 10 x64 on Unpartioned harddisk and creates GPT efi + windows partition for booting in UEFI mode.

In case of existing GPT partioned harddisk having FAT32 EFI Boot Drive and NTFS Installation Drive,
then WinNTSetup can be used in WinPE environment to prepare the Boot and Installation Drives for Install of Windows 10 x64 as described here.

Windows Disk Management and e.g. AOMEI Partition Assistant can NOT be used to create efi GPT partition and in that case Setup of Windows 10 will fail.
DiskPart is really needed to make efi partition having the proper Partition type GUID.

UEFI booting of a MBR partioned harddisk for Win10 x64 installed to partition is possible only on some hardware.
In that case it is possible to Install Windows 10 x64 on MBR harddisk with FAT32 Boot Drive and NTFS Installation partition.

MBR-FAT32 USB-Stick with WinPE WIM files can always boot in UEFI and BIOS mode and GPT is NOT needed.
MBR portable SSD or USB-harddisk with WinPE WIM on FAT32 and VHD files on NTFS partition can always boot in UEFI and BIOS mode and GPT is NOT needed.

UFD_FORMAT.exe and UEFI_MULTI.exe are used to prepare such drives http://reboot.pro/topic/18182-uefi-multi-make-multi-boot-usb-drive/#entry168079

Another example is the Media Creation Tool of Microsoft that creates MBR-FAT32 USB-stick for Install or Repair of UEFI or BIOS computer.
https://www.microsoft.com/en-us/software-download/windows10

ESD-USB-2016-03-05_105533.png

How to prepare UEFI/MBR portable USB-harddisk that can be used by UEFI_MULTI.exe for booting WIM and VHD files in UEFI or BIOS mode

rem ==
rem == CreaPartMBR-Disk5.txt ==
rem ==
rem == These commands are used with DiskPart to create three partitions
rem == for a UEFI/MBR-based portable USB-harddisk that can be used by UEFI_MULTI.exe.
rem == Adjust disk number and partition sizes and label as necessary.
rem ==
select disk 5
clean
rem == 1. EFI Boot partition FAT32 20 GB - WinPE 8/10 x64 WIM files UEFI /BIOS booting ========
create partition primary size=20000
format quick fs=fat32 label="U-BOOT"
assign
active
rem == 2. Windows partition NTFS 100 GB - UEFI 8/10 x64 VHD files - BIOS XP/7/8/10 VHD ========
create partition primary size=100000
format quick fs=ntfs label="U-SYSTEM"
assign
rem == 3. Data partition NTFS - 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://msdn.microsoft.com/en-us/library/windows/hardware/dn898504(v=vs.85).aspx
rem == Info https://technet.microsoft.com/en-us/library/hh825677.aspx
rem ==
rem == In admin command window use: DiskPart /s G:\CreaPartMBR-Disk5.txt
rem ==


More Info on UEFI_MULTI.exe is here http://reboot.pro/topic/18182-uefi-multi-make-multi-boot-usb-drive/#entry168079

BIOS mode booting is NOT compatible with GPT partitioning.
For BIOS mode booting the Boot folder must be located on FAT32 (or NTFS) partition of MBR partitioned harddisk or USB-stick.

XP and Win7 are not compatible with GPT partitioning and are not compatible with UEFI boot mode.
XP has no access to GPT partitions and Win7 has access (read/write) to GPT partitions.

Win7 VHD's can NOT boot when located on GPT partitions and Win7 is not compatible with UEFI boot mode.
XP and Win7 VHD's can boot in BIOS mode (= CSM mode), when located on NTFS partition of MBR partitioned harddisk.

Preparing W10x64P.vhd in WinNTSetup
W10-VHD-2016-03-05_121334.png

  UEFI booting W10x64P.vhd from MBR USB
W10-VHD-2016-03-05_124625.png

  MultiBoot Portable USB-harddisk with WinPE WIM and VHD
W10-VHD-2016-03-05_131223.png
 

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

Edited by wimb
Link to comment
Share on other sites

  • 2 months later...

PXE wimboot of Win10PE Or Win8.1SE boot.wim from Network

http://reboot.pro/topic/19015-boot-mini-windows-vhd-from-network-via-ipxe/page-2#entry182393

File wimboot.ipxe in Tiny PXE Server for PXE wimboot of Win10PE Or Win8.1SE boot.wim file

#!ipxe
set boot-url http://${dhcp-server}
kernel ${boot-url}/wimboot
initrd ${boot-url}/bootmgr.exe                  bootmgr.exe
initrd ${boot-url}/Boot/bcd                     bcd
initrd ${boot-url}/Boot/fonts/segmono_boot.ttf  segmono_boot.ttf
initrd ${boot-url}/Boot/fonts/segoe_slboot.ttf  segoe_slboot.ttf
initrd ${boot-url}/Boot/fonts/segoen_slboot.ttf segoen_slboot.ttf
initrd ${boot-url}/Boot/fonts/wgl4_boot.ttf     wgl4_boot.ttf
initrd ${boot-url}/Boot/boot.sdi                boot.sdi
initrd ${boot-url}/sources/boot.wim             boot.wim
imgstat
boot

How to make Win10PE x64 boot.wim file is described here.

Download Tiny PXE Server

I copied folders Boot and sources from Win10PE_SE_2016-04-08\ISO\TargetImage\WIM folder to pxesrv\files folder 
and added file bootmgr.exe and file wimboot.ipxe to pxesrv\files folder.

F12 hotkey can be used for PXE boot when LAN PXE Boot ROM is enabled in BIOS
F8 hotkey can be used to select PXE boot in BIOS Boot Menu.

After booting with Win10PE from Network you can use WinNTSetup with Win10 ISO file for Install of Windows 10.

In WinNTSetup use R-mouse to mount Win10x64 Setup ISO file as virtual DVD-drive and then select (again) install.esd or install.wim in folder sources.
Select your (hidden) internal FAT32 drive Z: as UEFI Boot Drive or select your FAT32 USB-Stick as UEFI Boot Drive.

                               PXE Server                                                      ==>                  Win10PE x64 Client

PXE-Server-2016-05-30_080411.png ==> PXE-W10PE-2016-05-28_083027.png

Edited by wimb
Link to comment
Share on other sites

  • wimb unlocked and locked this topic
  • 4 months later...
  • 1 year later...

Install Windows 10 from USB after booting with WIM or VHD

- MediaCreationTool makes USB stick 32 GB for Installing Win10x64 and Win10x86
- Add WIM file for USB boot from RAMDISK - filename = w10x64A.wim
- Add VHD file to Portable SSD 250 GB for booting with FILEDISK filename = W10x64.vhd
- Add ISO file used by WinNTSetup for Installing Win10x64 in VHD or hard disk
- Update BCD files in folders boot and efi using reserved BCD copies, to add WIM and VHD 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 boot repair

Download  and Add Explorer++ and WinNTSetup and BOOTICE

  PE  RAMDISK   and   FILEDISK 50 GB VHD Win10 x64

Win10XPE-2019-11-25_102142.thumb.png.4ead58dfb24b6ef99ce8dece81f58f7a.png  WinToGo-2019-12-11_141811.thumb.png.ed7c455da14217ed04e4fc4ab2d412a7.png

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

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 Boot menu: Windows 10 Setup (64 bits) to Install

Booting in BIOS mode makes that Setup refuses to Install on GPT partition, which is mostly occurring nowadays

Shift F10 gives Command Window for Repair with  bcdedit and bcdboot and bootsect and DiskPart and DISM

Cmd Window run notepad - File Open - All files - R-mouse Run as admin WinNTSetup x64 for 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 VHD file and use WinNTSetup and ISO file

This method gives more control to existing hard disk and you can simply install Windows 10 in VHD

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 VHD as FILEDISK
3. Use WinNTSetup x64 and ISO file for Install of Windows 10 x64 in VHD or hard disk

In BIOS and UEFI mode you can use WinNTSetup for Install of Windows 10 x64 on GPT partition.

More Info : Forum and WinNTSetup and Boot from USB and VHD and Native Boot

More Info: WinCmd and bcdedit and bcdboot and bootsect and DiskPart and DISM

===============================================================================
Attachment: 

YouTube Video Make VHD and Make USB Win10 and Make USSD Win10 and USB AIO Linux and UEFI_MULTI-Demo

More Info: Install Windows 10 from USB after booting with WIM or VHD at Reboot.pro Forum

How to use WinNTSetup in Microsoft USB Media

Media2_VHDX.thumb.png.0a4e8ad5d483faa795857ae59aff5f32.png    Media3_VHDX.thumb.png.bd34d10041404c6b2cdacff8db2923fd.png

 

How to use Explorer++ and Show Hidden Files in Microsoft USB Media

Media4_ShowHidden.thumb.png.5a5d2fffacd4452c5988ac09ab2ddfba.png

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

Attachment:  ShowHidden_reg.txt

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 booting with WIM or VHD

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

Attachment:  CreaPartGPT-SSD-Disk0.txt and CreaPartMBR-USB-Disk5.txt

VHD 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 VHD 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 Windows setup ISO file.

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

Edited by wimb
Link to comment
Share on other sites

  • 2 weeks later...

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 Win10_Inst_Eng.pdf

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


UEFI_Grub2.png.89efefc23053b306eaacf308089c68cb.png


Linux Mint and Knoppix Live and Porteus and Ubuntu are booting from USB in BIOS and in UEFI Secure mode

YouTube Video: USB AIO Linux

=
 W10_AIO-8.png.4e6c6d16527d35283377daafda19188b.png - W10_AIO-9.png.c18d29808bd085fff263ed15d5eca325.png - W10_AIO-5.thumb.png.4183a31abfd45e52c8fb54e68b736cd2.png

W10_AIO-6.png.97dc947e977e1e2435543b7c402d8712.png - W10_AIO-7.thumb.png.e4028bd635c9ec47aff5b84bd1b34082.png  

Edited by wimb
Link to comment
Share on other sites

  • 2 weeks later...

*** Update UEFI_MULTI - Version 88 ***

- Add VHD to Boot Manager Menu for BIOS and UEFI Secure booting with Windows 10 x64 VHD as FILEDISK
- Add WIM to Boot Manager Menu for BIOS and UEFI Secure booting with Windows 10 x64 WIM from RAMDISK
- Add Grub4dos and Grub2 of Linux Mint to boot various Linux ISO versions 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

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

=

Download : UEFI_MULTI-88.zip - password is bootwimb

=

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. Often needed since UEFI Grub2 boot entry is easily lost.
Select as UEFI Boot entry on USB the Linux Mint Grub2 file \EFI\Boot\BOOTx64.EFI

UEFI_Grub2.png.a60529105f66d7d8b12d2cf3aefbddc9.png

 

More Info in Win10_Inst_Eng.pdf - Linux Mint - Knoppix Live

More Info:  Install Windows 10 after booting with WIM or VHD and UEFI_MULTI at Reboot.pro Forum

YouTube Video - Make VHD and Make USB Win10 and Make USSD Win10 and USB AIO Linux and UEFI_MULTI-Demo

- Update Grub4dos to version grub4dos-0.4.6a-2018-12-23 for booting in BIOS mode

- 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

1. 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
2. Use UEFI_MULTI to Add Grub2 EFI Manager of Linux Mint, which fixes AIO Boot for booting in BIOS and UEFI Secure mode
3. On USB run  AIOCreator.exe - Select Integration Linux OS and your Linux ISO linuxmint-19-cinnamon-64bit-v2.iso - preferred

Edited by wimb
Link to comment
Share on other sites

  • 1 month later...

*** Update UEFI_MULTI - Version 88 ***

Download : UEFI_MULTI-88.zip - password is bootwimb

Fixed - An Empty  folder selected as Content Folder would give Copy Error

Selected VHD or VHDX files are copied to NTFS System Drive

Ubuntu Linux ISO file is Copied manually to folder images created on FAT32 Boot Drive

Selected Win10XPE - WIM file is Copied to USB Target Boot Drive Or to a Selected Folder on Boot Drive

Content Folder of Win10XPE Programs is Copied as Folder on Boot Drive

UEFI-Grub2-2019-02-06_152719.png.1a60b9fb2f7555aa94be38a370f6d562.png == UEFI_MULTI-87-2.png.92f1189a015b3683de6fb0f4608bc42c.png 

 

Win10XPE-2019-02-06_153938.thumb.png.e8368fea1fe83ad7c1ca19408a5129e2.png ==Win10XPE-2019-02-06_123035.thumb.png.faebb79a4ae9000c1e7b0bd18db55fa5.png

 95239663_Ubuntu-2019-02-0620-10-27.thumb.png.5f9a8c88c70eb6865c5eaf3d25e72248.png == WinBuilder-RunFromRAM-2019-02-06_120404.png.08c96741733cdff9a09e1f0ba410288f.png

How to make Win10XPE WIM file for booting from RAMDISK

Download: Win10XPE Builder - More Info: Win10XPE and Quick Guide

More Info: Win10_Inst_Eng.pdf

Download Win10_1803_English_x64.iso from TechBench

Mount and Extract the ISO to Folder Win10_1803_English_x64 on your Harddisk

In WinBuilder > Build Core > Select Run ALL Programs From RAM to get WIM file with all Programs integrated

In WinBuilder > Apps > System Tools DeSelect XPE Startup (when Selected build fails)

In WinBuilder Select the Folder Win10_1803_English_x64 on your Harddisk and Start building with Play button

Use UEFI_MULTI and Select Win10XPE\ISO\sources\boot.wim as your Boot Image file to make FAT32 USB-Stick 32 GB Or Portable SSD

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

If desired (but not preferred by me) you can have WinBuilder > Build Core > DeSelect Run ALL Programs From RAM

and have the Programs Folder on USB and then use UEFI_MULTI Settings as shown.

I have Updated UEFI_MULTI program so that the file CDUsb.y needed for this purpose is copied to USB root.

Edited by wimb
Link to comment
Share on other sites

  • 11 months later...

How to Boot from USB with WIM or VHD file located on Portable SSD

Make USB - Partition Portable SSD 500 GB
- SAMSUNG Portable SSD T5 500 GB with UEFI/MBR Partitioning
- 1st partition 20 GB FAT32 Set Active used for Boot Manager and Grub4dos Boot files
- 2nd partition NTFS used for VHD + WIM System files
1. In Disk Management remove existing exFat Volume and Create new  partitions
2. MBR partitioning with 1st partition 20 GB FAT32 Set Active used as Boot Drive and 2nd partition NTFS System Drive
- Instead of step 3 and 4 using UEFI_MULTI will Set Active the USB FAT32 Boot Drive
3. In admin command window run DiskPart
4. In DiskPart type list volume and select volume <FAT32 volume nr> and active and exit
BIOS mode booting requires Active partition with BOOTMGR bootsector
UEFI mode booting requires FAT32 partition with x64 file efi\boot\bootx64.efi Or x86 file efi\boot\bootia32.efi

Downloads: UEFI_MULTI and WinNTSetup and Windows 10 x64 ISO from TechBench Or using Windows-ISO-Downloader Tool
More Info: UEFI_MULTI topic and Win10_Inst in Forums MSFN and Reboot.pro and VHD_WIMBOOT and BOOTICE 1.3.3.2

At MSFN there is topic USB Format Tool and UEFI_MULTI
All my projects are now available for Download as Releases at wimb GitHub 

Download:  USB_FORMAT  and   UEFI_MULTI  and  VHD_WIMBOOT  and  System_Info  and  MBR_Backup

Manual:  Win10_Install.pdfand Downloads: System_Info and Unattended_Eng.zip

- Use UEFI_MULTI to Add WIM file to make Portable SSD booting from RAMDISK - filename = Win10XPE.wim
- Use UEFI_MULTI to Add VHD file to make Portable SSD booting with FILEDISK - filename = W10x64_1909_F.vhd
- Add ISO x64 file to NTFS System Drive used by WinNTSetup for Installing Win10x64 in VHD or hard disk
- Boot from USB - After beep use F8 menu - Select Win10XPE-WIM or W10x64_1909_F.vhd in Boot Manager Menu
- Use WinNTSetup x64 and ISO file for Installation of Windows 10 x64 in VHD or partition of internal SSD harddisk
- Swith off Defender - In WinNTSetup use R-mouse menu - Local Windows Installations and Capture Wim to make Backup WIM file

W10XPE_WIM-2020-01-06_085014.png.b813821aaaedb2e7a0ad702207c833cb.png   W10x64_VHD-2020-01-06_085307.png.5b1b747d3472a1b0ec277828398ba501.png

 

W10XPE-2020-01-06_090453.thumb.png.9b8e74a979dfe2081e53ce9cefd4e612.png   W10x64_VHD-2020-01-06_091336.thumb.png.3eb14cc881da10f106fe918033888f5b.png

How to make Win10XPE WIM file for booting from RAMDISK

Download: Win10XPE Builder - More Info: see Manual 
Download Win10_1909_English_x64.iso from TechBench Or using Windows-ISO-Downloader Tool
Mount ISO with double-click and Copy the Content of the ISO to Folder Win10_1909_English_x64 on your Harddisk

In WinBuilder > Build Core > Select Run ALL Programs From RAM to get WIM file with all Programs integrated 
In WinBuilder > Apps > System Tools DeSelect XPE Startup (when Selected build fails) 
In WinBuilder Select the Folder Win10_1909_English_x64 on your Harddisk and Start building with Play button 

Use Win10XPE\ISO\sources\boot.wim and Win10XPE\ISO\Boot\boot.sdi for booting WIM file from RAMDISK
First copy both files to folder Win10XPE located on NTFS System Drive of Portable SSD
Then use UEFI_MULTI to make Boot Manager entry for the WIM Boot Image file

Edited by wimb
Link to comment
Share on other sites

  • wimb changed the title to Install from USB After Booting with WIM or VHD
  • 2 weeks later...

How to Inject Win10 VHD System to Fix Computer

In case of computer troubles it is often desired to have a quick fix available without disturbing existing configuration.
We can decide to Inject from USB in 10 minutes a 50 GB VHD with New Windows 10 x64 System for local account.
Windows 10 in VHD has the advantage that the VHD can be copied to any location.
Windows 10 is Universal and will adjust automatically the drivers needed for the hardware in use.
After Injection, the VHD System is personalised by  Switching to Microsoft Account and Changing User Data Locations.

- Prepare Portable SSD Bootable from USB with PE WIM and VHD file as described in this document

Manual:  Win10_Install.pdf

- Disconnect Internet LAN Ethernet cable
- Boot from USB - after beep use F8 menu - Select in Boot Manager Menu Win10XPE WIM file located on Portable SSD
- Copy 50 GB VHD with New System for local account and located on USB Portable SSD to your  internal SSD Drive C:
- UEFI_MULTI is used to Add VHD in Boot Manager Menu for booting from internal SSD
- BOOTICE use tab BCD and Z:\efi\microsoft\boot\BCD Or Z:\Boot\BCD in Prof Mode to Set as Default the Added VHD
- Option - For existing System Drive C: use Malware Removal Tool like McAfee Stinger
- Option - Restore Registry use Registry Backup Portable - Copy folders from RegBackup\MY-PC\datetime\C to Drive C:
- Reboot from internal SSD by selecting in Boot Manager menu the Injected VHD with New Windows 10 x64 System
- On Data partition Create 5x empty folder for Documents, Pictures, Downloads, Music and Videos
  My Computer - R-mouse on icon > Properties > tab Location > Move ... Select folder to change the User Data location
- Swith to your Microsoft Account via Config > Accounts and Reboot 
- Option - Restore Backup of User Data made with SyncBack Free on external USB and kept safely offline
- Connect Internet LAN Ethernet cable

Alternatively you can use:

How to Fix Booting of Windows 10 using bcdboot
Use bcdboot to Fix on the hidden FAT32 drive the EFI\Microsoft\Boot\BCD entry Or Boot\BCD entry 
- Boot from USB - after beep use F8 menu - In Win10XPE use R-mouse menu to Open Admin Command Window
- Use bcdboot to make BCD in your hidden FAT32 drive mounted by WinNTSetup x64 as Drive Z:

bcdboot C:\Windows /s Z: /f ALL

How to ReInstall Windows 10
If you want to ReInstall Windows 10 x64 while completely disturbing existing configuration then
- Boot with Win10XPE from USB - after beep use F8 menu - In Win10XPE then
- Backup to external USB drive your User Data from C:\Users\YourName
- In WinNTSetup x64 use as Windows Installation file your Capture Wim file Or use Win10x64 ISO file from TechBench
- Select as Installation drive your Attached VHD mounted as Drive Y: Or your internal SSD drive C: and Use NTFS Format
- Select Setup and Legacy Boot Menu Style and OK to Install Win10x64 in VHD or partition of internal SSD and Reboot

 

How to Backup your Computer

A. System Backup
- Swith off Defender - WinNTSetup - R-mouse menu - Local Windows Inst. - Capture Wim to make Backup WIM file - Time = 5 min
  The Captured WIM file of your System can be used for fast Re-Install of Win10 including all Programs and Settings
- Registry Backup Portable can make a Backup in folder C:\RegBackup of the Windows Registry useful for System Restore - Time = 5 sec
- MBR Backup can make Backup of Partition Table and Bootsectors of all Local Harddisks Fixed + Removable - Time = 10 sec
  Use TinyHexer to study and Restore Bootsectors - Hopefully Never Needed

B. Data Backup
- SyncBack Free - Make Backup of User Data on external USB kept safely Offline - Backup Time = initially few hours - update in 10 min
- Backup using File History - available in Windows 10 - More Info - Time = initially few hours - autoupdate running in the background
- Backup your Data in OneDrive in the Cloud - Backup kept safely on Remote Location - Time = initially few hours - autoupdate

Edited by wimb
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...