Help - Search - Members - Calendar
Full Version: Install XP from USB
Boot Land > Groups > Tutorials
Pages: 1, 2, 3
wimb
================================================================================

***** USB_MultiBoot.cmd - Install XP from USB *****

1. Introduction

The Batch Program USB_MultiBoot.cmd can prepare a Bootable USB-Stick,
which can be used for Install of XP from USB.
Install from USB-Drive is of general use, convenient and faster than Install from CD or DVD,
but is limited to computers that are bootable from USB, as determined by BIOS and Motherboard.
Updating and Changing an USB-stick is also easier than preparing a new Bootable CD or DVD.
Install of XP from USB is very useful when the computer has no optical drive,
like e.g. ASUS Eee subnotebook.

Preparing a Bootable USB-Drive with USB_MultiBoot.cmd Involves:

  • Format USB-stick like a Bootable Harddisk Drive with NTLDR BootSector
    using PeToUSB or HP USB Format Tool
  • Select from the Main Menu of USB_MultiBoot.cmd
    1 - Give XP Setup Source Folder and give UserData for XP Setup
    2 - Give USB-Drive Target
    3 - Make Bootable USB-Drive with XP Setup Folders
Install of XP from USB requires to Reboot from USB-Drive
and Select from Boot Menu: 1. Begin TXT Mode Setup Windows XP

- Download Direct from CD Forum: USB_MultiBoot_10.zip

Or from BootLand Forum: USB_MultiBoot_10.zip smile.gif

Or from Mirror (Thanks to Siginet) - USB_MultiBoot_10.zip

- Unpack USB_MultiBoot.zip to your Harddisk in a simple Path without SPACES.

USB_MultiBoot.cmd is Vista Compatible, but requires User Account Control OFF.
In this case a BOOTMGR type BootSector is made when Formatting the USB-Drive.
Such Bootsector is Detected and Auto Converted by BootSect.exe to
NTLDR type Bootsector required for booting with boot.ini Menu
XP as OS is Preferred for Speed of FileCopy to USB ( 10 min instead of 30 minutes for Vista OS )

The procedure for Install of Windows XP from bootable USB-stick was developed by
ilko_t , jaclaz , cdob, porear and wimb at MSFN Forum

- Install XP from USB at MSFN Forum http://www.msfn.org/board/Install-XP-from-USB-f157.html

- List of FAQs http://www.msfn.org/board/FAQs-t116766.html

- More Info See Guide with ScreenShots

- More Help with Bookmarks is available in the Help_Info Folder in USB_MultiBoot.zip

- Use of MultiBoot.cmd and everything in this Guide is COMPLETELY at your own risk.


2. XP-Source Preparation - *** BEFORE YOU START ***

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

Siginet's RyanVM Integrator or nLite can be used to Integrate Windows UpdatePacks in the XP-Source.
http://integrator.siginetsoftware.com/index.php?download
http://www.nliteos.com/

Windows XP UpdatePacks and Addons:
http://www.ryanvm.net/msfn/
http://www.ryanvm.net/msfn/updatepack-sp2.html
http://integrator.siginetsoftware.com/index.php?addons
http://www.ryanvm.net/forum/

Supports the use of BTS DriverPacks located in OEM Folder on USB-Drive
http://driverpacks.net/DriverPacks/
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 USB-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.

The Complete XP-Source is Copied by USB_MultiBoot.cmd to XP LocalSource Folder $WIN_NT$.~LS on USB-Drive
Computation of Estimated XP Folder Size is used to prevent USB-stick overflow
and includes $WIN_NT$.~BT + cmpnents + I386 + AMD64 + $OEM$ + OEM Folders.

Excluding LANG and WIN98X Folders from Copy to USB can be Selected
from USB_MultiBoot.cmd Main Menu, which reduces the XP-Source on USB-Drive by 135 MB
Reduction of the XP WINDOWS Folder can be achieved with nLite
but do NOT select Operating System Options-->Manual Install and Upgrade for removal.
If you did you will get BSOD, error 0x0000006F during Text mode Setup of Windows XP.

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

3. Making Bootable USB-Drive with USB_MultiBoot.cmd

- Remove all other Removable Drives, like USB Backup Harddisks and Memory Cards
- Use USB-stick with High Read/Write Speed of about 15 MB/sec
- Unpack USB_MultiBoot.zip to your Harddisk in a simple Path without SPACES.

- Launch USB_MultiBoot.cmd and Display the Format Menu
- Format USB-Drive with FAT or NTFS - FAT32 is very SLOW for Install of XP

  • P) - PeToUSB - FAT Format - Max 2 GB
    To Format USB-Drive : Enable Disk Format with LBA FAT16X
    Do NOT Select here FileCopy of BartPE
    FAT Format Supports Direct Booting with MS-DOS using MULTI_CONTENT
    Install of XP from USB in 30 minutes - Buffalo FireStix 2 GB

  • H) - HP USB Disk Storage Format Tool V2.0.6 - NTFS Format - use X_CONTENT
    NTFS Format Supports DOS Boot Floppy Images via GRUB4DOS Menu
    Install of XP from USB in 16 minutes - Corsair Flash Voyager 4 GB
    Do NOT use HP Tool for USB-Harddisks having more than 1 Partition
    WARNING - HP Tool Formats whole Disk - Second Partition is Lost

  • N) - No Format - Use USB-Drive with FAT or NTFS Format by Windows XP
    Or Update Existing Bootable USB-Drive having NTLDR Bootsector
