Jump to content











Photo

Install XP from USB AFTER Booting with PE from HDD or USB


  • This topic is locked This topic is locked
316 replies to this topic

#1 wimb

wimb

    Gold Member

  • Developer
  • 2,149 posts
  •  
    Netherlands

Posted 29 July 2008 - 12:22 PM

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

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

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

*** Install XP from USB AFTER Booting with PE from HDD or USB ***

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
  • 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.
Direct Download - U-XP-SET - mirror - (Thanks to Siginet)
=
Posted Image Posted Image
=
Posted Image Posted Image
=

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 Winbuilder\Workbench\Common\BootSDI\setupldr.bin and ramdisk.sys to USB_XP_Setup\makebt\srsp1 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 = \device\harddisk1\partition1

In this case change file %instdrive%\txtsetup.sif and %instdrive%\$WIN_NT$.~BT\txtsetup.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: \\ComputerName\ShareName
User: ComputerName\UserName
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$.~BT\winnt.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$\$1\Drivers
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>\Projects\LiveXP\Apps\System 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>\ISO\Ram\I386
ramdisk.sys and setupldr.bin of Windows Server 2003 SP1 must be in <WinBuilder>\Workbench\Common\BootSDI 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 makebt\Mount_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$\$1\Drivers is copied to C:\Drivers
and $OEM$\$1\Install\DriverForge.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_SET\USB_XP_Setup\w_sif\winnt.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%\INSTALL\SetupPar.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_SET\USB_XP_Setup\usb_cfg_extra\INSTALL_PRGS_WPI\WPIScripts

In WPI script there is the option to run SFC /purgecache which deletes the dll cache
by deleting the files in Folder C:\WINDOWS\system32\dllcache
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

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

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_SET\USB_XP_Setup\usb_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_SET\USB_XP_Setup\makebt folder
  • Support for VistaPE on MultiBoot USB-stick was made, where you can use the Vista Add Extra Source Selector to Select your VistaPE\Target\VistaPE-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
    I386\SYSTEM32\DRIVERS\RAMDISK.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 RAM
    
    find --set-root --ignore-floppies /pmagic-4.0.iso
    
    map --mem /pmagic-4.0.iso &#40;0xff&#41;
    
    map --hook
    
    root &#40;0xff&#41;
    
    chainloader &#40;0xff&#41;

    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.

=
Posted Image
=
================================================================================

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_SET\USB_XP_Setup\makebt\imdiskinst.exe
You will find the Image files made with Make_IMG.exe in U_XP_SET\USB_XP_Setup\makebt\make_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

=
Posted Image
=

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

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

Posted Image

=

Program Direct Download - U-XP-SET - mirror
Live XP Script Download - U-XP-SET Script - mirror
Browse Folder Downloads - http://wimb.winbuilder.net/downloads/ - mirror - (Thanks to Siginet)

=
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

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

#2 was_jaclaz

was_jaclaz

    Finder

  • Advanced user
  • 7,098 posts
  • Location:Gone in the mist
  •  
    Italy

Posted 29 July 2008 - 03:58 PM

Very, very good. :cheers:

But noone has yet found the time/interest/will to answer my long time question:
http://www.boot-land...p?showtopic=644
http://www.boot-land...?showtopic=2623

A .script for winbuilder or BartPE configuration to build the ABSOLUTE MINIMAL PE capable of running WINNT32.EXE... :cheers:


jaclaz

#3 Lancelot

Lancelot

    Frequent Member

  • .script developer
  • 5,013 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 30 July 2008 - 09:36 AM

:cheers:
i start winpe with .iso
copy xp setup files to C:\winsetup folder
i double click C:\winsetup\i386\winnt32.exe
then eject .iso and restart
setup started and continued with success. :cheers:

Probably (havent make trial on that) same method can be used with starting livexp in bootsdi.img on usb but this time as usb is c:\ maybe before restart there maybe a need to change source line in txtsetup.sif (D:\winsetup to C:\winsetup)
(i am not sure if only changing line in txtsetup.sif is enough or not)

the method i wrote seem to me more easier than the method wimp wrote.

Please correct me if i am wrong, i still have a rookie rank. :cheers:

#4 wimb

wimb

    Gold Member

  • Developer
  • 2,149 posts
  •  
    Netherlands

Posted 30 July 2008 - 10:33 AM

