Jan 23 2008, 07:22 AM Post
#1 | |
| Advanced Member Group: Software Developers Posts: 345 Joined: 21-March 07 Member No.: 132150 |
================================================================================ From Tutorial at Boot Land Forum http://www.boot-land.net/forums/index.php?showtopic=4900 ================================================================================ ***** 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 to Install XP from USB. Install from USB-Drive is of general use, it's convenient and faster than installing from CD or DVD, but is limited to computers that are able to boot 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 XP from USB is very useful when the computer does not have a optical drive, like e.g. ASUS Eee subnotebook. Preparing a Bootable USB-Drive with USB_MultiBoot.cmd Involves:
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 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 installing Windows XP from a 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 use at your own risk. 2. XP-Source Preparation - *** BEFORE YOU START *** Make sure that your XPSOURCE Folder is located on your Harddisk in a simple Path without SPACES. Copy the Contents 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/downloads For installing XP on modern systems 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 and will appear in the XP Setup BootFolder $WIN_NT$.~BT on USB-Drive and can prevent a lot of XP Installation Boot Problems. First use RyanVM Integrator and then use DPsBase to Improve your XP-Source. The program supplies a Customized 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 Copying to USB can be Selected from USB_MultiBoot.cmd Main Menu, which can reduce 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 do you will get BSOD, error 0x0000006F during Text mode Setup of Windows XP. ========================================================================= 3. Making a Bootable USB-Drive with USB_MultiBoot.cmd - Remove all other Removable Drives, like USB Backup Harddisks and Memory Cards - Use USB-sticks with High Read/Write Speeds 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 the USB-Drive with FAT or NTFS. Note: FAT32 is very SLOW for installing XP
Because this makes use of rdummy.sys and 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 4. XP Setup Parameters in winnt.sif file and $OEM$ folder Display and Edit of the 8 required parameters for Unattended Setup allows you to give your ProductKey and TimeZone used in the Current_winnt.sif and copies your winnt.sif file. The Current_winnt.sif file is auto adjusted for the Installation 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 the Installation 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. Installing XP from USB
hal.dll ERROR for Install of XP from USB ========================================================================= In case of hal.dll Error on Reboot for GUI-mode of XP Setup: The Error means only that in GUI mode the Windows folder is NOT found on the default location which is normally partition(1) of your internal harddisk and would need in boot.ini Menu to Select rdisk(1)partition(1) The error can be due to a Hidden First Partition (case of HP Computer) so that you Install on partition(2) For your Netbook it can be that you Install on partition(3) In that case you Select in GUI-mode and on Start of XP the line in boot.ini Menu with HD 1 - Part 3 It is also recommended to remove any Additional USB-drive like USB Backup Harddisk or External Cardreader since these extra USB-drives may interfere in Harddisk numbering and can cause then also the hal.dll Error. In TXT-mode of XP Setup, where you Select the partition on which you are going to Install, you must count the partition number and use this in your boot.ini Menu on your USB-stick on Reboot for GUI-mode of XP Setup and for Start of XP. To solve your hal.dll Error you need to Change the boot.ini file on your USB-stick. It can be handy to make a boot.ini with multiple entries like this: CODE [Boot Loader] Timeout=20 Default=multi(0)disk(0)rdisk(1)partition(1)\WINDOWS [Operating Systems] C:\btsec\XPSTP.bs="1. Begin TXT Mode Setup Windows XP, Never unplug USB-Drive Until Logon" multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Continue GUI Setup + Start XP from HD 0 - Part 1" /FASTDETECT multi(0)disk(0)rdisk(1)partition(1)\WINDOWS="Continue GUI Setup + Start XP from HD 1 - Part 1" /FASTDETECT multi(0)disk(0)rdisk(1)partition(2)\WINDOWS="Continue GUI Setup + Start XP from HD 1 - Part 2" /FASTDETECT multi(0)disk(0)rdisk(1)partition(3)\WINDOWS="Continue GUI Setup + Start XP from HD 1 - Part 3" /FASTDETECT multi(0)disk(0)rdisk(2)partition(1)\WINDOWS="Continue GUI Setup + Start XP from HD 2 - Part 1" /FASTDETECT Partition Numbering starts with 1 Harddisk Numbering starts with 0 On booting from USB-stick it will count in the arcpath as rdisk(0) and your Internal Harddisk will then normally be rdisk(1) As alternative you can try: Install XP from USB AFTER Booting with PE from HDD or USB http://www.boot-land.net/forums/?showtopic=5306 In this way you are insensitive to the hal.dll Error Moreover, after booting with LiveXP into PE environment you are able to use Disk Manager and can see what is the partitioning of your harddisk and see which is the Active Partition e.g. the partition from which the computer will try to boot. Also you can make then appropriate changes using Disk Manager or Acronis Disk Director available in LiveXP ========================================================================= 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. ================================================================================ This post has been edited by wimb: Aug 17 2009, 12:07 AM |
| | |
wimb How to install XP from USB Jan 23 2008, 07:22 AM
ilko_t Wow, own corner
Thanks to MSFN team and jaclaz ... Jan 24 2008, 07:28 PM
wimb When working in USB_MultiBoot2.cmd with BootSector... Jan 25 2008, 06:36 AM
jaclaz OK, now that everyone is happy and there is an ENT... Feb 3 2008, 12:29 PM
wimb Fixed some bugs in USB_MultiBoot2.cmd - Uploaded o... Feb 5 2008, 09:53 AM
wimb ***** NEW PROGRAM *****
***** USB_MultiBoot_10.cm... Feb 14 2008, 09:35 AM
wimb New Release USB_MultiBoot_8.zip available, see pre... Apr 4 2008, 02:20 AM
wimb New Release USB_MultiBoot_9.zip available, see pre... May 8 2008, 11:07 PM
wimb New Release USB_MultiBoot_10.zip available, see pr... Jun 5 2008, 01:39 AM
wimb There is now an easy-to-read Tutorial on Install o... Jun 15 2008, 12:49 AM
wimb ==================================================... Apr 8 2009, 04:36 AM![]() ![]() |
| Lo-Fi Version | Time is now: 24th November 2009 - 03:06 PM |