- For USB-Harddisk use Main Menu Option 0) to Change USB-stick in USB-Harddisk.
Because that makes that rdummy.sys is used and this is essential for using USB-Harddisk.
rdummy.sys makes Fixed USB-Harddisk seen in XP Setup as Removable Device.

- Select from the Main Menu of USB_MultiBoot.cmd
1 - Give XP Setup Source Folder and give UserData for XP Setup
2 - Give USB-Drive Target
3 - Make Bootable USB-Drive with XP Setup Folders

Click to view attachment


4. XP Setup Parameters in winnt.sif file and $OEM$ folder

Display and Edit of the 8 required parameters for Unattended Setup allows
to give your ProductKey and TimeZone used in Current_winnt.sif Copy of your winnt.sif file.
The Current_winnt.sif File is auto adjusted for Install of XP from USB and then
copied by USB_MultiBoot.cmd to $WIN_NT$.~BT folder on USB-Drive.

The file useraccounts.cmd with UserName is made in the $OEM$ Folder
copied to $WIN_NT$.~LS folder on USB-Drive.
CMDLINES.TXT is used for making UserAccounts and install of Registry Tweaks at T-12
Info see: http://unattended.msfn.org/unattended.xp/

For the Option Edit UserData for XP Setup we have:

A. Unattended Install - UserName = YourName
in winnt.sif file - unattendswitch="Yes" - UserName is used Automatically
useraccounts.cmd with UserName is created in $OEM$ Folder copied to USB-drive

B. Semi-Unattended Install - UserName = None
in winnt.sif file - unattendswitch="No" - UserNames are given Manually at Windows Welcome Screens
useraccounts.cmd is Renamed to Inactive txt file in $OEM$ Folder copied to USB-drive

C. Undefined Install - UserName = Unknown
No Changes are made in winnt.sif file or $OEM$ folder

In all cases Selecting Cancel keeps given Settings for winnt.sif file and $OEM$ folder Unchanged

Selecting Unattended Install in the Editor instead of Cancel will enable to skip the Welcome Screens
by automatic adding the unattendswitch="Yes" Setting to the [Data] Section of the Current_winnt.sif file.
The UserName given at Edit Screen 8 will not be used in the case of XPSOURCE made by nLite.

OEM or nLite winnt.sif File is detected in XPSOURCE and Auto Changed for Install of XP from USB.
In that case All Setup Parameters come from XPSOURCE and therefore Empty $OEM$_X Folder is Selected.

Windows XP file SETUPLDR.BIN is Renamed to XPSTP according to the 5-letter limit requirement
for making NTFS BootSector Files using MakeBS3.cmd of jaclaz
http://www.boot-land.net/forums/?showtopic=2362

In the Attended Install all Setup Parameters are given Manually during the GUI Mode of Setup Windows XP.
For each XP Source the Program Supports to launch Unattended or Attended Setup.
For Attended Setup a second SetupLoader XATSP is made ,
where winnt.sif is Patched as winat.sif using gsar.exe
So the extra Setup Option does not take extra space from the USB-stick.
Attended Install is always available as Extra Option in the boot.ini Menu.