A .script for winbuilder or BartPE configuration to build the ABSOLUTE MINIMAL PE capable of running WINNT32.EXE... :cheers:

Using WINNT32.EXE for making a $WIN_NT$.~LS LocalSource folder is rather ERROR sensitive.
Especially when Update Packs in XP-SP3 are Integrated it occurs that Files are not found by XP Setup.

The NEW way of 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.
XP Setup Source Folder can be on USB-stick or on partition 1 of USB-HDD or second HDD-Drive.
The XP Source might even be on CD/DVD, but that was not the problem.
So the $WIN_NT$.~LS of about 500 MB is not made in this NEW way of Install XP from USB,
this saves time and there is no risk of loosing files during the XP Setup process.

The advantage of the present technique is that there are no changes needed in the BIOS Setting.
Booting for XP Setup occurs from the C-Install Drive.
In the case of XP OS the USB-stick does not need to be bootable
and it is not needed that the motherboard supports booting from USB.

#5 was_jaclaz

was_jaclaz

    Finder

  • Advanced user
  • 7,098 posts
  • Location:Gone in the mist
  •  
    Italy

Posted 30 July 2008 - 10:51 AM

OK, let me rephrase, the MINIMAL BartPE or Winbuilder to partition and format the HD and run your way to "Create the XP BootFolder $WIN_NT$.~BT" :cheers:

Would picoXP be enough?
Would XPCLI ? (running Swissknife for the partitioning)
Would possibly a picoXP + Swissknife?

Smaller build=faster booting time :cheers:

:cheers:

jaclaz

#6 wimb

wimb

    Gold Member

  • Developer
  • 2,149 posts
  •  
    Netherlands

Posted 30 July 2008 - 11:07 AM

Booting with WinBuilder075 LiveXP BootSDI.img of 130 MB from HDD takes only 1 minute.
The advantage is that you have XP like environment where you can decide
e.g. to make first a Ghost Backup of your system or to do any other interesting task.

So I think the time to make the BootFolder according to the NEW procedure
is already taking the minimum amount of time and LiveXP PE supplies a full featured XP like environment. :cheers:

#7 was_jaclaz

was_jaclaz

    Finder

  • Advanced user
  • 7,098 posts
  • Location:Gone in the mist
  •  
    Italy

Posted 30 July 2008 - 11:38 AM

Still, if 130 Mb take 60 seconds, an XPCLI or picoXP of about 25 Mb will take something like 20 or 30 seconds. :cheers:

jaclaz

#8 wimb

wimb

    Gold Member

  • Developer
  • 2,149 posts
  •  
    Netherlands

Posted 30 July 2008 - 11:47 AM

Still, if 130 Mb take 60 seconds, an XPCLI or picoXP of about 25 Mb will take something like 20 or 30 seconds. :cheers:

jaclaz

May be, but I would really miss the nice GUI Interface of LiveXP wth Disk Manager etc. :cheers:
The only 1 minute for booting into LiveXP PE environment is well spend time ....

#9 Lancelot

Lancelot

    Frequent Member

  • .script developer
  • 5,013 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 30 July 2008 - 12:13 PM

@wimp:
i need a little help here, :cheers:
What i am tryin to do is, putting all windows setup files to C:\ and start setup of xp with without winnt32.exe so it will be more automized and fast.
in my trials i got an error message: http://img253.images...052/e235hz8.png
so before USB_XP_Setup.cmd i used "bootsect.exe /nt52 C:" command so no error in picture anymore:

here what i do:
------------------------------------------
i put "USB_XP_Setup" folder to B: (ram drive)
i double click C:\USB_XP_Setup\USB_XP_Setup.cmd
i changed usb stick to usb harddisk (i tried usb stick too)
for source: X:\source_XP_SP3_ENU
for install driver: C (so in screen it shows C:)
than i press 3 and everything worked fine.

i copy X:\source_XP_SP3_ENU to C:\ and rename it XPPRO so--->C:\XPPRO

i add/change lines in C:\TXTSETUP.SIF and C:\$WIN_NT$.~BT\txtsetup.sif with these information

[SetupData]
SetupSourcePath = "\XPPRO\"
SetupSourceDevice = \device\harddisk1\partition1

