Jump to content











Photo

Install from USB AFTER Booting with PE

tutorial

  • Please log in to reply
8 replies to this topic

#1 wimb

wimb

    Platinum Member

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

Posted 04 January 2010 - 10:38 AM

Go direct to new description including Windows 10 

http://www.msfn.org/...-2#entry1117324

 

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

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...showtopic=24424
- Info Make_PE3 - http://www.911cd.net...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
- If needed first Install ImDisk driver by running imdiskinst.exe (also available in makebt folder)
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 - http://www.msfn.org/...-winntsetup-v2/
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_XPHelp_Info folder

Info IMG_XP - http://www.911cd.net...showtopic=23553

Download - IMG_XP


The advantage is that you never boot from USB during XP Setup
and that makes everything much more reliable and you have full control of what you are doing.
Also using a single XP Setup ISO file mounted in ImDisk Virtual drive is much more reliable
than having a bunch of XP Setup files on USB.
Transfer of the ISO file to USB is much faster and easier to maintain.
Instead of USB-stick it is much better to use Portable 2.5 inch USB-harddisk e.g. Samsung S2
As easy to carry and connect, but much higher speed and more capacity.


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

old approach with useful info left here for reference

*** Install from USB AFTER Booting with PE ***

Install from USB without Booting from USB by using U_XP_SET

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

0. Introduction

Install of XP from USB involves:

  • Boot in 30 seconds with LiveXP Boot Image from RAMDISK loaded in few seconds from HD (preferred) or from USB in 5 minutes
  • Run USB_XP_Setup.exe and select and Quick Format your Target Drive on which you want to Install XP
  • Select your XP Setup Source folder and LiveXP Boot Image file and use GO to prepare Target Drive for Install of XP
  • Reboot Computer from Target Install Drive and Select XP Setup from boot.ini Menu
  • Proceed as usual with TXT-mode and Reboot for GUI-mode of Unattended XP Setup

To perform the above requires some preparation:

  • Prepare XP Setup Source Folder and Live XP Boot Image file as described in Tutorial in Sections 2 and 3
  • Use Make_USB.exe so that your USB-stick or USB-Harddisk contains XP Setup Source folder and U_XP_SET folder and LiveXP Boot Image file
  • Run BOOT_IMG.exe to Install LiveXP Boot Image file as boot option on C-BootDrive of Harddisk

For blank HDD you need to create first an Active Primary NTFS partition:

  • Use Make_USB.exe to make USB-stick having XP Setup Source and being bootable with LiveXP
  • Use BOOT_IMG.exe to make USB-stick also bootable with Parted Magic 4.6 (See Section 6)
  • After booting from USB-stick with Parted Magic from GRUB4DOS menu, you can create Primary NTFS partition using GParted
  • Reboot from USB-stick with LiveXP PE and Set Active the created Primary NTFS partition using Disk Management
    In LiveXP you must fix the MBR of your HDD using MBRFix.exe (in makebt folder),
    since Parted Magic will not create the required MBR bootcode to make drive bootable
    If your HDD is drive 0 then in cmd window opened at makebt folder run:
    MbrFix /drive 0 fixmbr
  • Run USB_XP_Setup.exe to Quick Format TargetDrive and prepare HDD for Install of XP
  • Reboot from HDD for Install of XP and continue as usual with TXT and GUI mode of XP Setup
    (change BIOS settings to boot from HDD if needed)

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

1. Install of XP using USB_XP_Setup.exe

The package U_XP_SET contains Folder USB_XP_Setup with 3 Programs, which you can Launch via PStart.exe Menu

  • Make_USB.exe can Copy your XP Source to USB-Drive and can make it Bootable with LiveXP for Emergency
  • BOOT_IMG.exe Copies WinBuilder LiveXP Boot Image file to C-Harddisk or USB-Drive
    and makes Entry for boot.ini Menu and GRUB4DOS menu.lst for Booting with LiveXP PE from RAMDISK.
    This is useful as Escape Boot Option in case Booting with Windows XP or XP Setup may fail,
    so that you can Repair your System or use Ghost for System Backup and System Restore.
  • USB_XP_Setup.exe can make XP Setup BootFolder $WIN_NT$.~BT on Install-Drive usually C:
    and will specify in TXTSETUP.SIF where to find the FULL XP Source on partition 1 of USB-Stick.
    For all other cases of Install of XP e.g. from any Harddisk folder or Network Shared folder or from CD / DVD disk,
    then the XP Source is always Copied to $WIN_NT$.~LS folder on Target Install-drive.

=
Make_USB.pngPStart.png
=
BOOT_IMG.pngUSB_XP_Setup.png
=

Before you Start to Install XP:

  • Prepare XP Source Folder and Live XP Boot Image File as described in Sections 2 and 3
  • Vista as OS requires to turn User Account Control OFF (only needed for the old Batch cmd Programs)
  • Run the SFX SelfExtractor U_XP_SET.exe and use Extract to the Root of your Workstation Harddisk
    In this way you will get on your Local Harddisk the folder U_XP_SET with PStart.exe to launch the 3 Programs
  • Copy WinbuilderWorkbenchCommonBootSDIsetupldr.bin and ramdisk.sys to USB_XP_Setupmakebtsrsp1 folder
  • Run Make_USB.exe and Select and use as Target Drive a FAST USB-stick (e.g. Corsair Flash Voyager 4-8 GB)
  • Use Format Stick button or HP Format Tool to format Target USB-stick with NTFS FileSystem (Fastest for FileCopy)
  • Select your XP Source Folder and LiveXP Boot Image File and Enable Copy of U_XP_SET Folder to Make your USB-stick
  • Run BOOT_IMG.exe to Copy WinBuilder LiveXP Boot Image file to C-BootDrive of Harddisk
    and make Entry for boot.ini Menu and GRUB4DOS menu.lst for Booting with LiveXP PE from RAMDISK.
    This is also useful as Escape Boot Option in case Booting with Windows XP or XP Setup may fail,
    so that you can Repair your System or use Ghost for System Backup and System Restore.