5. Install of XP from USB

  • Remove all other Removable Drives, like USB Backup Harddisks and Memory Cards
    This will enable that your Computer Harddisk in XP Setup gets DriveLetter C
  • Boot with USB-Drive plugged and Press [Delete] or F2 to Enter BIOS Setup
  • Change BIOS Boot Settings:
    Harddisk is First Boot Device Type and USB-Drive is seen as First Harddisk
  • Reboot from USB-Drive and Select 1. Begin TXT Mode Setup Windows XP
    Use Only C: Drive of Computer Harddisk as Partition for Install of Windows XP
    and then Select Quick Format with NTFS FileSystem, XP Install is Automatic

    ***** NEVER UNPLUG USB-Drive ***** Until After First Logon of Windows XP

  • New Harddisk and Creating Partitions after Booting from USB-Drive:
    Direct after Deleting and Creating New partitions, Quit XP Setup with F3
    OR Switch OFF your Computer and Boot in any case from USB-Drive again and
    Run 1. TXT Mode Setup again so that DriveLetters get their Correct Value
    So in this case one Boots ** TWICE ** in the TXT-mode Setup XP

  • USB_MultiBoot.cmd can make USB-stick to be seen in XP Setup as Boot Drive U:
    In this preferred case the driveletters of Harddisk Partitions and Optical Drives
    will get there desired normal value.
    Otherwise USB-stick will get Drive Letter D: and other drives have shifted drive letter.

    The same shifting of drive letters occurs for Install from USB-Harddisk,
    for which it is not possible to make it seen as Boot Drive U: by changing migrate.inf
    After First Logon there is only 1 USB-Harddisk partition visible as Removable Drive.
    After Reboot for Second Logon then all partitions of USB-Harddisk will become visible
    as Fixed Local Drives and the highest partition number of USB-Harddisk will get DriveLetter D:
    This reversal and use of DriveLetters might be unwanted and consequently
    the use of USB-stick for XP Setup is Preferred

  • NON-STANDARD INSTALLS OF WINDOWS XP AND INSTALL OF WIN2003
    Install of Windows XP from bootable USB-Drive
    next to WINDOWS on the same or on a different partition of the harddisk,
    is possible by proper manually adjustment in advance of the BOOT.INI file on the USB-Drive.

    Adjust BOOT.INI on USB-Drive: ( Or Select Correct boot.ini Using Option B in Menu Screen )
    For Install on the Second Partition, change partition(1) in partition(2)
    For Install Next to WINDOWS, change WINDOWS to
    what will be used as Install FolderName, e.g. WINDOWS.51
    Windows Install Folder Name required according to MS-DOS 8.3 format

    So these non-standard installs are still possible,
    but require only small changes in the BOOT.INI on the USB-Drive in advance.
    Otherwise ERROR Message for Setup of WINDOWS XP: WINDOWS\system32\hal.dll file missing
    will orccur on Reboot for GUI Mode.

6. Post-Install of Drivers and Programs

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.

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 785 MB inclusive all Updates.


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

Advanced Use of USB_MultiBoot.cmd for making MultiBoot USB-Drives

7. Adding Extra Sources for Booting with BartPE, UBCD4WIN, Windows PE 2.0 and Vista Setup

BartPE - http://www.nu2.nu/pebuilder/
or
UBCD4Win - http://www.ubcd4win.com/index.htm
can be added to USB-Drive by Selecting BartPE Source Folder in the Main Menu. Remove with Cancel.

The Folder usb_cfg_extra provides scripts for BartPE Menu

Install of Vista from USB is supported and launched via GRUB4DOS Menu
http://www.msfn.org/board/vista-t114092.html&st=6
http://www.msfn.org/board/Install-Vista-fr...6.html&st=2
For Vista Install from USB, Remove on first Restart your USB-stick.

Overflow Control is used by measuring DiskSize, FreeSize, XP-Source and
Extra Source Folders using ASP Drive Object and Visual Basic Scripting.
http://www.w3schools.com/asp/asp_ref_drive.asp
http://www.robvanderwoude.com/index.html


8. Multiple XP Install from USB and Multiple PE (BartPE and UBCD4Win) Booting from USB

Multiple XP Install from USB is Supported (max 9 sources)
http://www.msfn.org/board/SOLVED-Install-M...SB-t114543.html
Run USB_MultiBoot.cmd again using New XP Source and Empty XX_CONTENT Source Folder

Multiple PE (BartPE and UBCD4Win) from USB is supported using Multi_Partition USB-Drives.
Multi-Partition an USB-stick after using INSTALL_DUMMY.cmd from makebt Folder.
When dummy.sys is Installed in your OS, then USB-sticks are seen as Fixed Local Harddisks.
In that case you can make Multiple Partition USB-sticks with NTFS format,
allowing to combine BartPE and UBCD4WIN or different Vista Versions x86 and x64
http://www.msfn.org/board/Multiple-PE-from....html&st=11
http://www.911cd.net/forums//index.php?sho...20089&st=24
Run USB_MultiBoot.cmd again using New BartPE Source and
using Empty XX_CONTENT Source Folder and No Copy of XP Source.

================================================================================
Nuno Brito
Thank you for the tutorial, hope this helps others to get this sort of method working for them.

smile.gif
Galapo
Thank you indeed!

Regards,
Galapo.
sirius
Thanks very much, Tested on 1 Gig USB and it works perfectly.
thanx 10000000000000000000000000000000000000000000000
dariush
Hello,

first thanx to wimb and the Boot-Land Team for publishing this helpful tool.
I wanted to check the tool, but there is a rootkit Malware "dummy.sys" in your file, which has been found by my Antivir programm avast 4.8 Home Edition?
What is the background of it??

regards
Dariush
jaclaz
It's a false positive, unless you are downloading from some other place.

Dummydisk.sys is a filter driver by Anton Bassov, as well as rdummy.sys.
http://www.codeproject.com/system/soviet_direct_hooking.asp
http://www.msfn.org/board/Credits-and-than...-s-t111401.html
(for the record, in this case, the "Boot-Land Team" has nothing to do with the procedure, though most members involved are at the same time here, on 911CD and on MSFN, the project was developed at MSFN):
http://www.msfn.org/board/Install-XP-from-USB-f157.html