i restarted from hd and choose "Microsoft Windows XP Professional Setup"
setup starts with this
http://img375.images...9617/001hi6.png
put hangs here:
http://img253.images...1792/002oj6.png


so i changed lines to
SetupSourceDevice = \device\harddisk0\partition1
this time setup starts but stops here:
http://img375.images.../311/003ov7.png
and continues to copy files, and after it finishes it restarts and continue setupping windows in its gui mode.
------------------------------------------

-does this utility support xpx64 and 2003x64?
-suggestion, can there be an option to use "bootsect.exe /nt52 C:" in USB_XP_Setup.cmd??
-when i try to put source as C:\XPPRO , USB_XP_Setup.cmd gave an error saying source and destination shouldnt be same, maybe there can be a WinPE_XP_Setup.cmd ???


as i say before, i am a rookie, sorry if i did sth wrong.

@jaclaz:
i can test wimb's utility at picoxp after these trials if you want :cheers: .

#10 was_jaclaz

was_jaclaz

    Finder

  • Advanced user
  • 7,098 posts
  • Location:Gone in the mist
  •  
    Italy

Posted 30 July 2008 - 12:49 PM

@Lancelot
I think it would be better if you start a new thread about your "different" approach, as not to go off-topic on this one.

Thanks for the offer to do some tests, it's much appreciated. :cheers:

@wimb
You know how we have a different "design" phylosophy. :cheers:

If I am allowed to make a comparison with U.S. Robotics (not the actual firm, the fictional one by Isaac Asimov), you are "traditional" in designing all-doing humanoid robots (or apps), whilst I am more like developing a number of VERY specialised non-humanoid ones, as in this:
http://en.wikipedia...._Mindful_of_Him

You are (BTW VERY well :cheers:) going in the direction of adding features to do more things, I aim to remove unused or unneeded things to get to the core of requred functionality for each task. :cheers:

:cheers:

jaclaz

P.S.: XPCLI with bblean and miniexplorer + Swissknife ain't that shabby as well, as I see it. :cheers:

#11 wimb

wimb

    Gold Member

  • Developer
  • 2,149 posts
  •  
    Netherlands

Posted 30 July 2008 - 02:06 PM

@Lancelot
I think it is better to try the procedure first as it is meant and described in my first post:

  • USB_XP_SETUP.cmd makes XP Setup BootFolder $WIN_NT$.~BT on C-partition of HDD Install-Drive
  • Use first BOOT_IMG.cmd to make LiveXP or BartPE Boot Image on XP C-HDD and to make entry in boot.ini Menu.
  • Connect USB-drive having XP Source in partition 1 and Reboot from C-HDD into PE Environment
  • Then for Fresh Install, Quick Format your C Install-Drive using Drive Explorer
  • Then Run Program USB_XP_SETUP.cmd to make BootFolder on Target Install-Drive
  • Install of XP on Target Drive can be Selected when Rebooting Computer from C-Target Drive

Your "different" approach is the source of your problems :cheers:

#12 wimb

wimb

    Gold Member

  • Developer
  • 2,149 posts
  •  
    Netherlands

Posted 01 August 2008 - 02:50 PM

Booting with LiveXP from Vista Harddisk requires to make an Entry in the BCD Store
used for Vista's Boot Menu.

For VISTA it is handy to use EasyBCD and to Install NeoGrub from Add / Remove Entries Menu
NeoGrub corresponds to GRUB4DOS and works with menu.lst in Root dir

Download EasyBCD 1.7.2 from http://neosmart.net/dl.php?id=1

We need to add two extra XP files NTDETECT.COM and BOOTFONT.BIN to the Vista's Root Directory.
The BOOT_IMG.cmd program was changed slightly to support also booting with LiveXP from Vista Harddisk.

The Attachment in post #1 was Updated accordingly.

#13 magic12kenneth

magic12kenneth

    Member

  • Members
  • 79 posts
  •  
    United States

Posted 07 August 2008 - 09:54 PM

wimb,

First of all, thanks for creating this aswsome new procedure to install Windows XP from USB after booting from hard drive.

I have a quick question. I'm trying to help someone install Windows XP from a laptop without floppy drive, cd/dvd drive or usb boot. I swap the hard drive from his laptop over to my laptop that have a bootable USB or cd/dvd drive. I want to off my laptop using LiveXP from USB and then create a bootable LiveXP on his hard drive using the Boot_IMG.cmd.