The XP Setup Procedure for Fresh Install of XP:

  • Connect USB-Stick having XP Source in partition 1 (Connect before Booting with LiveXP from HDD) or use any other XP Setup Source.
  • Remove All Other USB-Drives like CardReaders and USB-Harddisks
  • Reboot from C-Harddisk and Select to Boot from RAMDISK with LiveXP into PE Environment
  • Run USB_XP_Setup.exe and Quick Format with NTFS your Selected Target Install-Drive usually C:
  • Use GO to make XP Setup BootFolder $WIN_NT$.~BT on Target Install-Drive.
    First give XP Setup Source Path and give LiveXP RAM BootSDI IMAGE File.
    So in case when XP Setup fails, you have LiveXP as Escape Boot Option available on your Fresh Formatted Install Drive.
    XP Source not on USB-stick is always Copied to $WIN_NT$.~LS folder on Target Install-drive.
  • If you Install on other than Active C-drive, then Use Disk Manager to Activate Install Drive Partition
  • Reboot Computer from Install Drive and Select XP Setup from boot.ini Menu
  • Proceed as usual with TXT-mode and GUI-mode of Unattended XP Setup
    In TXT-mode after FAST loading drivers the blue screen becomes black and
    then one needs to wait sufficiently until the blue screen with the Drive Partition List appears.
    Select the Install Partition usually C: and Auto proceed with FileCopy and Reboot for GUI-mode of XP Setup.
    WARNING
    Don't Delete the Install Partition, just Install on this previously in PE Quick Formatted NTFS Partition.
    Changing the Partitioning is a task which is done in LiveXP PE Environment with
    7Tools Partition Manager 2005 of Paragon ( Preferred ) or Acronis Disk Director 10.

The advantage of the present technique is that there are no changes needed in the BIOS Setting.
Booting for XP Setup occurs all the time as normal from the C-Install Drive if you Install on C-Drive.
Thus the USB-stick does not need to be bootable and it is not needed that the motherboard supports booting from USB.
In the case of total computer disaster it can still be handy to boot with LiveXP from USB-drive.

Another advantage is that you can use the FULL XP Source unchanged just as with Install from CD
and the $OEM$ folder is recognised and the [Unattended] section of winnt.sif file is used as normal.
Moreover USB_XP_Setup.exe allows to Select from different XP Sources on USB-Drive to be used for XP Setup.
Supports the use of BTS DriverPacks located in OEM Folder in XP Source Folder on USB-Drive
http://driverpacks.net/downloads

Install XP from USB AFTER booting with PE does not make use of WINNT32.EXE
In fact the only thing I do is Create the XP BootFolder $WIN_NT$.~BT of only 12 MB on the Install Drive
by parsing dosnet.inf and to specify in TXTSETUP.SIF where to find the FULL XPSOURCE.
In this case the XP Setup Source Folder must be on USB-stick.
For all other cases of Install of XP e.g. from any Harddisk folder or Network Shared folder or from CD / DVD disk,
then the XP Source is always Copied to $WIN_NT$.~LS folder on Target Install-drive.

Thanks to ilko_t I have learned how to use SetupSourcePath and SetupSourceDevice
to specify in TXTSETUP.SIF where to find the XP Source Folder, thus enabling
Alternative location of Setup files when installing from HD media
http://www.msfn.org/...en-t119742.html

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

TXT-mode XP Setup Error in case of Install of XP with Setup Source on USB-stick

TXT-mode Setup Memory/CD-Error means harddisk nr in SetupSourceDevice is incorrect
Solution:
- ReBoot with LiveXP Boot Image from RAMDISK, Run PStart and run again USB_XP_Setup.exe
- Now Select Copy XP Setup Source Folder to Target Drive folder $WIN_NT$.~LS
- Reboot Computer from Install Drive and Select XP Setup from boot.ini Menu

Possible causes of TXT-mode Setup Memory/CD-Error are:

- Change of Harddisk Numbering by BIOS due to Hardware Configuration Change on Reboot.
Try to disconnect ZIP-drive, Cardreader or use different USB-port.

- Change of Harddisk Numbering by BIOS due to connecting USB-drive AFTER Booting with PE or XP
XP Setup may fail - due to XP Source Harddisk Number Change on Reboot
In this case Reboot with LiveXP PE and USB-drive CONNECTED to Reset Harddisk Number
Run USB_XP_SETUP.cmd again to get correct SetupSourceDevice in TXTSETUP.SIF

- Inconsistent Harddisk Numbering by BIOS caused by Incompatible type of USB-stick - Intuix 8 GB

- Old BIOS versions, where harddisk number of USB-Drive and Install Drive are Reversed in TXT-Mode and GUI-Mode

You can Use Disk Manager Manually to determine Harddisk Numbers and
use Notepad to correct harddisk nr and XP SOURCE Folder in TXTSETUP.SIF

[SetupData]
SetupSourcePath = "XPPRO"
SetupSourceDevice = deviceharddisk1partition1

In this case change file %instdrive% xtsetup.sif and %instdrive%$WIN_NT$.~BT xtsetup.sif

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

How to boot with LiveXP from Harddisk using extra option in boot.ini Menu was described by me in
http://www.911cd.net...o...21682&st=24
Combining this technique with the possibility to make XP Setup BootFolder $WIN_NT$.~BT on C-Install-Drive
by parsing dosnet.inf and to specify in TXTSETUP.SIF the XP Source location on USB-stick
has resulted in this way of Install of XP from USB-stick AFTER booting with PE from C-Harddisk.