There are two of them, "normal" one (that makes a removable USB device appear as Fixed) and a "reversed" one (that makes a Fixed device appear as Removable).

jaclaz
dariush
QUOTE (jaclaz @ Jul 29 2008, 11:58 AM) *
It's a false positive, unless you are downloading from some other place.

Dummydisk.sys is a filter driver by Anton Bassov, as well as rdummy.sys.
http://www.codeproject.com/system/soviet_direct_hooking.asp
http://www.msfn.org/board/Credits-and-than...-s-t111401.html
(for the record, in this case, the "Boot-Land Team" has nothing to do with the procedure, though most members involved are at the same time here, on 911CD and on MSFN, the project was developed at MSFN):
http://www.msfn.org/board/Install-XP-from-USB-f157.html

There are two of them, "normal" one (that makes a removable USB device appear as Fixed) and a "reversed" one (that makes a Fixed device appear as Removable).

jaclaz


MY congratulation to everyone who was involved in this project.
I tested it and IT WORKS !!!!
My Problem was an IBM thinkpad X22 without an CD-ROM drive. I have succeeded to install Win XP on it. Another problem was that the BIOS of my laptop had not the newest update, and when I tried to boot from USB that I had prepare with your tool, my BIOS did not recognize my harddisk, when an USB drive was pluuged in. So I put out my hard drive and boot from USB, and at that point when Windows setup loaded I put my hard drive in. PUUUUh. I spent a lot of time to find this workaround.
Now I am happy. Thanx a lot.

best regards
Dariush
shady
I tried this. File copying to USB drive works fine but in the mid of file copying from USB to SSD(ASUS EEE PC), I got file read error at around 50%. Some files are missing. I tried reformatting the USB drive and redo the whole process but still get file reading error. I'm using XP Pro SP 3 image for XPSOURCE. Ive tried 16GB SDHC, 2GB SD and a 2GB USB flash drive.
jaclaz
QUOTE (shady @ Jul 31 2008, 03:56 PM) *
I tried this. File copying to USB drive works fine but in the mid of file copying from USB to SSD(ASUS EEE PC), I got file read error at around 50%. Some files are missing. I tried reformatting the USB drive and redo the whole process but still get file reading error. I'm using XP Pro SP 3 image for XPSOURCE. Ive tried 16GB SDHC, 2GB SD and a 2GB USB flash drive.


Please, post this on the "main" Install XP from USB Forum:
http://www.msfn.org/board/Install-XP-from-USB-f157.html

XP SP2 normally works, but also XP SP3 has been reported as working.

Please post the more details, and the choices you took while in Multiboot USB, see this thread for an example of the info you should give.

Also, are you using English or Japanese source (maybe it's the latter that can be cause of the problem).

Are you using a "full", "untouched" source or you made ANY modification (unattended, nlite, etc.?), if you made ANY modification, please also list them.

jaclaz
ispy
Hi all biggrin.gif ,

This procedure is in reference to a penstick or USB Stick, would it also work for say a 40 gig Laptop Hard Drive within a USB2 enclosure with USB2 interface cable???

Regards & Best Wishes,

ispy unsure.gif
wimb
QUOTE (ispy @ Aug 4 2008, 10:15 PM) *
This procedure is in reference to a penstick or USB Stick, would it also work for say a 40 gig Laptop Hard Drive within a USB2 enclosure with USB2 interface cable???
It can work for USB-Harddisk as well by setting USB-Drive type to Harddisk with Option 0)

By the way there is now a NEW procedure, which might be even more interesting to you.
http://www.boot-land.net/forums/?showtopic=5306
ispy
Hi Wimb wink.gif ,

WOW! this is good stuff, Mucho Thanks! going on me hols morrow so will take external HDD and give it a go, CHEERS

Regards & thanks,

ispy thumbup.gif
MadHorse
Hello,

i found this program and tutorial amazing, but i have a little problem.
I'm able to boot from usb and to install xp, but this work just once, i explain, i need to install xp on many pc, on the first pc everything work without a problem, when i try on the second pc i'm able to boot, i can format and partitioning hard drive but when it start copying file i get a lot of can't find errors on file like:

bootvid.dll
kdcom.dll
c_1252.nls
c_437.nls
l_intl.nls
vgaoem.fon
acpi.sys
wmilib.sys
atapi.sys
disk.sys
classpnp.sys
dmio.sys
dmload.sys
ftdisk.sys and many other.

I have the same problem with another pen drive.
Hope someone can help me.

Thank you
wimb
QUOTE (MadHorse @ Aug 6 2008, 02:50 PM) *
I'm able to boot from usb and to install xp, but this work just once, i explain, i need to install xp on many pc, on the first pc everything work without a problem, when i try on the second pc i'm able to boot, i can format and partitioning hard drive but when it start copying file i get a lot of can't find errors on file like:
The procedure is OK for XP-SP2 and SP3.
If you have other XP Source, please read FAQ-5 in http://www.msfn.org/board/FAQs-t116766.html