However, when I try to create a bootable LiveXP on my USB flash drive using the Boot_IMG.cmd, I notice the boot.ini keep pointing to C: hard drive. Is the current version able to create a LiveXP usb bootable? I assume it can because the title said "Install XP from USB after booting with PE from HDD or USB".

If it can, how do I make a bootable LiveXP USB then?

I have a few feature requests:

Feature 1: If you do plan to add the LiveXP Bootable USB feature to the Boot_IMG.cmd, you can change the UI flow with the following screen title:

Screen 1: Welcome Screen

This is first screen you see with introduction and tips.

Screen 2: Create Bootable Drive

1. Create a bootable LiveXP Hard Drive
2. Create a bootable LiveXP USB Drive
3. Exit

Screen 3: Create a LiveXP bootable Hard Drive

Screen 3: Create a LiveXP bootable USB drive


Feature 2. I notice if your drive doesn't have enough space to copy the LiveXP.iso to the USB, it should display a warning message to let the user know.

Feature 3: If the LiveXP.iso already exist, have another option "Keep the current LiveXP.iso" to save the time without have to replace it again if it is same. Specially on a slow usb drive, it takes some time.

Thanks again.

Kenneth

#14 magic12kenneth

magic12kenneth

    Member

  • Members
  • 79 posts
  •  
    United States

Posted 08 August 2008 - 07:33 AM

Hi,

I'm getting this error message during the screen when trying to boot LiveXP.iso:

"txtsetup.sif is corrupt or missing"

Anyone know why I'm getting this?

I'm using the ISO\LiveXP.iso that I created with BootSDI option.

Kenneth

#15 was_jaclaz

was_jaclaz

    Finder

  • Advanced user
  • 7,098 posts
  • Location:Gone in the mist
  •  
    Italy

Posted 08 August 2008 - 07:37 AM

I am not sure I have understood fully your question, but I think that you should know that in "BOOT.INI" language a line like:
C&#58;\bootsect.bs=&#34;A bootsector&#34;

Translate in plain English to:
Add a choice in BOOT.INI displaying text "A bootsector";
When selected, chainload the file "bootsect.bs" from ROOT of the SAME volume where BOOT.INI resides, WHATEVER it might be.

jaclaz

#16 was_jaclaz

was_jaclaz

    Finder

  • Advanced user
  • 7,098 posts
  • Location:Gone in the mist
  •  
    Italy

Posted 08 August 2008 - 08:43 AM

Hi,

I'm getting this error message during the screen when trying to boot LiveXP.iso:

"txtsetup.sif is corrupt or missing"

Anyone know why I'm getting this?

I'm using the ISO\LiveXP.iso that I created with BootSDI option.

Kenneth


I guess you have got something wrong. :cheers:

The "output" of a "BootSDI" project should not be .iso, but rather a RAW disk image, BootSDI.img.

Re-check thoroghfully the Amalux Tutorial:
http://www.boot-land...?showtopic=4111

check also this seemingly unrelated thread, I presume you are trying to do the same kind of "Matryoshka" booting yurry attempted :cheers::
http://www.boot-land...?showtopic=4952

jaclaz

#17 magic12kenneth

magic12kenneth

    Member

  • Members
  • 79 posts
  •  
    United States

Posted 08 August 2008 - 09:13 AM

I guess you have got something wrong. :cheers:

The "output" of a "BootSDI" project should not be .iso, but rather a RAW disk image, BootSDI.img.

Re-check thoroghfully the Amalux Tutorial:
http://www.boot-land...?showtopic=4111

check also this seemingly unrelated thread, I presume you are trying to do the same kind of "Matryoshka" booting yurry attempted :cheers::
http://www.boot-land...?showtopic=4952

jaclaz


Thanks for your quick reply. I will try it again using the BootSDI.img from my D:\LiveXP\ISO\Ram\I386 folder. I'll let you know what happen.

Can you verify if I the steps I use the Boot_Img.cmd to create a LiveXP bootable hard drive is correct?

1. Run BOOT_IMG.cmd

2. Press 1 to select the location to PE image to D:\LiveXP\ISO\Ram\I386\BootSDI.img folder

3. Press 2 to select the boot-drive traget as C: hard drive.

4. Press 3 to copy the PE image to the boot drive and make it bootable.

I left all other options as default.