In LiveXP you can Connect to Network Drive using PENetwork Manager with
Path: ComputerNameShareName
User: ComputerNameUserName
Pass: PassWord
It might be necessary to switch off the Firewall of the Network computer.

Network Shared Folders can also be used as Source folder in USB_XP_Setup.exe and Make_USB.exe

For Install of XP in a folder e.g. WIN51 next to existing WINDOWS folder or for Repair Install
you can use USB_XP_Setup.exe direct from HDD without booting first into PE Environment.

Repair Install using USB_XP_Setup.exe

  • XP Setup Source Folder can be on USB-stick or anywhere else.
  • Connect USB-stick having XP Source in partition 1
  • Remove All Other USB-Drives like CardReaders and USB-Harddisks
  • Reboot as NORMAL from C-Harddisk, so that BIOS Resets USB-drive number
  • Run USB_XP_SETUP.exe to make XP Setup BootFolder $WIN_NT$.~BT on Install-Drive usually C:
  • Repair Install is enabled by Disabling [Unattended] Section using ; in C:$WIN_NT$.~BTwinnt.sif file
  • Reboot Computer from Install Drive usually C: and Select XP Setup from boot.ini Menu
  • Select in TXT-mode Existing Windows for Repair and continue with GUI-mode of XP Setup

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

2. XP-Source Preparation

Take care that your XPSOURCE Folder is located on your Harddisk in a simple Path without SPACES.
Copy the Content of your Windows XP Setup CD to your XPSOURCE Folder on Harddisk