There is however recently developed a NEW procedure using USB_XP_Setup package,
Install XP from USB AFTER Booting with PE from HDD or USB, which does not have this problem.
http://www.boot-land.net/forums/?showtopic=5306

QUOTE
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 we prefer of course to Install from fast USB-stick.
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.

I advice you to use the NEW procedure wink.gif
e2p2
Will this method work if I want to perform an Install-Repair of XP, or is this for new installs only?
wimb
QUOTE (e2p2 @ Aug 6 2008, 08:41 PM) *
Will this method work if I want to perform an Install-Repair of XP, or is this for new installs only?

USB-sticks prepared with USB_MultiBoot_10.cmd can be used for Repair Install.
Therefore a rule in boot.ini on Harddisk was made by Install XP from USB.
If not present you have to add this rule to your C:\boot.ini file prior to booting from stick.
CODE
multi(0)disk(0)rdisk(1)partition(1)\WINDOWS="USB Repair NOT to Start Microsoft Windows XP Professional" /noexecute=optin /fastdetect


The NEW Program USB_XP_Setup.cmd can be used for Repair Install as well:
http://www.boot-land.net/forums/?showtopic=5306
  • XP Setup Source Folder can be on USB-stick or on partition 1 of USB-HDD or second HDD-Drive.
  • Uninstall Windows Live Messenger, it interferes for mkbt.exe to make BootSector Files of C-Drive
  • Connect USB-drive having XP Source in partition 1
  • Reboot as NORMAL from C-Harddisk, so that BIOS Resets USB-drive number
  • Run USB_XP_SETUP.cmd to make XP Setup BootFolder $WIN_NT$.~BT on C-Install-Drive
  • Repair Install is enabled by Disabling [Unattended] Section using ; in C:\$WIN_NT$.~BT\winnt.sif file
  • Reboot Computer from C-Install Drive and Select XP Setup from boot.ini Menu
  • Select in TXT-mode Existing Windows for Repair and continue with GUI-mode of XP Setup
Christian
This truly is a great utility and I've gotten close to completing the install. I have 3 questions that I can't seem to figure out...

1) I understand how to package up the Mass Storage drivers and slip them in BartPE but I thought our "Give XP Setup Source Path = []" should point to the setup files of xp and not the setup files for BartPE? I've tried the Integrator tool but I couldn't figure out how your drivers slip into that tool(how that whole thing works).

2) My main goal is to use my puppy Linux derivative. I can't seem seem to boot from it at all... I have tried various versions of puppy linux and it keeps erroring out saying the it could not find the pup.sfs files. I don't have the exact error message as I'm reinstalling this USB drive, but I'll post the message when it completes. I have placed all the files on the root of the usb drive. I'm thinking maybe it's because it's formatted in NTFS?

3) Do I need to create 2 partitions on the usb drive to have UBCD4WIN if i have BartPE as the main?

On a side note, I want to say thank you, because this is something I've been wanting to do for a loooooong time.

Thanks,

- Christian
ktp
@Christian
Point 2.
puppy works well with NTFS. I have an USB HDD logical partition NTFS with puppy inside booting.
My grub4dos menu.lst entry is (I change the location and name of kernel/initrd, you can easily modify to your need):
CODE
title Puppy Linux 3.1
find --set-root /images/puppyk
kernel /images/puppyk root=/dev/ram0 initrd=puinitrd.gz PMEDIA=usbflash
initrd /images/puinitrd.gz


The pup_301.sfs and zdrv_301.sfs files are to be put at the root of the corresponding partition.
wimb
QUOTE (Christian @ Aug 13 2008, 04:30 PM) *
1) I understand how to package up the Mass Storage drivers and slip them in BartPE but I thought our "Give XP Setup Source Path = []" should point to the setup files of xp and not the setup files for BartPE? I've tried the Integrator tool but I couldn't figure out how your drivers slip into that tool(how that whole thing works).

3) Do I need to create 2 partitions on the usb drive to have UBCD4WIN if i have BartPE as the main?


Point 1 -
QUOTE
Supports the use of BTS DriverPacks located in OEM Folder on USB-Drive
http://driverpacks.net/DriverPacks/
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.

You can use DPsBase.exe to improve your XP Source in advance of using USB_MultiBoot_10.cmd
The OEM folder with DriverPacks is then added to your XP Source by DPsBase.exe

Point 3 - You may use BOOT_IMG.cmd of the USB_XP_Setup package to Create UBCD4WIN.img file which you can boot from boot.ini Menu via RAMDISK. In that case BartPE and UBCD4WIN can easily coexist on the same partition of your USB-stick.
http://www.boot-land.net/forums/?showtopic=5306

wimb
Myk3
For some reason my USB installation will not detect my sata HDD.. I have prepped my XP install with DriverPacks BASE 8.05 / Chipset 8.03 / LAN 8.05.3 / MassStorage 8.05. When it boots it does see the USB drive but not the HDD.. I also used nlite to slipstream SP3 into my SP2 xp disk.. Is there anything that i missed??