Do I use the same steps as above to create a bootable LiveXP from USB Flash Drive? But only change the boot-drive traget as G: usb flash drive. I ask because that's what I did but I can't get it to work.

I tried do it by selecting the usb drive letter instead of my C: hard drive for "2. Give Boot-Drive Target" setting in the Boot_IMG.cmd screen. It copies the BootSDI.img and creates the bootable filesto the USB flash drive.

But when I boot from USB flash drive, it tries to look for the BootSDI.img from C: hard drive instead of the USB flash drive in boot.ini.

Then I decided to change the "C:\BootSDI.img" to "U:\BootSDI.img" since the migrated drive letter is set to U:. But still couldn't boot and can't find the U:\BootSDI.img.

Is this the proper steps to create a bootable LiveXP USB as describe above?

Basically I wanted to create a bootable LiveXP from hard drive and also from USB flash drive.

Because I'm trying to help my friend reinstall Windows XP for his laptop without a floppy drive, cd/dvd drive or usb device. I'm thinking transfer his hard drive over to my laptop and then boot off from LiveXP usb drive and then create a bootable LiveXP on his hard drive. Then transfer it back to laptop and boot off LiveXP and run Windows XP setup.

Any hints is greatly appreciate.

I will read those links you provided. Thanks.

Kenneth

#18 magic12kenneth

magic12kenneth

    Member

  • Members
  • 79 posts
  •  
    United States

Posted 11 August 2008 - 03:13 AM

Instead of using the LiveXP.iso, I use the bootSDI.img and it works fine when starting from c: hard drive. Thanks for the tip jaclaz.

I still couldn't get it to boot LiveXP off my usb drive using the Boot_IMG.cmd. Does Boot_IMG.cmd only works for booting from hard drive?

Kenneth

#19 was_jaclaz

was_jaclaz

    Finder

  • Advanced user
  • 7,098 posts
  • Location:Gone in the mist
  •  
    Italy

Posted 11 August 2008 - 09:32 AM

Most probably you introduced some changes or took a "wrong" choice in the procedure.

What you should do is (for the moment :cheers:) FORGET about BOOTIMG.CMD.

You should have on your stick:
NTLDR
NTDETECT.COM
grldr <- from grub4dos
SETUPLDR.BIN <- unmodified from Server 2003 SP1 or R2 NOT SP2
BootSDI.img

BOOT.INI with this content:
[boot loader]timeout=30default=C:\grldr[operating systems]C:\grldr="grub4dos"multi(0)disk(0)rdisk(1)partition(1)\Windows="Windows XP on HD" /fastdetect
menu.lst with this content:
[SetupData]BootDevice="ramdisk(0)"BootPath="\i386\System32\"OsLoadOptions="/noguiboot /fastdetect /minint /rdexportashd /rdpath=BootSDIimg"


Get grub4dos 14-05-2008 here:
http://grub4dos.jot.com/WikiHome
http://grub4dos.jot....-2008-05-14.zip?

What happens?

jaclaz

#20 amalux

amalux

    Platinum Member

  • Tutorial Writer
  • 2,813 posts
  •  
    United States

Posted 12 August 2008 - 11:51 PM

Hi wimb,

Just tried this and it works flawlessly ;) , wonderful tutorial, easy setup and your command scripts are brilliant :whistling: LiveXP booted to full desktop in under 30 seconds from the boot menu and everything worked as expected. I can't wait to try your other tutorials and programs, thank you for this great service and keep up the good work ;)

#21 wimb

wimb

    Gold Member

  • Developer
  • 2,149 posts
  •  
    Netherlands

Posted 13 August 2008 - 04:49 AM

Hi wimb,

Just tried this and it works flawlessly :whistling: , wonderful tutorial, easy setup and your command scripts are brilliant ;) LiveXP booted to full desktop in under 30 seconds from the boot menu and everything worked as expected. I can't wait to try your other tutorials and programs, thank you for this great service and keep up the good work ;)

Thanks for your appreciation ;)

Your Tutorial on LiveXP and on using BootSDI.img files has helped me a lot in realising this result. ;)
http://www.boot-land...?showtopic=4111

The pre-packaged Downloads of WinBuilder for making BootSDI.img files were also very useful to me.

#22 magic12kenneth

magic12kenneth

    Member

  • Members
  • 79 posts
  •  
    United States