Slipstream ServicePack SP3 First Manually in your XP-SP2 Source (don't use here nLite).
http://www.helpwithw...ice_Pack_3.html
Siginet's RyanVM Integrator or nLite can then be used to Integrate Windows UpdatePacks in the XP-Source.
Preferred is using RyanVM Integrator 1.6 - http://integrator.si...ex.php?download
Or Alternatively use nLite to Integrate Windows UpdatePacks http://www.nliteos.com/

Windows XP UpdatePacks and Addons:
http://www.ryanvm.net/msfn/
http://www.ryanvm.ne...tepack-sp2.html
http://integrator.si...ndex.php?addons
http://www.ryanvm.net/forum/

Supports the use of BTS DriverPacks located in OEM Folder on USB-Drive
http://driverpacks.net/downloads
For Install of XP on a modern system with SATA Drives it is needed to use DPsBase.exe
for Integrating in your XPSOURCE BTS DriverPack Massstorage with TXT Mode Enabled.
In that case a lot of Extra RAID SCSI and SATA Drivers (about 120 extra) are Integrated which appear in the
XP Setup BootFolder $WIN_NT$.~BT on Install-Drive and can prevent a lot of XP Install Boot Problems.
It will be useful to Add also Chipset, CPU and LAN DriverPack, which are small so that
the decompression at the beginning of GUI-mode of XP Setup does NOT take to much time.
Always first use RyanVM Integrator or nLite and then use DPsBase to Improve your XP-Source.
The program supplies a Customised presetup.cmd and changes the winnt.sif file for use of DriverPacks.

When you don't use nLite, you can copy the supplied $OEM$ folder to your XP Source folder.
Change $OEM$ folder to your needs for UserAccounts and Registry Tweaks and Adding Drivers.
CMDLINES.TXT is used for making UserAccounts and install of Registry Tweaks at T-12
Info see: http://unattended.ms.../unattended.xp/

PnP Drivers specified in winnt.sif can be added to $OEM$$1Drivers
http://unattended.ms...xp/view/web/34/
TEXTMODE Drivers defined in winnt.sif and located in $OEM$TEXTMODE folder of the XP Source
can be used instead of using F6 floppy for MassStorage Drivers.
The content of the $OEM$TEXTMODE folder is copied by USB_XP_Setup.exe to XP Setup BootFolder $WIN_NT$.~BT$OEM$
See cdob and allanf in http://www.boot-land...?...5306&st=180

Smart Driver Backup 2.12 of Jaque is very useful to Backup your drivers before install of XP.
http://www.911cd.net...showtopic=20555

The complete XP-Source can be copied by Make_USB.exe to USB-Drive.
Computation of Estimated XP Folder Size is used to prevent USB-stick overflow
and includes cmpnents + I386 + AMD64 + $OEM$ + OEM Folders.

Excluding LANG and WIN98X Folders from Copy to USB is the Default Setting
in Make_USB.exe Main Menu, which reduces the XP-Source on USB-Drive by 135 MB

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

3. LiveXP Boot Image File Preparation

Download LiveXP e.g. lx77rc2cxw.exe from folder Projects or lx77rc2cbw.exe from folder Portable
http://amalux.winbuilder.net/
Run the downloaded exe and extract to simple path without spaces e.g. extract to root of your local harddisk.

You can add a Ghost script (Ghost Plus!.script) which is very handy for System Backup and Restore.
Copy file Ghost Plus!.script from http://amalux.winbui...Scripts/Backup/
to <WinBuilder>ProjectsLiveXPAppsSystem folder

For making LiveXP Boot Image file you need original XP-SP2 or XP-SP3 Setup CD copied to folder in root of harddisk.
Use simple name without spaces for XP Setup Source folder and Switch Off your Firewall and AntiVirus protection.
The MassStorage DriverPack for support of SATA drives is automatically integrated in LiveXP made with WinBuilder.

In case of WinBuilder Errors use Button Clean Temporary Files in Advance.
On Success Save WinBuilder Settings with WB Manager useful later for Restore of Settings.

Run WinBuilder to make in 15 min your LiveXP_WIM.ISO or LiveXP_RAM.ISO Boot Image file in folder <WinBuilder>ISO

Alternatively you may use BootSDI.img file made in folder <WinBuilder>ISORamI386
ramdisk.sys and setupldr.bin of Windows Server 2003 SP1 must be in <WinBuilder>WorkbenchCommonBootSDI directory.
Activate Finish > Create Image > Boot SDI and Run WinBuilder.
You can Deactivate Emulation and Burn Image, since we don't need a CD for our purpose.
IMG-type files can be changed afterwards more easily by simply mounting them in Virtual Drive with R-mouse using ImDisk or with VDK.

  • Run makebtMount_IMG.cmd and Select to Mount your BootSDI.img file in a Virtual Drive using VDK
  • Copy your add-ons to your Virtual Drive in which you mounted BootSDI.img file
  • Use UnMount_IMG.cmd to Close the Virtual Drive and Save the Changes in your BootSDI.img file

FileName of IMG or ISO files for loading into RAMDISK, like LiveXP BootSDI.img file,
must be conform DOS 8.3 because otherwise in case of FAT or FAT32 Filesystem
you would get Error 14 (File Not Found).

Tutorial of amalux on how to create LiveXP Boot Image files using WinBuilder
http://www.boot-land...?showtopic=4111


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

4. Install of Drivers and Programs

Automatic Install of Drivers during XP Setup

1. Using 7-Zip Compressed DriverPacks located in OEM Folder on USB-Drive,
which are decompressed by presetup.cmd at beginning of GUI-mode of XP Setup.
http://driverpacks.net/downloads
For Install of XP on a modern system with SATA Drives it is needed to use DPsBase.exe
for Integrating in your XPSOURCE BTS DriverPack Massstorage with TXT Mode Enabled.
In that case a lot of Extra RAID SCSI and SATA Drivers (about 120 extra) are Integrated which appear in the
XP Setup BootFolder $WIN_NT$.~BT on Install-Drive and can prevent a lot of XP Install Boot Problems.
First use RyanVM Integrator and then use DPsBase to Improve your XP-Source.
The program supplies a Customised presetup.cmd and changes the winnt.sif file for use of DriverPacks.

2. Using DriverForge.v4.5.4.exe to Install from C:Drivers at T-9 of GUI XP Setup (just for the last Reboot).
DriverForge.v4.5.4.exe made by kickarse http://www.msfn.org/...howtopic=110783
At end of TXT-mode XP Setup the folder $OEM$$1Drivers is copied to C:Drivers
and $OEM$$1InstallDriverForge.v4.5.4.exe is copied to C:Install
When you don't use nLite, you can Copy the supplied USB_XP_Setup$OEM$ folder to your XP Source folder.
For Auto Use of DriverForge at T-9 you can place uncompressed drivers (or folders) in Drivers of $OEM$
and then Uncomment two rules by removing ; in U_XP_SETUSB_XP_Setupw_sifwinnt.sif file (see below).
You can also change driverforge.ini to your needs if you want to use drivers on a different location,
or you may even use the compressed DriverPacks.

[SetupParams]
UserExecute = "%SystemDrive%INSTALLSetupPar.cmd"

Method 2 can be very fast because you can just use in Drivers your well known set of required drivers.
The ATI Catalyst Control Center can be Installed separately with other Apps After Setup has completed.

Smart Driver Backup 2.12 of Jaque is very useful to Backup your drivers before install of XP.
http://www.911cd.net...o...20555&st=69

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

Install of Programs After XP Setup has finished

It is handy to use the Office Integrator of Siginet and benners
to Integrate Service Packs and HotPacks before installing Office.
http://www.siginetsoftware.com/forum/
Download Office Integrator v1.1 Build 16
http://integrator.si...e...dons&id=213

The Folder usb_cfg_extra provides a script for Windows Post-Install Wizard (WPI) - http://wpiw.net/
WPI is very handy for the Automatic Install of Programs after Install of XP from USB.

Some Tweaks are done at best when XP Setup has completed e.g. the IE7_Tweaks and NoWallpaper
So I combine these tweaks with the Install of Apps using WPI
and launch WPI Manually AFTER logon and when the XP Desktop is ready.
As example a config.js script is provided in U_XP_SETUSB_XP_Setupusb_cfg_extraINSTALL_PRGS_WPIWPIScripts

In WPI script there is the option to run SFC /purgecache which deletes the dll cache
by deleting the files in Folder C:WINDOWSsystem32dllcache
This is a very simple way to reduce the WINDOWS Folder Size by 360 MB
The Result is a XP WINDOWS Folder Size on Harddisk of only 900 MB inclusive all Updates.

Install of XP from USB including Drivers with DriverForge and Post Install using WPI for the Apps
is realised Now within 30 minutes using USB-stick with NTFS Format.

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

5. Install Vista from USB

Procedure for Install of Vista or Windows 7 from USB-stick

  • Download and Extract U_XP_SET package making U_XP_SET folder on your Harddisk
  • Launch PStart.exe in U_XP_SET folder
  • Run BOOT_IMG.exe from PStart Menu to Install Windows PE 2.1 ISO
    as GRUB4DOS Boot Option in menu.lst Menu on Harddisk Boot Drive e.g. C:
  • Reboot in 40 sec with Windows PE 2.1 ISO loaded by GRUB4DOS from HD into RAMDISK X:
  • Run Vista Setup from folder on USB-stick by using e.g. Free Commander in PE 2.1 Environment
  • Select and Format your Install Drive e.g. C:
  • Proceed with Install of Vista from USB (Copy + Extract)
  • Disconnect USB-stick precisely at First Reboot (just at the BIOS Beep when the screen is black).
    Without Removal there is 10 min Extra Install time.
  • Proceed with Install of Vista - Totally in about 18 min

The present approach is Install of Vista from USB without booting from USB.
So you don't need BIOS USB Boot Support and you don't need to change BIOS Settings.
Moreover, Vista Setup Source can be located in a folder on USB-stick so that it does not interfere with other Setup Sources like folders with Vista x64 or Windows 7 Setup Source.

Thanks to jaclaz for Help with GRUB4DOS menu to boot with Windows PE 2.1 ISO file.

Thanks to allanf for making WinBuilder Project to make Windows PE 2.1 ISO having GUI interface
http://www.boot-land...?showtopic=7053
Download WAIK 1.1 Vista SP1 from
http://www.microsoft...;displaylang=en

Booting in 40 sec with pe21.iso loaded by GRUB4DOS from HD into RAMDISK X:
allows then to Launch Vista or Windows 7 Setup.exe from folder on USB-stick.
http://www.boot-land...?...=6800&st=37

Instead of Windows PE 2.1 we can also use VistaPE ISO,
but booting with VistaPE will take several minutes.
http://www.boot-land...hp?showforum=51

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

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 AIKToolsPEToolsx86 folder.
C:Program FilesWindows AIKToolsPEToolsx86WinPE_OCsWindows6.1-KB972831-x86.cab


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

Download - Make-PE3

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

The folder Make_PE3PE3_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_addx86
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_x86ISOsources
The boot.wim file is mounted by imagex.exe in folder C:winpe3_x86mount
Files from WIN7_addx86 and PE3_addx86 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_addx86 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_x86mount


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.winbui...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 - ISOfind --set-root --ignore-floppies /pe3.isomap /pe3.iso (0xff)map --hookroot (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_SETUSB_XP_Setupmakebt 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...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...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
=

Windows PE 3.0 with Partition Manager and Internet - Opera Portable and PENetwork.exe
=
PE3_WL.png
=

Windows PE 3.0 with PStart Menu for PE3 System and for Portable Programs
=
PE3_SYS.png
=
================================================================================

6. MultiBoot USB-drives prepared with Make_USB.exe

  • CD / DVD Content can be copied unchanged to Root of USB-stick by using the Add Extra Content Selector.
    This allows to use a well-tuned CD / DVD as Setup Source including Apps for Install of XP from USB.
    In this case you must Uncheck the Copy Checkbox of XP Setup Source Folder Selection so that this XP Source Selection is only used to have access to the XP BootFiles NTLDR and NTDETECT.COM and is NOT used as normal to Copy the XP Source to a Folder on Target Drive.
  • Support for Ultimate Boot CD - UBCD ISO booting via boot.ini Menu from GRUB4DOS menu.lst Menu
    See Info of Icecube given in U_XP_SETUSB_XP_Setupusb_cfg_extra folder.
    UBCD 5 - http://www.boot-land...?showtopic=7312
  • Support for LiveXP minint was added to the BartPE group of Make_USB.exe
    Autodetect of modified ntdetect.com when placed in U_XP_SETUSB_XP_Setupmakebt folder
  • Support for VistaPE on MultiBoot USB-stick was made, where you can use the Vista Add Extra Source Selector to Select your VistaPETargetVistaPE-Core Folder.
    VistaPE - http://www.boot-land...hp?showforum=51
  • BOOT_IMG.exe can be used to Add Multiple BartPE type IMG or ISO files.
    LiveXP - BootSDI.img or BartPE.iso booting from RAMDISK must contain
    I386SYSTEM32DRIVERSRAMDISK.SYS file of Windows 2003 SP1
    In that case Win2k3 SP1 setupldr.bin is renamed as RMLD1 and
    patched for ramx1.sif file with the SetupData instead of winnt.sif
    The index in RMLDx can range from 1-9 for support of 9 different LiveXP Boot Image Files.
    http://www.911cd.net...o...21682&st=24
  • BOOT_IMG.exe can be used to Add Multiple CD-ISO Images as Boot Option to GRUB4DOS menu.lst Menu,
    where mapping of the ISO image to (hd32) or (0xff) is used.
    VistaPE and Windows PE 2.1 ISO are booting from RAMDISK this way.
    Other CD-ISO images when Installed on HD are copied first to RAM using the --mem option,
    so that Harddisk operations are allowed.
    In the case of Removable USB-stick the --mem option is NOT used in order to gain speed in all cases.
    Then the CD-ISO Files need to be contiguous (unfragmented), check and repair with wincontig:
    http://diddy.boot-la...s/files/map.htm
  • Parted Magic 4.0 of Patrick Verner and Icecube is a handy Partition Manager.
    Parted Magic can be booted with grub4dos iso emulation.
    http://partedmagic.c...so-booting.html
    Download pmagic-grub4dos-4.0.iso.zip from http://www.digitalin...et/partedmagic/
    Use latest BOOT_IMG.exe to Install pmagic-4.0.iso
    as GRUB4DOS Boot Option in menu.lst on your Harddisk or USB-stick.
    menu.lst
    title Boot pmagic-4.0.iso - ISO from RAMfind --set-root --ignore-floppies /pmagic-4.0.isomap --mem /pmagic-4.0.iso (0xff)map --hookroot (0xff)chainloader (0xff)

    After Booting with Parted Magic ISO from GRUB4DOS menu.lst on Harddisk, you can use GParted to change the partioning of your USB-stick e.g. to Create a second partition.

    In a similar way Booting from HD with LiveXP BootSDI.img into RAMDISK allows to use Acronis Disk Director 10 to create multiple partitions on USB-stick, without any need to use a filter driver as needed in regular Windows XP.

Guides on How to Make MultiBoot USB Drives:

Make_USB.exe is used to make MultiBoot USB-sticks
having NTLDR-type bootsector and boot.ini Menu plus GRUB4DOS menu.lst Menu.

NTLDR + NTDETECT.COM and boot.ini are copied to the root of an USB-stick previously NTFS formatted with Format Stick procedure,
so that it is configured as a Harddisk having NTLDR-type BootSector.
BOOTMGR-type Bootsector made by Vista Disk Management will be changed to the compatible NTLDR-type Bootsector.
This is the way to make Bootable USB-stick with boot.ini Menu, where GRUB4DOS grldr can be launched from boot.ini Menu.

Booting is as:
MBR > BootSector > NTLDR > boot.ini > grldr > menu.lst
The Bootsector refers to NTLDR file in Root of USB-stick or Harddisk

Windows XP can be launched from any primary partition of any harddisk using arcpath in boot.ini Menu.
Windows Vista can be launched from any harddisk using chainload of bootmgr in menu.lst Menu of GRUB4DOS.

Make_USB.exe can also be used to Install LiveXP BootSDI.img as Boot option on e.g. 30 GB USB Harddisk Primary partition, previously Formatted with NTFS FileSystem using Windows XP or Vista Disk Management.

Guide for MultiBoot USB-stick with boot.ini Menu
http://www.911cd.net...showtopic=20089

Important Info on making MultiBoot USB-drives was given by diddy in 2 Guides:


More Info on Booting with GRUB4DOS grldr with menu.lst Menu
http://grub4dos.sour...ub4dos_tutorial
grub4dos, .iso images and (hd32) or (0xFF) mapping
http://www.boot-land...?showtopic=5041

Install of Grub4dos MBR BootCode is used to make Bootable USB-sticks without the need of having XP Setup Source.
Booting is as: MBR > grldr > menu.lst

In this case Grub4dos grldr BootLoader can e.g. direct Boot CD ISO or DOS floppy images or chainload BOOTMGR of Vista or Windows 7 Setup Source.

=
Make_USB_Grub4dos.png
=
================================================================================

Format Stick using Make_USB.exe
An AutoIt3 Routine was created to Format USB-sticks with a Harddisk like structure and NTFS/FAT32/FAT FileSystem.
It can be used in Make_USB.exe with the Format Stick Button instead of using the HP Format Tool.

  • First 100 Sectors of USB-stick are erased quickly using dsfi.exe and file Erase_100.bin
  • MBR BootCode is obtained from XP file dmadmin.exe just as in MBRBatch.cmd made by jaclaz
    http://www.boot-land...?showtopic=3191
  • Partition Table entry is constructed from the USB-stick CHS geometry as derived from MBRWiz.exe /list
  • Partition is ending on Cylinder boundary to improve bootability as compared to HP Format Tool, which would give a CHS-LBA unbalanced partition.
  • CHS Knockout Patches and Dummy Second Partition are user selectable options to improve USB-stick bootability

CHS Knockout Patches can be applied to XP-MBR BootCode (HP Patch)
http://www.boot-land...?...=2246&st=15
and to FAT32 or NTFS BootSector to improve bootability as described by Clemens Fruhwirth and tested by cdob to be useful.
http://blog.clemens....ndows_3170.html
http://www.911cd.net...o...1702&st=129
http://www.boot-land...?...5306&st=215
http://www.boot-land...?showtopic=8528

  • Apply HP Patch to USB-stick XP-MBR Code for CHS Knock-out
    Change at offset 0xCA 3 bytes - 0xB8 0x01 0x02 --> patched to 0xEB 0x1A 0x90
  • Apply 4x NOP Patch to FAT32 and NTFS BootSector for CHS Knock-out

    FAT32 boot sector ("MSDOS5.0" found at offset 0x03) :
    Change at offset 0xE6 - 4 bytes - 0x0F 0x82 0x4A 0x00 --> patched to 0x90 0x90 0x90 0x90

    NTFS boot sector ("NTFS" found at offset 0x03) :
    Change at offset 0xD9 - 4 bytes - 0x0F 0x82 0x3A 0x00 --> patched to 0x90 0x90 0x90 0x90

USB-sticks with Dummy Second Partition of about 8 MB (using 1 Cyl in case of n/255/63 geometry) can be generated to further improve bootability as described by online
http://www.boot-land...?showtopic=7512

The Format Stick routine was further improved for FAT and FAT32 FileSystem,
by patching after Format two important bytes which determine bootability of USB-stick.

  • MBR - Reset FAT FileSystem byte = 0E (LBA) at offset 0x1C2 in MBR, after format it was 06 (CHS) and not bootable
  • FAT BootSector - drive-id patch 0x80 at offset 0x24 , after format it was 00 and Not bootable
  • MBR - Reset FAT32 FileSystem byte = 0C (LBA) at offset 0x1C2 in MBR, after format it was 0B (CHS) and Not bootable
  • FAT32 Bootsector - drive-id patch 0x80 at offset 0x40 , after format it was 00 and Not bootable

FAT and FAT32 USB-stick are NOT bootable without patching these two critical bytes, and flashing cursor or Disk Error would be the result.
The problem is that Windows OS all the time tries to reset these bytes to NON-bootable value.
But this problem was overcome in the present procedure.

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

7. Make_IMG.exe - Make and Install Boot Image File - Type IMG or ISO

Supported are:

  • Make and Install 15 MB FreeDOS FAT12 Superfloppy IMG file from Source Folder containing kernel.sys
  • Make and Install 25 MB MS-DOS FAT16 Superfloppy IMG file from Source Folder containing IO.SYS
  • Make and Install 15 MB XP Recovery Console FAT12 IMG file Booting from RAMDISK and made from Windows XP Setup Source
  • Make and Install LiveXP / BartPE / UBCD4Win ISO or NTFS Compressed IMG Files Booting from RAMDISK (max 500 MB)
  • Install WinPE 2.1 or VistaPE ISO files Booting from RAMDISK
  • Install CD-ISO file e.g. ubcd50b12.iso or pmagic-4.0.iso or LiveXP_RAM.iso as boot option in GRUB4DOS menu.lst Menu

Images are made from a Virtual Drive by using ImDisk virtual disk driver of Olof Lagerkvist
http://www.ltr-data.se/opencode.html
For using Make_IMG.exe it needs to install previously the ImDisk Driver with U_XP_SETUSB_XP_Setupmakebtimdiskinst.exe
You will find the Image files made with Make_IMG.exe in U_XP_SETUSB_XP_Setupmakebtmake_image folder.

For the XP Recovery Console a 15 MB FAT12 Superfloppy Image file is made, where the cmdcons folder is generated by parsing dosnet.inf of the Windows XP Setup Source.
Then cmdcons folder is renamed as i386 and ramdisk.sys of win2k3 is added instead of the original one.
In root of bootdrive we have setupldr.bin of win2k3 renamed as the bootloader RCLDR, which is patched for using rcons.sif as setup information instead of winnt.sif to allow MultiBoot Environment.
More Info: http://www.boot-land...?...=5316&st=60

I would like to thank jaclaz for making use of his CATCH22 folder.
http://www.911cd.net...o...20983&st=25
Adding the CATCH22 folder to the root of any HD-like device allows to use Recovery Console Superfloppy Boot Image without using admin password and to get unlimited access to any folder by connecting to CATCH22 instead of to WINDOWS folder and then using the command:

batch SETALLON

For the LiveXP / BartPE / UBCD4Win ISO or NTFS Compressed IMG Files Booting from RAMDISK, it is possible to migrate USB-stick to DriveLetter U: so that Shifting of other Drive Letters is prevented.
In root of boot drive we have Win2k3 SP1 setupldr.bin renamed as RMLD1 and patched for ramx1.sif file with the SetupData instead of winnt.sif
The index in RMLDx can range from 1-9 for support of 9 different LiveXP Boot Image Files.
http://www.911cd.net...o...21682&st=24

Install of Boot Image files is possble on Harddisk Boot Drive C: or on Bootable USB-stick made e.g. with Make_USB.exe by making boot entries in GRUB4DOS menu.lst Menu and in some cases in XP boot.ini Menu as well.

The program will recognize the type of image and will generate the corresponding GRUB4DOS entry in menu.lst
The DOS Superfloppy Images including DOS-Apps are booting from RAM, which allows to boot with DOS from a NTFS Harddisk.
FreeDOS Superfloppy file BTFRDOS.img is in folder Downloads - http://wimb.winbuilder.net/downloads/

GRUB4DOS is updated to the latest version grub4dos-0.4.4-2009-06-11
which is also essential for booting the DOS Superfloppy Images using the generated menu.lst entries.
More Info on GRUB4DOS Menu entries for various types of Image files:
http://www.boot-land...?showtopic=5041
http://diddy.boot-la...os/Grub4dos.htm

=
Make_IMG.png
=

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

Summary
After preparing your USB-stick with Make_USB.exe we have two cases,
each of them needs Booting from HD into RAMDISK with a compatible PE Boot Image.
  • Install of XP needs Booting with LiveXP - IMG allowing to format Install Drive with NTLDR type BootSector.
  • Install of Vista and Windows 7 need Booting with Windows PE 2 - ISO allowing to format Install Drive with BOOTMGR type BootSector.

Procedure - Install XP from USB-stick


  • Connect USB-stick and Run BOOT_IMG.exe
  • Install LiveXP IMG in boot.ini / GRUB4DOS Menu on Harddisk
  • HD Boot LiveXP into Ramdisk - Quick Format and Run USB_XP_Setup.exe
  • HD Reboot and Select XP Setup from boot.ini Menu
  • Keep USB-stick Connected Until AFTER Logon XP

Procedure - Install Vista or Windows 7 from USB-stick


  • Run BOOT_IMG.exe
  • Install Windows PE 2 ISO in GRUB4DOS Menu on Harddisk
  • HD Boot Windows PE 2 into Ramdisk - Start Vista Setup from USB
  • Precisely on First Reboot - Remove USB-stick

The present approach is Install from USB without booting from USB.
So you don't need BIOS USB Boot Support and you don't need to change BIOS Settings.
Moreover, Unchanged Setup Sources can be used and can be located in a folder on USB-stick so that they do not interfere with eachother.

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

LiveXP + U_XP_SET

LXP_U_XP_SET.jpg

=

Credits:
I would like to thank ilko_t for publishing his AutoIt3 Source of WinSetupFromUSB_0-1-1.au3
at MSFN Forum http://www.msfn.org/...howtopic=120444
Parts of WinSetupFromUSB were used for Creating Make_USB.exe

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

From Tutorial at BootLand: http://www.boot-land...?showtopic=5306

The original topic was started on July 29, 2008 and was closed at January 4, 2010
because it was often inaccessible due to overload (nr of pageviews was 132.698)

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



#2 Lancelot

Lancelot

    Frequent Member

  • .script developer
  • 5013 posts
  • Location:Turkiye/Izmir
  • Interests:*Mechanical stuff and Physics,
    *LiveXP, BartPE, SherpyaXPE,
    *Basketball and Looong Walking,
    *Buying outwear for my girlf (Reason: Girls are stupid about buying bad stuff to make themselves uglier :))
    *Girls (Lyric: Girl,...., You will be a womann, Soon)
    *Answering questions for "Meaning of life",
    *Helping people,

    Kung with LiveXP, Fu with Peter :)
  •  
    Turkey