EDIT: I just read this


QUOTE
Supports the use of BTS DriverPacks located in OEM Folder on USB-Drive
http://driverpacks.net/DriverPacks/
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.


Does the Driver packs need to be extracted to the OEM folder? Also the OEM folder i see is location "L:\$WIN_NT$.~LS\$OEM$\$1\Drivers" Where L is my flash drive..
wimb
QUOTE (Myk3 @ Aug 14 2008, 12:19 AM) *
For some reason my USB installation will not detect my sata HDD.. I have prepped my XP install with DriverPacks BASE 8.05 / Chipset 8.03 / LAN 8.05.3 / MassStorage 8.05. When it boots it does see the USB drive but not the HDD.. I also used nlite to slipstream SP3 into my SP2 xp disk.. Is there anything that i missed??

Does the Driver packs need to be extracted to the OEM folder? Also the OEM folder i see is location "L:\$WIN_NT$.~LS\$OEM$\$1\Drivers" Where L is my flash drive..
The OEM folder must be located in the root of your USB-stick.

You have got to use nLite before and NOT AFTER using DPsBase.exe
Probably nLite has moved the OEM folder to Drivers folder

USB_MultiBoot_10.cmd copies OEM folder from XP Source to Root of USB-stick.
Myk3
I just found the SATA driver for my unit.. The instructions say i need to install it using the F6 menu on boot... But i am going to try and slipstream the driver into my build..
Myk3
well i was able to slipstream the driver into my build.. works great... I noticed the "install" &"Progs" folder what are these for???
wimb
QUOTE (Myk3 @ Aug 15 2008, 03:12 AM) *
well i was able to slipstream the driver into my build.. works great... I noticed the "install" &"Progs" folder what are these for???

INSTALL_PRGS is meant for Programs which cannot be installed with WPI via INSTALL_PRGS_WPI
INSTALL_DRIVERS is meant for Post XP Setup Install of Drivers from DriverPacks

For WPI config.js script is provided in usb_cfg_extra\INSTALL_PRGS_WPI\WPIScripts

You can use them or remove them the way you like smile.gif
Myk3
Well i havent got any of the "install" progs working yet.. I was having problems using the dos based menu then i noticed i couldnt since i was using NTFS.. I then re-formated my drive into FAT32 and man is it slow installing XP.. Is there anyway to get the dos apps in ntfs?
wimb
QUOTE (Myk3 @ Aug 16 2008, 06:39 PM) *
Is there anyway to get the dos apps in ntfs?
Yes, use DOS Boot Floppy Images of 2880 kB made with WinImage to Inject App Files and booting via boot.ini Menu from GRUB4DOS menu.lst

More Info on this in my Guide http://www.911cd.net/forums//index.php?showtopic=20089
and in folder usb_cfg_extra of USB_MultiBoot_10
Myk3
Is it possible to run the xp install from a multi partitioned disk??

I had the install on a drive with 1 partition and everything worked great..

I had the install on the 3rd partition and got the BSOD 0x0000007B error

I know have the install on the 1st partition of a the drive and getting BSOD 0x0000000D1

any thoughts? I believe i read somewhere if i was going to use a multipartitioned drive that the install needs to be on the first partition
wimb
QUOTE (Myk3 @ Aug 23 2008, 07:22 PM) *
Is it possible to run the xp install from a multi partitioned disk??

Yes, you can but it requires to select a proper boot.ini file using Option B
Or change boot.ini to your needs just before using the USB-stick for Install of XP.

For Install on second partition you can use Part2_boot.ini from b_ini folder.

More Info in Help_USB_MultiBoot.txt file Section C
Myk3
This kinda confuses me...

I get those errors on option 1 "C:\btsec\XPSTP.bs="

Does the boot sector look at the HDD in option 2/3 during the initial boot phase when i am partitioning the drive?
wimb
QUOTE (Myk3 @ Aug 23 2008, 08:26 PM) *
This kinda confuses me...

I get those errors on option 1 "C:\btsec\XPSTP.bs="

Does the boot sector look at the HDD in option 2/3 during the initial boot phase when i am partitioning the drive?
It is possible to install on e.g. second partition,
but you are right the errors that you get must have another origin.

From file Help_USB_MultiBoot.txt - Section A-7
QUOTE
7. BSOD 0x0000007B during text mode of Setup.
On some motherboards USB booting is tricky, common example are many Dell systems.

You may try the modified ntdetect.com as mentioned here Or use File Hex_NTDETECT_COM.txt
http://www.msfn.org/board/0x0000007B-Blue-...0.html&st=3
Copy and paste all in Tiny Hexer (freeware), select HEX TEXT,
save as ntdetect.com and put it in USB stick root, filesize must become 47,596 bytes.

