========================================================================================================= Introduction: ***** USB_MultiBoot6.cmd - Install XP from USB ***** 14 mar 2008 Unpack USB_MultiBoot6.zip to your Harddisk in a simple Path without SPACES. Major Changes and Support: - Basic Use Involves only Selecting XP Source Folder and USB-Drive Target to make USB-Stick which can be used for Install of XP on Mobile PC like e.g. ASUS Eee subnotebook - USB_MultiBoot6.cmd is Vista Compatible The bootmgr BootSector made by PeToUSB is Detected and Converted to NTLDR Bootsector ( No need anymore to use BootSect.exe separately ) - Advanced Users can make USB-MultiBoot SuperStick or Harddisk, when selecting Multi_boot.ini and MULTI_CONTENT Source offering a large variety of handy computer tools available via boot.ini GRUB4DOS or SYSLINUX Menu - Siginet's RyanVM Integrator or nLite can be used to Integrate Windows UpdatePacks in the XP-Source. http://integrator.siginetsoftware.com/index.php?download and http://www.nliteos.com/ The Complete XP-Source is Copied to XP LocalSource Folder $WIN_NT$.~LS on USB-Drive Take care that your XPSOURCE Folder is located on your Harddisk in a simple Path without SPACES. - 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 than use DPsBase to Improve your XP-Source. The program supplies a Customised presetup.cmd and changes the winnt.sif file for use of DriverPacks. - For USB-Harddisk use 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. - boot.ini and winnt.sif Files are User Selectable, Handy for Windows 2003 and Non Standard Installs and for making MultiBoot USB-Drive Use the supplied winnt.sif file, which is copied to $WIN_NT$.~BT folder on USB-Drive. For Unattended Install give your key in productkey="XXXXX-XXXXX-XXXXX-XXXXX-XXXXX" and remove leading ; Use for Preparing USB-Drive Only winnt.sif file without an [Unattended] Section and with MsDosInitiated="1" - Change $OEM$ folder to your needs, which is 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/ ren_fold.cmd was changed such that $OEM$\$1 and $OEM$\$$ folders are copied as usual to systemdrive (usually C:\) and systemroot (usually C:\WINDOWS) respectively. For anything else you want to copy from USB-Drive, you can add similar lines to ren_fold.cmd, which is executed at T-9 by the Section SetupParams of winnt.sif file Or Use CMDLINES.TXT and useraccounts.cmd in the $OEM$ Folder for Extra Copy Commands. - Supports also USB-Drives having FAT32 or NTFS Format, thus overcoming the 2 GB limit of FAT Format. NTFS Format allows larger DriveSize and is very usefull for Install of XP from USB-Harddisk. Besides NTFS Format is handy for Install of Vista from USB via GRUB4DOS chainload of bootmgr FAT32 is extremely slow in Windows XP FileCopy during TXT Mode (has anyone an idea why ?), whereas NTFS Format of USB-Drive makes everything go faster than with FAT Format. In the Format Menu one can Select: P) PeToUSB - FAT Format - Max 2 GB Install of XP from USB in 30 minutes - Buffalo FireStix 2 GB Do NOT Select here FileCopy of BartPE H) HP USB Disk Storage Format Tool V2.0.6 - NTFS Format Install of XP from USB in 16 minutes - Corsair Flash Voyager 4 GB USB-stick N) No Format - Use USB-Harddisk with FAT or NTFS Format by Windows XP HP Format Tool Enables to make large USB-sticks with NTFS Format which are very usefull, but is missing the option of PeToUSB to Install BartPE on USB-Drive. The program was changed such that BartPE can be added now for all Format Options to USB-Drive by Selecting BartPE Source Folder with option 5) of the Main Menu. So don't use PeToUSB for Install of BartPE anymore, but only use PeToUSB to make FAT Format USB-Drive. Using Cancel in BartPE Source Folder Selection, Disables the Install of BartPE on USB-Drive. FileCopy to USB-Drive begins with USB Content Source Folder, followed by the XP Setup Source Folder and finally the BartPE Source Folder is copied when a valid path was given with option 5) - FAT32 and NTFS do not support Direct Booting into MS-DOS FREEDOS and Windows PE 2.0 Unsupported Boot Options are automatcally removed from the Menu's. GRUB4DOS via boot.ini is in any FileSystem very powerfull, especially using chainload of BootLoaders. But GRUB4DOS also allows to Boot from MS-DOS or FREEDOS Floppy Images and to Boot from Linux. http://grub4dos.jot.com/WikiHome http://grub4dos.sourceforge.net/wiki/index.php/Grub4dos_tutorial - BootSector Files are made with dsfo / dsfi from the once with mkbt.exe copied BootSector, instead of Install, Copy and Reset of BootSectors using mkbt.exe for making each BootSector File. MakeBS3.cmd of jaclaz is used for making NTFS BootSector Files, where SETUPLDR.BIN was Renamed to XPSTP according to the 5-letter limit requirement. - Booting Direct with XP Recovery Console was tried, but removed from the program, because of conflict by launching XP Setup. The program CMDCONS_Folder.cmd can be used separately, which makes Recovery Console folder cmdcons by parsing DOSNET.INF File. - Overflow Control has been added by measuring DiskSize, FreeSize, XP-Source and Multi_Content Source Folders using ASP Drive Object and Visual Basic Scripting. SEE: http://www.w3schools.com/asp/asp_ref_drive.asp http://www.robvanderwoude.com/index.html - Excluding LANG and WIN98X Folders from Copy to USB can be Selected, 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. XPSOURCE Space Saving Tips see: http://unattended.msfn.org/unattended.xp/view/web/57/ You can Safely Remove the XPSOURCE folders: WIN9XMIG, WIN9XUPG and WINNTUPG - This will free up 37.6 MB LANG - 99 MB and cmpnents - 22.6 MB ( Needed for MCE / Tablet PC only ) - The Folder usb_cfg_extra provides scripts for BartPE Menu http://www.nu2.nu/pebuilder/ For the Automatic Install of Programs after Install of XP from USB we can use a script for the very handy Windows Post-Install Wizard (WPI) http://wpiw.net/ - In WPI script there is the option to run SFC /purgecache which deletes the dll cache and which 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. - Supports Portable WinTools which run direct from GO-Menu button in a VISTA or XP environment http://www.dirk-loss.de/win-tools.htm http://users.pandora.be/Robvdb/USBMemStick.htm - Direct Booting with MS-DOS from USB-stick with boot.ini Menu is prepared as follows: You only have to add from Win98 MS-DOS BootFloppy the files IO.SYS and MSDOS.SYS to the MULTI_CONTENT Folder and file COMMAND.COM to the folder DOS of the MULTI_CONTENT Folder. These Hidden System Files are only visible in Windows Explorer after adjusting Tools > Folder Options Run USB_MultiBoot6.cmd and choose FAT Format with PeToUSB (max 2GB stick) and Select Multi_boot.ini as boot.ini (option B ) and MULTI_CONTENT as Source (option 2) in the Main Menu. The supplied config.sys of the MULTI_CONTENT folder regulates that for MS-DOS the COMMAND.COM is found in the DOS folder so that confusion with FREEDOS is prevented. For booting with FREEDOS all necessary files are already in the MULTI_CONTENT folder. - More Help with Bookmarks is available in the Help_Info Folder in USB_MultiBoot6.zip - Use of MultiBoot6.cmd and everything in this Guide is COMPLETELY at your own risk. ========================================================================================================= A. ***** Most Frequently Encountered User ERRORS ***** 1. Premature Unplugging USB-Drive In this case boot.ini on Harddisk was not properly corrected by binifix4.cmd which has to occur at First Logon of Windows XP. binifix4 changes boot.ini on Harddisk, such that Default rdisk(1) is replaced by rdisk(0) ***** NEVER UNPLUG USB-Drive ***** Until After First Logon of Windows XP Without binifix.cmd the boot.ini on our Harddisk 0 is still referring to booting from Harddisk 1 which is our USB-stck or no disk, where in any case no WINDOWS folder is found. The result is ERROR: Unable to start Windows with ERROR Messages: a. WINDOWS\system32\hal.dll file missing ( USB-Drive again plugged in ) b. Disk Config Problem ( USB-Drive Unplugged ) c. <Windows root>\system32\ntoskrnl.exe file missing (for Win2003) For Windows 2003 one has to adjust Manually boot.ini in Advance as described in Section C, in makebt\boot.ini change foldername WINDOWS in WIN2003 2. ERROR Message for GUI Mode Setup of WINDOWS XP: WINDOWS\system32\hal.dll file missing This occurs when Reboot for the GUI Mode of XP Setup occurs from Drive which does not co...
metyoo