Posted 04 January 2010 - 10:50 AM

Thanks a lot wimb

old topic closed, new topic pinned and most important, now easly accessable :)

#3 wimb

wimb

    Platinum Member

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

Posted 23 January 2010 - 11:55 AM

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

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

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

Making Windows PE 3.0 ISO using AIK for Windows 7

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. Create PE working directory winpe3_x86 using Deployment Tools Command Prompt
Start Programs > Microsoft Windows AIK > Deployment Tools Command Prompt
C:\Program Files\Windows AIK\Tools\PETools>

Creating Windows PE customization working directory winpe3_x86, Change for your destination drive, my drive was F:
copype.cmd x86 F&#58;\winpe3_x86
Deployment Tools Command Prompt changes to Windows PE customization working directory

Step 3. Mount boot.wim in folder winpe3_x86\mount

First Copy winpe.wim as file boot.wim to folder winpe3_x86\ISO\sources
In this way we keep winpe.wim unchanged and ready to start from scratch for making a new image.
xcopy.exe F&#58;\winpe3_x86\winpe.wim F&#58;\winpe3_x86\ISO\sources\boot.wim

Mount boot.wim in folder winpe3_x86\mount
imagex.exe /mountrw F&#58;\winpe3_x86\ISO\sources\boot.wim 1 F&#58;\winpe3_x86\mount