Enabling AHCI in a system BIOS will cause a 0x7B Blue Screen of Death STOP error (INACCESSIBLE_BOOT_DEVICE)
on installations of Windows XP where AHCI/RAID drivers for that system's chipset are not installed.
AHCI enables hot-plugging of SATA drives and requires for XP special drivers. Vista is AHCI compatible.
http://en.wikipedia.org/wiki/Advanced_Host...oller_Interface
Solution: Before Install Change your SATA BIOS Setting from AHCI into IDE Controller or Compatibility

For Install of XP on a modern system with SATA Drives
it is needed to use DPsBase.exe http://driverpacks.net/DriverPacks/
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
$WIN_NT$.~BT XP BootFolder and can prevent a lot of XP Install Boot Problems


If you repartition the drive you have to reboot before selecting Install partition and go TWICE through first part of TXT-mode of Setup in order to get correct drive letters.

Usually you only Select partition for Install and do a Quick Format and continue with copy of files.


Myk3
QUOTE
I had the install on the 3rd partition and got the BSOD 0x0000007B error


I tried the alternate NTDETECT.COM from here

I also have verified i installed the correct AHCI driver for my unit.. (I was able to install XP from a thumb drive with only 1 partition)

I'm still confused on the BOOT.ini settings..

My current setup is

Partition1 = XP textmode installer
Partition2 = DOS
Partition3 = PE2.0
Partition4 = Trinity rescue kit (linux disk)

Partition 2-4 work flawlessly... I just keep getting the BSOD on the XP text mode install

EDIT: you posted as i was posting.. I have also changed the AHCI setting in the BIOS to IDE mode instead of AHCI mode
Myk3
QUOTE
QUOTE
QUOTE
I had the install on the 3rd partition and got the BSOD 0x0000007B error



I tried the alternate NTDETECT.COM from here


I was also getting this error as soon as the "setup is loading windows appears" I have now got past that and when i press enter to install XP i get the next error 0x000000D1 error ( right under this it says ntfs.sys with some errors next to it. )

I got this error with the original boot.ini (XP_Setup_boot.ini)

I am now trying with the (Part2_boot.ini)
ktp
QUOTE (Myk3 @ Aug 23 2008, 07:49 PM) *
Partition4 = Trinity rescue kit (linux disk)


Thank you for mentioning this, I discover and add it to my multi-bootable tools.
For your information, if you do not want to waste a partition, you can just copy the trk3 directory and the 2 files kernel.trk, initrd.trk
from the iso to the root of one existing partition (fat/fat32), The use the following code in your menu.lst:

CODE
title Trinity Rescue Kit 3.3 build 318
find    --set-root /trk3/initrd.trk
kernel  /trk3/kernel.trk ramdisk_size=49152 root=/dev/ram0 vga=788 splash=verbose pci=conf1
initrd  /trk3/initrd.trk


After got the command line, you can change the keyboard layout by running a built-in script (command) as indicated in:
http://trinityhome.org/Home/index.php?front_id=12&wpid=7

For example to change to French keyboard, just type 'fr'.

You can also add other entries by translating them from the isolinux.cfg from the iso.
Myk3
I don't think i can add mine like u have..I am not using GRub as my bootloader i am using spfdisk.. Unless i can launch it from dos then i could add it my dos menu?
Myk3
so does any one have any other ideas?
jaclaz
QUOTE (Myk3 @ Aug 25 2008, 06:23 PM) *
so does any one have any other ideas?


Wait a minute, maybe I am starting to understand why it does not work for you. unsure.gif

The general idea of the entire batch is to start from a newly formatted USB stick or HD, managed by "default" NTLDR+BOOT.INI and grub4dos.

You should first thing try if on your particular board+USB device, the USB_Multiboot batches work, and only after it has proved to work, try introducing variations, like spfdisk or whatever.

jaclaz
Myk3
Please note in one of my last messages... post #31

QUOTE
(I was able to install XP from a thumb drive with only 1 partition)


I was able to use the batch files and everything works normal..

I will try to have Grub4Dos as the boot loader in the MBR but i don't think that is the problem since it does boot, It boots and loads all the way until the screen before it asks what HDD / Partition do i want to load Windows onto. this is where i get the BSOD 0x0000007B error. I have tried the new ntdetect.com. This did not fix it.. I also know i have the right AHCI driver as i had to slipstream that since the singal partition version did not see my HDD, until i loaded that driver.



jaclaz
I might have been not clear enough:
1) Fdisk/partition/format your drive so that you have just one primary partition and rest of space unallocated
2) run the USB_multiboot batches (without re-formatting)
3) after you have tested the XP install routine works, DO NOT TOUCH the first working partition, the MBR code, the bootsector
4) simply use your preferred partition tool to add, one by one, the other partitions, installing to them whatever you want and adding booting entries for them into the menu.lst on first partition

Remember that unless you want/need for any reason this first partition NTFS, you can have it FAT32 and well add to it the PE, DOS (7.x/8.0) and trinityhome.

Otherwise, I suggest you to use DOS from a disk image loaded via grub4dos, instead of swapping partitions, the PE can well be added to first partition as well even if NTFS, and since trinity appears to be working entirely from RAM, it may even work on NTFS unsure.gif.