Posted 13 August 2008 - 06:34 PM

Most probably you introduced some changes or took a "wrong" choice in the procedure.

What you should do is (for the moment :whistling:) FORGET about BOOTIMG.CMD.

You should have on your stick:
NTLDR
NTDETECT.COM
grldr <- from grub4dos
SETUPLDR.BIN <- unmodified from Server 2003 SP1 or R2 NOT SP2
BootSDI.img

BOOT.INI with this content:

[boot loader]timeout=30default=C:\grldr[operating systems]C:\grldr="grub4dos"multi(0)disk(0)rdisk(1)partition(1)\Windows="Windows XP on HD" /fastdetect
menu.lst with this content:
[SetupData]BootDevice="ramdisk(0)"BootPath="\i386\System32\"OsLoadOptions="/noguiboot /fastdetect /minint /rdexportashd /rdpath=BootSDIimg"
Get grub4dos 14-05-2008 here:http://grub4dos.jot.com/WikiHomehttp://grub4dos.jot.com/WikiHome/grub4dos-...-2008-05-14.zip?
What happens?

jaclaz


Sorry it took me so long to get back to you. I was a bit busy working with Wimb on how to use USB_XP_Setup so I can write a tutorial for other users.

I put all the files in my USB stick. I boot it my computer from USB drive. I get an error message "NTLDR Fatal Error 1 reading boot.ini.

Note that I can boot from DOS or Linux from this Sony USB stick. I have Windows XP SP3 on my C: hard drive.

Kenneth

#23 was_jaclaz

was_jaclaz

    Finder

  • Advanced user
  • 7,098 posts
  • Location:Gone in the mist
  •  
    Italy

Posted 19 August 2008 - 01:42 PM

Sorry it took me so long to get back to you. I was a bit busy working with Wimb on how to use USB_XP_Setup so I can write a tutorial for other users.

I put all the files in my USB stick. I boot it my computer from USB drive. I get an error message "NTLDR Fatal Error 1 reading boot.ini.

Note that I can boot from DOS or Linux from this Sony USB stick. I have Windows XP SP3 on my C: hard drive.

Kenneth


That is VERY strange. :whistling:

Delete ALL files from the stick.
Copy to it (in this order):
NTLDR
NTDETECT.COM
BOOT.INI

Try booting from it, you should get to the BOOT.INI choices.

Is it possible that a BOOT.INI copied and pasted from the board is not valid?

Use NOTEPAD, and make sure that you save the file as a "normal" .txt file, ANSI, NOT UTF-8, NOT UNICODE, NOT Big-Endian UNICODE.

jaclaz

#24 magic12kenneth

magic12kenneth

    Member

  • Members
  • 79 posts
  •  
    United States

Posted 19 August 2008 - 09:19 PM

That is VERY strange. :whistling:

Delete ALL files from the stick.
Copy to it (in this order):
NTLDR
NTDETECT.COM
BOOT.INI

Try booting from it, you should get to the BOOT.INI choices.

Is it possible that a BOOT.INI copied and pasted from the board is not valid?

Use NOTEPAD, and make sure that you save the file as a "normal" .txt file, ANSI, NOT UTF-8, NOT UNICODE, NOT Big-Endian UNICODE.

jaclaz


I'll try it tonight after work. I did find out something that is interesting.

I have three USB flash drive. Sony is 130MB, No_Brand_1 is 230MB, and No_Brand_2 is 1G. The BIOS see both Sony and No_Brand_1 drives as a removable drive while No_Brand_2 drive as USB HDD.

It can boot using No_Brand_2 drive but not the other two. What is your conclusion on this?

Kenneth

#25 Lancelot

Lancelot

    Frequent Member

  • .script developer
  • 5,013 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 19 August 2008 - 09:32 PM

magic12kenneth

in usb device section of your bios, change setting from auto to hd.

For example if you use asus p5b
Bios-->Advanced-->USB Configuration-->Legacy USB Support-->USB Mass Storage Device Configuration-->Emulation Type-->Auto
change Auto to Harddisk

ps: "asus p5b" bios is only for help purpose of what you are looking for in bios, if you have diff. motherboard/bios, you should find this in the way it writes in your bios.

:whistling:




3 user(s) are reading this topic

0 members, 3 guests, 0 anonymous users