Step 4. Improve Windows PE 3.0 - Add Desktop folder and Autolaunch of PStart Menu
Add Browse for Folder support by making (empty) Desktop folder in Windows\System32\config\systemprofile folder.
In Windows Explorer folder F:\winpe3_x86\mount\Windows\System32\config\systemprofile make (empty) folder Desktop
Thanks to allanf for telling me this way to get Browse for Folder support in Windows PE

Add some dll files from system32 folder of Windows 7 needed for support of some Portable Programs.
ImgBurn needs msacm32.dll and shfolder.dll
ImDisk needs crtdll.dll
HandyRecovery and HD Tune need oledlg.dll

Copy from system32 folder of Windows 7 to folder F:\winpe3_x86\mount\Windows\System32
crtdll.dll

msacm32.dll

oledlg.dll

shfolder.dll

Use startnet.cmd for Autolaunch of PStart.exe from U_XP_SET folder.
Edit file F:\winpe3_x86\mount\Windows\System32\startnet.cmd

winpe3_x86\mount\Windows\System32\startnet.cmd
wpeinit

@ECHO OFF

for %%i in &#40;C D E F G H I J K L M N O P Q R S T U V W X Y Z&#41; do if exist %%i&#58;\U_XP_SET\PStart.exe Start %%i&#58;\U_XP_SET\PStart.exe
If desired you may add to Install FileDisk Driver as described by bishooman
http://www.msfn.org/...dd-t139654.html