jaclaz
Myk3
I will try this tonight.. I think i see what you are saying..
Myk3
For some reason i keep getting NTLDR not found.. I fdisked the MBR and then re-ran the scripts. NTDR is on the drive??? im not sure why this is happening..

QUOTE
I suggest you to use DOS from a disk image loaded via grub4dos


Also i need a separate DOS partition as i use about 100MB for BIOS updates and test tools. I would rather not go back and change all my batch files to single images..
Myk3
Ok I think i screwed something up when i used the spfdisk to load the mbr bootloader.. I formated the drive using the HP format utility.. I then made it a bootable DOS partition.. This boots normal.. I then ran the script to load the xp text installer.. I can get to the press enter to load xp screen (before the HDD / Partition selection) it then gives me the error of

BSOD 0x0000000D1 with a ntfs.sys error.

I'm not why this is because the drives i am using worked normal. before using the spfdisk when i had only one partition using NTLDR and BOOT.ini..

I'm not sure if this was the right thing to do, but i tried using mkbt to load the f16ntldr.bin to the mbr and it was saying it has a different files system type. So this did not load right.. Can i use mkbt with a good mbr to get this to work again?

I also was able to get another flash drive to work normal (this one has never been touched by spfdisk) using just the scripts.. So this kinda tells me the mbr maybe messed up on the other 2 drives.. However in windows the 2 drives appear to work normal as well as booting into DOS and not to the text mode install..
jaclaz
No problem, there should be not any "permanent" damage.

Simply zero out the first, say 100 sectors of the stick, using either a hex editor or dsfo+fsz from the DSFOK toolkit and re-format with the HP USB utility:

http://www.boot-land.net/forums/?showtopic=4015&st=21

wink.gif

jaclaz
Myk3
Do i need to format it using FAT32 or NTFS?

jaclaz
QUOTE (Myk3 @ Aug 27 2008, 03:21 PM) *
Do i need to format it using FAT32 or NTFS?


I suggest the "usual" order, see FAQ#10:
http://home.graffiti.net/jaclaz:graffiti.n...SB/USBfaqs.html
FAT16 CHS
FAT16 LBA
FAT32 CHS
FAT32 LBA
(depending on size of the stick FAT16 may not be an option, please note that the limit for FAT16 of 2Gb can be "stretched" to 4Gb using 64Kb clusters, but this is NOT recommended, as not fully compatible with every OS/utility and highly unefficient)

ALWAYS, ALWAYS, ALWAYS try first if it works in normal DOS (exception made for the NTFS formatting of course wink.gif) and only later try the NTLDR bootsector.

jaclaz
Myk3
Ok i have made progress.. I think all my problems stem from a bad XP source.. I remade my source and i am now able to enter the HDD / Partition selection.

This still kinda does not make sense as the iso i burnt from the old source works normal with all my slipstreams..

I will now try to re make my 2nd partition for my DOS partition.. I will post with my results
Myk3
Ok so everything is working normal.. can i boot to my 2nd partition using the grub4dos? This is a Dos partition..

Can i use the command


root (hd1,1)
chainloader (hd1,1)/io.sys

EDIT:

I got it working

root (hd0,1)
chainloader (hd0,1)/io.sys
Myk3
Ok so i got everything working.. Thanks for all the help

Now is there a "easy" way to upgrade the install??? Like with added AHCI drivers or anything?
Myk3
Ok it works.. Is there anything specail that needs to be done to get the applications in the "INSTALL_PRGS" & "INSTALL_PRGS_WPI" to actually install?

Also is there a way to make the boot.ini on the system not have the option for USB recovery console?

I changed the option in the scripts (Option R) to NO and it still applied the USB recovery on the client system on boot. I can manually change the BOOT.ini but if there is a easier way..
wimb
Nice to hear that you have everything working now.

Just launch WPI.hta manually After XP setup has completed.
Just edit boot.ini to remove USB-Repair Boot Option if you wish.

Kirka
i have a problem...i install windows xp to my eee 900 from usb-flashdisk w/o problems but when i restart and took out the usb-drive laptop doesn't start anymore...just show that NTLDR is missing

PS. I install the XP to bigger 16 Gb HD and the 4 Gb is empty.
How i can fix this problem?

EDIT:and the boot.ini file in the C:/ (BIOS DRIVE) looks like this:

[Boot Loader]
timeout=30
Default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[Operating Systems]
multi(0)disk(0)rdisk(1)partition(1)\WINDOWS="Microsoft Windows XP Home Edition" /noexecute=optin /fastdetect
multi(0)disk(0)rdisk(1)partition(4)\WINDOWS="Microsoft Windows XP Home Edition" /noexecute=optin /fastdetect
C:\="Tunnistamaton käyttöjärjestelmä asemassa C."
multi(0)disk(0)rdisk(1)partition(1)\WINDOWS="USB Repair NOT to Start Microsoft Windows XP Home Edition" /noexecute=optin /fastdetect
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.