wimb

Install from USB AFTER Booting with PE

38 posts in this topic

=

PROGRAM UPDATE - U_XP_SET Package - Install XP from USB

Update - BOOT_IMG.exe - Make_IMG.exe - Make_USB.exe - USB_XP_Setup.exe

- Small corrections in routines for Install of Boot Image files

Download - U_XP_SET

=

0

Share this post


Link to post
Share on other sites

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

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
0

Share this post


Link to post
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
0

Share this post


Link to post
Share on other sites

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
0

Share this post


Link to post
Share on other sites

-

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 - IMG_XP

0

Share this post


Link to post
Share on other sites

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
0

Share this post


Link to post
Share on other sites

Posted (edited)

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
1

Share this post


Link to post
Share on other sites

Posted (edited)

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
0

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.

  • Recently Browsing   0 members

    No registered users viewing this page.