Close Windows Explorer

Step 5. Unmount and Commit changes in boot.wim
imagex.exe /unmount /commit F&#58;\winpe3_x86\mount

Step 6. Create Windows PE 3.0 ISO
oscdimg.exe -n -m -o -bF&#58;\winpe3_x86\etfsboot.com F&#58;\winpe3_x86\ISO F&#58;\winpe3_x86\pe3.iso
pe3.iso of about 135 MB has been created in folder winpe3_x86

Step 7. Install pe3.iso as GRUB4DOS boot option on HDD or USB
Use BOOT_IMG.exe of U_XP_SET to Install pe3.iso of about 135 MB as GRUB4DOS boot option on HDD or USB
Copy folder U_XP_SET to Root of HDD or USB drive to provide PStart Menu for portable programs.

GRUB4DOS menu.lst entry
title Boot pe3.iso - ISO

find --set-root --ignore-floppies /pe3.iso

map /pe3.iso &#40;0xff&#41;

map --hook

root &#40;0xff&#41;

chainloader &#40;0xff&#41;/BOOTMGR

Step 8. Reboot with pe3.iso from GRUB4DOS Menu on HDD or USB
Boot with 135 MB pe3.iso in 30 sec from HDD or in 4 min from USB-stick.


Step 9. 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...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...showtopic=10126

Mounting XPSETUP.ISO in ImDisk Virtual Drive
=
Posted Image
=

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

Windows PE 3.0 with Partition Manager and Internet - Opera Portable and PENetwork.exe
=
Posted Image

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

#4 wimb

wimb

    Platinum Member

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

Posted 27 January 2010 - 11:59 AM

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

#5 hjkl

hjkl
  • Members
  • 1 posts
  •  
    United Kingdom

Posted 13 February 2010 - 11:38 PM

Thanks very much for this. I had a lot of trouble installing on a machine with an usual bios with the usb_multiboot.cmd method but this worked perfectly.

#6 mrx1

mrx1
  • Members
  • 5 posts

Posted 03 November 2010 - 04:34 PM

First of all thanks for this gret topic, i am an average pc user trying to fulfill this tutorial but i have questions to clarify things.
What i would like to know is about the boot image file used to load pe environment, is it the iso file created using winbuilder or something else.
also do i choose this iso file location for both Make_USB.exe and BOOT_IMG.exe
Posted Image
Posted Image

#7 wimb

wimb

    Platinum Member

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

Posted 03 November 2010 - 04:47 PM

What i would like to know is about the boot image file used to load pe environment, is it the iso file created using winbuilder or something else.
also do i choose this iso file location for both Make_USB.exe and BOOT_IMG.exe

The example given is LiveXP PE Boot Image made with WinBuilder in one of the Projects of amalux
http://www.boot-land...?showtopic=4111

But you can use any PE Boot Image derived from XP and suitable to you in any of the mentioned programs.

:hyper:

#8 crashnburn

crashnburn

    Frequent Member

  • Advanced user
  • 136 posts

Posted 31 March 2011 - 11:36 AM

Nice. I like this version.

#9 wimb

wimb

    Platinum Member

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

Posted 27 February 2012 - 09:44 AM

-
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...showtopic=24424
- Info Make_PE3 - http://www.911cd.net...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 - http://www.msfn.org/...-winntsetup-v2/
5. Reboot from Target Drive and Install XP or Windows 7

Instead of Booting with 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_XPHelp_Info folder

Info IMG_XP - http://www.911cd.net...showtopic=23553

Download - IMG_XP


:cheers:





Also tagged with one or more of these keywords: tutorial

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users