Printable Version of Topic

Click here to view this topic in its original format

Boot Land _ Tutorials _ Install XP from USB AFTER Booting with PE from HDD or USB

Posted by: wimb Jul 29 2008, 12:22 PM

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

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

1. Install of XP from USB 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


Direct Download - http://wimb.winbuilder.net/downloads/?dir=&download=U_XP_SET.exe

Before you Start to Install XP:
The XP Setup Procedure:
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/DriverPacks/

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 must always be on USB-stick or on partition 1 of ANY Harddisk.
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.

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/board/Alternative-location-of-Setup-files-when-t119742.html

The nice thing is that once you specify the XP Source Location in TXTSETUP.SIF
you may but also must treat the XP Source the same as when it is on CD /DVD.
This means that we must use for this type of Install of XP from USB
settings in winnt.sif as MsDosInitiated="0" and floppyless="0"

How to boot with LiveXP from Harddisk using extra option in boot.ini Menu was described by me in
http://www.911cd.net/forums//index.php?showtopic=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 the present NEW way of Install of XP from USB AFTER booting with PE from C-Harddisk.

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

Repair Install using USB_XP_Setup.exe

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

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 nLite).
Siginet's RyanVM Integrator or nLite can then be used to Integrate Windows UpdatePacks in the XP-Source.
Preferred is RyanVM Integrator v1.5.3 http://integrator.siginetsoftware.com/index.php?download
Or Alternatively use 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 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.

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

The Complete XP-Source is Copied by Make_USB.exe to 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 Make_USB.exe Main Menu, which reduces the XP-Source on USB-Drive by 135 MB


3. LiveXP BootSDI.img File Preparation - *** BEFORE YOU START Install of XP ***

Tutorial of amalux on how to create LiveXP BootSDI.img files using WinBuilder
http://www.boot-land.net/forums/?showtopic=4111
Download LiveXP e.g. lx101408cxs from folder Projects in http://amalux.winbuilder.net/

WinBuilder U_XP_SET Script for LiveXP was made, which enables to create LiveXP BootSDI.img file
containing Pstart program launcher with USB_XP_Setup package for Install of XP from PE Environment.
So you can direct launch PStart and USB_XP_Setup.exe from the Desktop of LiveXP.

Download http://wimb.winbuilder.net/downloads/?dir=&download=U_XP_SET.Script

Put U_XP_SET.Script in your <WinBuilder>\Projects\LiveXP\Apps\XPSetup folder
e.g. in amalux Stable Project lx101408cxs\Projects\LiveXP\Apps\Setup
You can add a Ghost script (Ghost Plus!.script) which is very handy for System Backup and Restore.
I added also Basic > Tweaks > autoLocalization.Script made by psc and modified by Galapo,
necessary in Europe for decimal sign, from http://wimb.winbuilder.net/downloads/

For making BootSDI.img file you need XP-SP2 as Source and Switch Off your Firewall (Don't use XP-SP3 as Source).
The MassStorage DriverPack is automatically integrated in LiveXP made with WinBuilder.
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.

WARNING
In an older Stable Project lx51808cx of amalux I noticed that the Drive Letters of Harddisk Partitions
are NOT present in the makebt\dplist.txt as produced by makebt\MBRWiz.exe /list
The result is that when USB_XP_Setup.exe is used in the lx51808cx LiveXP Environment,
then identification of Harddisk Partition from Drive Letter using makebt\dplist.txt fails,
so that USB_XP_Setup.exe cannot Continue.
It is known now that Acronis True Image Workstation 9.1 script in this build is causing the problem.

The Solution is to use another LiveXP BootSDI.img File e.g from Stable Project lx101408cxs
I can confirm that lx101408cxs works fine with USB_XP_Setup.exe
and Acronis True Image PE does NOT give the previously reported Drive Letter issue.


Adding U_XP_SET to your Existing LiveXP BootSDI.img File
LiveXP + U_XP_SET



=

Program Direct Download - http://wimb.winbuilder.net/downloads/?dir=&download=U_XP_SET.exe
Live XP Script Download - http://wimb.winbuilder.net/downloads/?dir=&download=U_XP_SET.Script
Browse Folder Downloads - http://wimb.winbuilder.net/downloads/

=
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/board/index.php?showtopic=120444
Parts of WinSetupFromUSB were used for Creating Make_USB.exe

Update ChangeLog
10 December 2008
=

Posted by: jaclaz Jul 29 2008, 03:58 PM

Very, very good. smile.gif

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

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


jaclaz

Posted by: Lancelot Jul 30 2008, 09:36 AM

smile.gif
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. thumbup.gif

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. worship.gif

Posted by: wimb Jul 30 2008, 10:33 AM

QUOTE (jaclaz @ Jul 29 2008, 05:58 PM) *
A .script for winbuilder or BartPE configuration to build the ABSOLUTE MINIMAL PE capable of running WINNT32.EXE... sad.gif

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.

Posted by: jaclaz Jul 30 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" smile.gif

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

Smaller build=faster booting time wink.gif

cheers.gif

jaclaz

Posted by: wimb Jul 30 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. smile.gif

Posted by: jaclaz Jul 30 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. happy22.gif

jaclaz

Posted by: wimb Jul 30 2008, 11:47 AM

QUOTE (jaclaz @ Jul 30 2008, 12:38 PM) *
Still, if 130 Mb take 60 seconds, an XPCLI or picoXP of about 25 Mb will take something like 20 or 30 seconds. happy22.gif

jaclaz

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

Posted by: Lancelot Jul 30 2008, 12:13 PM

@wimp:
i need a little help here, smile.gif
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.imageshack.us/img253/1052/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.imageshack.us/img375/9617/001hi6.png
put hangs here:
http://img253.imageshack.us/img253/1792/002oj6.png


so i changed lines to
SetupSourceDevice = \device\harddisk0\partition1
this time setup starts but stops here:
http://img375.imageshack.us/img375/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 smile.gif .

Posted by: jaclaz Jul 30 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. smile.gif

@wimb
You know how we have a different "design" phylosophy. wink.gif

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.org/wiki/That_Thou_art_Mindful_of_Him

You are (BTW VERY well smile.gif) 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. wink.gif

cheers.gif

jaclaz

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

Posted by: wimb Jul 30 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:

QUOTE (wimb @ Jul 29 2008, 02:22 PM) *
  • 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 wink.gif

Posted by: wimb Aug 1 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.

Posted by: magic12kenneth Aug 7 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

Posted by: magic12kenneth Aug 8 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

Posted by: jaclaz Aug 8 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:

CODE
C:\bootsect.bs="A bootsector"


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

Posted by: jaclaz Aug 8 2008, 08:43 AM

QUOTE (magic12kenneth @ Aug 8 2008, 09: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


I guess you have got something wrong. unsure.gif

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.net/forums/index.php?showtopic=4111

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

jaclaz




Posted by: magic12kenneth Aug 8 2008, 09:13 AM

QUOTE (jaclaz @ Aug 8 2008, 01:43 AM) *
I guess you have got something wrong. unsure.gif

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.net/forums/index.php?showtopic=4111

check also this seemingly unrelated thread, I presume you are trying to do the same kind of "Matryoshka" booting yurry attempted unsure.gif:
http://www.boot-land.net/forums/?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

Posted by: magic12kenneth Aug 11 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

Posted by: jaclaz Aug 11 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 wink.gif) 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:

CODE
[boot loader]
timeout=30
default=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:
CODE
color black/cyan yellow/cyan
timeout 30
default 0

title SETUPLDR.BIN
find --set-root /BootSDI.img
chainloader /setupldr.bin

title Back to NTLDR
find --set-root /BootSDI.img
chainloader /ntldr


WINNT.SIF with this content:
CODE
[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.com/WikiHome/grub4dos-0.4.3-2008-05-14.zip?

What happens?

jaclaz

Posted by: amalux Aug 12 2008, 11:51 PM

Hi wimb,

Just tried this and it works flawlessly biggrin.gif , wonderful tutorial, easy setup and your command scripts are brilliant smart.gif 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 cheers.gif

Posted by: wimb Aug 13 2008, 04:49 AM

QUOTE (amalux @ Aug 13 2008, 01:51 AM) *
Hi wimb,

Just tried this and it works flawlessly biggrin.gif , wonderful tutorial, easy setup and your command scripts are brilliant smart.gif 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 cheers.gif

Thanks for your appreciation smile.gif

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

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

Posted by: magic12kenneth Aug 13 2008, 06:34 PM

QUOTE (jaclaz @ Aug 11 2008, 02:32 AM) *
Most probably you introduced some changes or took a "wrong" choice in the procedure.

What you should do is (for the moment wink.gif) 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:
CODE
[boot loader]
timeout=30
default=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:
CODE
color black/cyan yellow/cyan
timeout 30
default 0

title SETUPLDR.BIN
find --set-root /BootSDI.img
chainloader /setupldr.bin

title Back to NTLDR
find --set-root /BootSDI.img
chainloader /ntldr


WINNT.SIF with this content:
CODE
[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.com/WikiHome/grub4dos-0.4.3-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

Posted by: jaclaz Aug 19 2008, 01:42 PM

QUOTE (magic12kenneth @ Aug 13 2008, 07:34 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. unsure.gif

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

Posted by: magic12kenneth Aug 19 2008, 09:19 PM

QUOTE (jaclaz @ Aug 19 2008, 06:42 AM) *
That is VERY strange. unsure.gif

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

Posted by: Lancelot Aug 19 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.

thumbup.gif

Posted by: magic12kenneth Aug 20 2008, 09:16 AM

QUOTE (jaclaz @ Aug 19 2008, 06:42 AM) *
That is VERY strange. unsure.gif

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


It's the same result. Complianting it can't read Boot.ini. I use Windows notepad and verify it was save as ANSI. I guess most likely have to do with the usb drive. At least I got one of them.

Kenneth

Posted by: magic12kenneth Aug 20 2008, 09:23 AM

QUOTE (Lancelot @ Aug 19 2008, 02: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.

thumbup.gif


Unfortunately my bios doesn't have that option. Thanks for the tip. It will be useful for the future.

Kenneth

Posted by: jaclaz Aug 20 2008, 09:26 AM

QUOTE (magic12kenneth @ Aug 20 2008, 11:16 AM) *
It's the same result. Complianting it can't read Boot.ini. I use Windows notepad and verify it was save as ANSI. I guess most likely have to do with the usb drive. At least I got one of them.

Kenneth


Is the PC you are testing with a notebook?

Many notebooks have "strange" BIOSes.

You can try if the "Removable" bit can be flipped.

First thing run against the USB sticks this app:
http://www.boot-land.net/forums/?showtopic=4661

Post results, I may be able to find the appropriate "Manufacturer's tool".

Of course, should I be able to find it/them. installing the tool(s) and attempting to flip the bit is ENTIRELY at your own risk. wink.gif

jaclaz

Posted by: magic12kenneth Aug 20 2008, 10:02 AM

Hi All,

I successfully booting LiveXP from USB drive and install Windows XP with the XP source folder located in USB drive.

Next I wanted to learn and see if I can install Windows XP with the XP source folder located in the USB drive but boot off LiveXP from the hard drive. Here is my process of doing it.

1. Boot LiveXP from hard drive.
2. Once in LiveXP, I do a quick format.
3. Run USB_Setup_XP.cmd
4. I select E:\XP3 folder for Windows Source folder. (E: is usb drive)
5. I select C: drive as the target Windows XP installation drive.
6. Type Y to include the migrate.inf
7. I reboot my computer.
8. I select Windows XP setup from the boot menu.
9. While Windows Setup loading for 20 seconds or so I get this error message:

"Insert the CD labled: "Windows XP Professional Service Pack 3 CD" in the cde-rom drive.

Any reasons why I'm getting this?

Kenneth

Posted by: Lancelot Aug 20 2008, 10:04 AM

magic12kenneth

can you write your motherboard model, or notebook model..

Posted by: jaclaz Aug 20 2008, 10:42 AM

QUOTE (magic12kenneth @ Aug 20 2008, 12:02 PM) *
"Insert the CD labled: "Windows XP Professional Service Pack 3 CD" in the cde-rom drive.

Any reasons why I'm getting this?


That is typically related to missing "tag files", though they should not be needed if installing from $WIN_NT$.~BT.

Some info about tag files:
http://www.msfn.org/board/Edit-txtsetupsif-So-You-Don-t-Need-To-M-t65541.html

jaclaz

Posted by: wimb Aug 20 2008, 03:43 PM

QUOTE (magic12kenneth @ Aug 20 2008, 12:02 PM) *
9. While Windows Setup loading for 20 seconds or so I get this error message:

"Insert the CD labled: "Windows XP Professional Service Pack 3 CD" in the cde-rom drive.

Any reasons why I'm getting this?

Kenneth

Could it be that you connected your USB-stick after Booting with LiveXP from C-HDD ?

Read Help_USB_XP_Setup.txt

QUOTE
List of Known Errors and Solution

TXT-mode Setup Memory/CD-Error means harddisk nr in SetupSourceDevice is incorrect
This is due to Hardware Configuration Change on Reboot.
Try to disconnect ZIP-drive, Cardreader or use different USB-port.

This can also occur when 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 PE and USB-drive CONNECTED to Reset Harddisk Number
Run USB_XP_SETUP.cmd again to get correct SetupSourceDevice in TXTSETUP.SIF

Posted by: magic12kenneth Aug 20 2008, 06:27 PM

QUOTE (Lancelot @ Aug 20 2008, 03:04 AM) *
magic12kenneth

can you write your motherboard model, or notebook model..


The motherboard model is Asus A7N8X-VM. It's n-Force-2 chipset.

Kenneth

Posted by: magic12kenneth Aug 20 2008, 06:30 PM

QUOTE (jaclaz @ Aug 20 2008, 02:26 AM) *
Is the PC you are testing with a notebook?

Many notebooks have "strange" BIOSes.

You can try if the "Removable" bit can be flipped.

First thing run against the USB sticks this app:
http://www.boot-land.net/forums/?showtopic=4661

Post results, I may be able to find the appropriate "Manufacturer's tool".

Of course, should I be able to find it/them. installing the tool(s) and attempting to flip the bit is ENTIRELY at your own risk. wink.gif

jaclaz


It's a desktop with the n-Force-2 chipset. I'll give it try and see what happen.

How does the BIOS determines if it a USB drive is a removable disk or fixed HDD?

Kenneth


Posted by: Lancelot Aug 20 2008, 07:23 PM

QUOTE (magic12kenneth @ Aug 20 2008, 08:30 PM) *
..
How does the BIOS determines if it a USB drive is a removable disk or fixed HDD?


Thanks a lot for board info
i checked the manuel, yes there is not an option for that in your bios, i wrote it down to my tips now. smile.gif.

Answer is, by looking size, I am not an expert about usb flash disks but it writes in my bios info tip smile.gif.
For a short solution, try using usb flash disk at least 1gb as you already found out.


Posted by: magic12kenneth Aug 21 2008, 07:25 AM

QUOTE (wimb @ Aug 20 2008, 08:43 AM) *
Could it be that you connected your USB-stick after Booting with LiveXP from C-HDD ?

Read Help_USB_XP_Setup.txt


Method 1. This time I removed the USB drive before I reboot the computer to start the XP Setup. However, I still get the same error message but after it loads the drivers. The first time, it didn't go that far.

I thought that the migrated.inf will reassign the USB drive to U: So it wouldn't change the drive order after you reboot.

Method 2. I try again installing Windows XP with the source folder from usb drive after booting LiveXP from USB drive. I get the same error message after XP Setup finish loading the drivers. That's strange because it works before.

I use the same Windows XP setup files for the XP Source. The only thing change is that I use the latest version of USB_XP_Setup.exe from August 14. So maybe whatever change you made in the August 11 version as quoted below:

From your change log, u did change something in the August 11 version

QUOTE
Edit: August 11, 2008 - BOOT_IMG.cmd will make GRUB4DOS Boot Entry for Vista in Store C:\Boot\BCD
Some small changes in USB_XP_Setup for making boot.ini and setting SetupSourcePath in TXTSETUP.SIF


Can you provide a link for me to download the previous version that is dated before August 11? So I can test it again.

Thanks.

Kenneth

Posted by: wimb Aug 21 2008, 05:23 PM

QUOTE (magic12kenneth @ Aug 21 2008, 09:25 AM) *
I use the same Windows XP setup files for the XP Source.

The problem is NOT your XP Source on USB-drive but the value of Harddisk Number (that is NOT the Drive Letter) in SetupSourceDevice in TXTSETUP.SIF on your C-Harddisk which is set by Running USB_XP_Setup.cmd.

Try Again with:
In this case Reboot with PE and USB-drive CONNECTED to Reset Harddisk Number
Run USB_XP_SETUP.cmd again to get correct SetupSourceDevice in TXTSETUP.SIF


Posted by: magic12kenneth Aug 21 2008, 05:48 PM

QUOTE (wimb @ Aug 21 2008, 10:23 AM) *
The problem is NOT your XP Source on USB-drive but the value of Harddisk Number (that is NOT the Drive Letter) in SetupSourceDevice in TXTSETUP.SIF on your C-Harddisk which is set by Running USB_XP_Setup.cmd.

Try Again with:
In this case Reboot with PE and USB-drive CONNECTED to Reset Harddisk Number
Run USB_XP_SETUP.cmd again to get correct SetupSourceDevice in TXTSETUP.SIF


That didn't do it. I tried several times.

It might have to do with the latest version of USB_XP_Setup that you modify the USB_XP_Setup. Can you provide the previous version so I can verify if this also happens with the previous version that works for me?

Because I didn't have that issue when I first install it from USB drive booting LiveXP from USb drive.

Kenneth

Posted by: ilko Aug 21 2008, 08:45 PM

Check for the correct entries in [data] section in winnt.sif- msdosinitiated and floppyless...The error may come from there too.

Posted by: wimb Aug 22 2008, 04:15 AM

QUOTE (magic12kenneth @ Aug 21 2008, 07:48 PM) *
It might have to do with the latest version of USB_XP_Setup that you modify the USB_XP_Setup. Can you provide the previous version so I can verify if this also happens with the previous version that works for me?

Because I didn't have that issue when I first install it from USB drive booting LiveXP from USb drive.


Previous Version Download http://wimb.winbuilder.net/downloads/USB_XP_Setup_11aug8.exe

@ilko
msdosinitiated and floppyless are set to 0 by USB_XP_Setup for winnt.sif in $WIN_NT$.~BT folder on Install Drive, but If this file is Changed Afterwards then these values can be wrong ......

Posted by: magic12kenneth Aug 22 2008, 07:04 AM

QUOTE (wimb @ Aug 21 2008, 09:15 PM) *
Previous Version Download http://wimb.winbuilder.net/downloads/USB_XP_Setup_11aug8.exe

@ilko
msdosinitiated and floppyless are set to 0 by USB_XP_Setup for winnt.sif in $WIN_NT$.~BT folder on Install Drive, but If this file is Changed Afterwards then these values can be wrong ......


When I run USB_XP_Setup.cmd in LiveXP, I get this warning message at the end:

QUOTE
"WARNING - Harddisk and Partition Number of XP Source Drive were NOT Found
SetupSourceDevice in TXTSETUP.SIF File could not be set for HDD
XP Setup may fail - Manually Change values in SetupSourceDevice TXTSETUP.SIF"


This is what I have for the [SETUPDATA] in the TXTSETUP.SIF.

QUOTE
[SetupData]
SetupSourcePath = "\"
MajorVersion = 5
MinorVersion = 1
DefaultPath=\WINDOWS


In the WINNT.SIF, I have this values:

QUOTE
[Data]
MsDosInitiated=0
floppyless=0


If there are any other debug information you need, let me know.

This is very strange. It works fine when I was writing the tutorial with the August 11 version.

Thanks wimb. I will try it tomorrow with the older version and let you know.

Kenneth

Posted by: wimb Aug 22 2008, 09:18 AM

**** NEW Release USB_XP_Setup - Version 2.0 ****

Make_USB.cmd copies USB_XP_Setup folder to USB-Drive
Make_USB.cmd can Install PE BootSDI.img file on USB-Drive and on C-Harddisk Install-Drive
Make_USB.cmd Supports to make MultiBoot USB-Drive

Multiple XP Source on USB-Drive e.g. Home + Prof + Tablet PC + Media Center Edition
is Supported by Running Make_USB.cmd several times.

Multiple PE RAMBOOT e.g. LiveXP + BartPE + UBCD4WIN is Supported
by Running Make_USB.cmd several times.

BOOT_IMG.cmd is only needed if you want to Create New PE Boot Image File
OR if you if you don't need to Make an USB-Drive, but just want to
Copy WinBuilder LiveXP BootSDI.img Image file to C-HDD or USB-Drive and want
to make Entry for boot.ini Menu and GRUB4DOS menu.lst for Booting with PE from RAMDISK

See Post #1

Posted by: wimb Aug 23 2008, 04:16 AM

QUOTE (magic12kenneth @ Aug 22 2008, 09:04 AM) *
When I run USB_XP_Setup.cmd in LiveXP, I get this warning message at the end:
QUOTE
"WARNING - Harddisk and Partition Number of XP Source Drive were NOT Found
SetupSourceDevice in TXTSETUP.SIF File could not be set for HDD
XP Setup may fail - Manually Change values in SetupSourceDevice TXTSETUP.SIF"


Your USB-stick is NOT seen as Harddisk due to wrong BIOS Setting.

Change your BIOS Setting OR use other USB-stick that is seen by BIOS as harddisk.

Reboot with LiveXP from HDD and Run USB_XP_Setup.cmd AGAIN.

Posted by: magic12kenneth Aug 23 2008, 08:55 AM

QUOTE (wimb @ Aug 22 2008, 09:16 PM) *
Your USB-stick is NOT seen as Harddisk due to wrong BIOS Setting.

Change your BIOS Setting OR use other USB-stick that is seen by BIOS as harddisk.

Reboot with LiveXP from HDD and Run USB_XP_Setup.cmd AGAIN.


Method 1: Boot and Install from USB drive
Method 2: Boot and Install from C: Hard drive

That's very strange. It works fine the first time when I use it for writing the tutorial.

Now I use both methods and it doesn't work at all.

As you might know from my previous posts here, the only working USB stick that can boot LiveXP is my 1G USB stick because my BIOS see it as USB hard drive. I didn't change any setting in my BIOS.

I also tried the Aug11 version and it's the same. I even reset the BIOS to default.

Method 2 should work since it is a regular hard drive. It shouldn't try to verify if it is a usb hard drive or not.

This can be confusing.

In the Disk Management, USB flash drive is labeled as Removable below the drive icon. But in my BIOS see it as USB hard drive because when I select my boot sequence I can only either select my regular hard drive or my usb flash drive as boot device for hard drive.

Oh well... Maybe I guess my only option is to manually edit textsetup.sif. Can you give me the code on what I need to edit for both methods?

Thanks again.

Kenneth

Posted by: wimb Aug 23 2008, 09:27 AM

QUOTE (magic12kenneth @ Aug 23 2008, 10:55 AM) *
Oh well... Maybe I guess my only option is to manually edit textsetup.sif. Can you give me the code on what I need to edit. One for the XP source on USB drive and the other one for XP source on partition 1 C: hard drive. Do I need to change the TEXTSETUP.TIF in root C: and C:\$WIN_NT$.~BT?

Connect your USB-stick, then Boot with LiveXP from HDD.

Use Disk Manager to determine harddisk nr of your USB-stick.
If your USB-stick is NOT visible in Disk Manager then your USB-stick is NOT seen as Harddisk
and your problem cannot be solved this way.

Otherwise:
Open C:\TXTSETUP.SIF in notepad.
Search for SetupSource and edit according to

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

where you use for XPPRO your XP Source folder name and
for harddisk1 your harddisk nr of your XP Source.

Save TXTSETUP.SIF and Copy TXTSETUP.SIF of Root to C:\$WIN_NT$.~BT

Posted by: magic12kenneth Aug 23 2008, 10:46 AM

QUOTE (wimb @ Aug 23 2008, 02:27 AM) *
Connect your USB-stick, then Boot with LiveXP from HDD.

Use Disk Manager to determine harddisk nr of your USB-stick.
If your USB-stick is NOT visible in Disk Manager then your USB-stick is NOT seen as Harddisk
and your problem cannot be solved this way.

Otherwise:
Open C:\TXTSETUP.SIF in notepad.
Search for SetupSource and edit according to

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

where you use for XPPRO your XP Source folder name and
for harddisk1 your harddisk nr of your XP Source.

Save TXTSETUP.SIF and Copy TXTSETUP.SIF of Root to C:\$WIN_NT$.~BT


I'll give it try.

But I still don't understand why I'm getting this error message if I boot LiveXP from hard drive with the XP source on C: (partition 1) hard drive. I don't have my USB drive inserted. I only have one hard drive with two partitions in the computer. The XP source folder is on Partion 1 called XP.

I'm trying to understand why it doesn't detect it. If it doesn't detect it, then USB_SETUP_XP.cmd shouldn't be able to see and copy the files from my C:\XP folder to create the boot folder.

Kenneth

Posted by: wimb Aug 23 2008, 05:25 PM

QUOTE (magic12kenneth @ Aug 23 2008, 12:46 PM) *
I'll give it try.

But I still don't understand why I'm getting this error message if I boot LiveXP from hard drive with the XP source on C: (partition 1) hard drive. I don't have my USB drive inserted. I only have one hard drive with two partitions in the computer. The XP source folder is on Partion 1 called XP.

I'm trying to understand why it doesn't detect it. If it doesn't detect it, then USB_SETUP_XP.cmd shouldn't be able to see and copy the files from my C:\XP folder to create the boot folder.

Kenneth
What value is the harddisk number with C-drive as visible in Disk Manager ?

What is written in TXTSETUP.SIF in Root of C-drive after Running USB_XP_Setup.cmd
instead of:

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

Can you possibly supply an image of your Disk Manager window ?

Can you give as Attachment your file USB_XP_Setup\makebt\dplist.txt AFTER Reboot with LiveXP and running USB_XP_Setup.cmd.

The file USB_XP_Setup\makebt\dplist.txt is produced by MBRWiz.exe and is used to determine the harddisk number of your XP Source Drive.

You can check if MBRWiz.exe is doing its work well by:
- Open Command Window at USB_XP_Setup\makebt folder
- Run the command: MBRWiz /list

Posted by: magic12kenneth Aug 24 2008, 07:04 AM

QUOTE (wimb @ Aug 23 2008, 10:25 AM) *
What value is the harddisk number with C-drive as visible in Disk Manager ?

What is written in TXTSETUP.SIF in Root of C-drive after Running USB_XP_Setup.cmd
instead of:

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

Can you possibly supply an image of your Disk Manager window ?

Can you give as Attachment your file USB_XP_Setup\makebt\dplist.txt AFTER Reboot with LiveXP and running USB_XP_Setup.cmd.

The file USB_XP_Setup\makebt\dplist.txt is produced by MBRWiz.exe and is used to determine the harddisk number of your XP Source Drive.

You can check if MBRWiz.exe is doing its work well by:
- Open Command Window at USB_XP_Setup\makebt folder
- Run the command: MBRWiz /list


What value is the harddisk number with C-drive as visible in Disk Manager?

As far I remember, the value of my hard drive see by Disk Manager is disk 0 with partition 1 and partition 2.


What is written in TXTSETUP.SIF in Root of C-drive after Running USB_XP_Setup.cmd

[SetupData]
SetupSourcePath = "\"
Major....


Can you possibly supply an image of your Disk Manager window?

I use WinBuilder 0.95 Beta 4 with the minium version. When you supply an image of your disk Manager window, do you mean a screenshoot? If so, I will have to install a snapshoot tool.

I will have to do it again to get the other information you need. I'll let you know tomorrow.

I did manually edit the textsetup.tif with disk0 and partition 1. Everything works.

Kenneth

Posted by: wimb Aug 24 2008, 07:41 AM

QUOTE (magic12kenneth @ Aug 24 2008, 09:04 AM) *
Can you possibly supply an image of your Disk Manager window?

I use WinBuilder 0.95 Beta 4 with the minium version. When you supply an image of your disk Manager window, do you mean a screenshoot? If so, I will have to install a snapshoot tool.

I will have to do it again to get the other information you need. I'll let you know tomorrow.

I did manually edit the textsetup.tif with disk0 and partition 1. Everything works.

Kenneth

Nice to hear that Manual Edit did work for you.
But now we have to find out why USB_XP_Setup.cmd with MBRWiz.exe did not work for you.

The dplist.txt file will give a lot of info for me and is may be sufficient.

The screenshot of Disk Manager is obtained by pressing [Alt][PrintScrn]
and then Paste the Clipboard in IrfanView or Paint.

So in LiveXP R-mouse on This Computer > Computer Management > Disk Manager
Enlarge Screen till you see all Disks and Press [Alt][PrintScrn]

You need an image program like IrfanView or Paint (launch from somewhere)
and use Paste to copy the Clipboard.
Then Save your Disk Manager Screenshot as JPG filetype.

But for now the dplist.txt will be already sufficient.

Posted by: magic12kenneth Aug 24 2008, 09:08 AM

QUOTE (wimb @ Aug 24 2008, 12:41 AM) *
Nice to hear that Manual Edit did work for you.
But now we have to find out why USB_XP_Setup.cmd with MBRWiz.exe did not work for you.

The dplist.txt file will give a lot of info for me and is may be sufficient.

The screenshot of Disk Manager is obtained by pressing [Alt][PrintScrn]
and then Paste the Clipboard in IrfanView or Paint.

So in LiveXP R-mouse on This Computer > Computer Management > Disk Manager
Enlarge Screen till you see all Disks and Press [Alt][PrintScrn]

You need an image program like IrfanView or Paint (launch from somewhere)
and use Paste to copy the Clipboard.
Then Save your Disk Manager Screenshot as JPG filetype.

But for now the dplist.txt will be already sufficient.


Here is the dplist.txt that you requested. I didn't disconnect my 2nd hard drive (disk 1) this time.

Disk 0 is the hard drive with two partitions
Disk 1 is the hard drive with one partition
Disk 2 is the USB drive

I couldn't take a screenshot because I didn't install any graphic viewer installed with LiveXP. However, I verify that it is the same as it is shown in Disk Manager.

Kenneth

 dplist.txt ( 1.07K ) : 12
 

Posted by: wimb Aug 24 2008, 09:19 AM

QUOTE (magic12kenneth @ Aug 24 2008, 10:08 AM) *
Here is the dplist.txt that you requested. I didn't disconnect my 2nd hard drive (disk 1) this time.

Thanks for dplist.txt
At first sight there is no problem with MBRWiz.exe
The list seems normal, I don't understand why USB_XP_Setup.cmd did not do the job for you ....

Do you have any idea ?

At what stage did you disconnect your second harddrive previously ?
May be USB_XP_Setup.cmd will work also this time .....

Posted by: magic12kenneth Aug 24 2008, 10:34 AM

QUOTE (wimb @ Aug 24 2008, 02:19 AM) *
Thanks for dplist.txt
At first sight there is no problem with MBRWiz.exe
The list seems normal, I don't understand why USB_XP_Setup.cmd did not do the job for you ....

Do you have any idea ?

At what stage did you disconnect your second harddrive previously ?
May be USB_XP_Setup.cmd will work also this time .....


Welcome... I have no idea. That's what I'm trying to figure out right now. The first time I got it to work when writing the tutorial.

I disconnected the second hard drive by disconnecting the cable physically before I startup LiveXP to check if my second hard drive is the cause.

I really don't know what to do. I'm going to test it on my laptop and see what happen.

Kenneth

Posted by: magic12kenneth Aug 26 2008, 06:32 AM

Wimb,

I just finish installing Windows XP with the source folder located on C: hard drive partition 2 after booting LiveXP from hard drive. I'm still getting the same eror message above.

This is a laptop with one hard drive with two partitions. USB boot is not supported.

I checked the dplist.txt and it shows the hard drive with the two partitions.

This is very strange. Has anyone get this issue? Can someone else do a quick test on this?

Kenneth

Posted by: wimb Aug 26 2008, 09:32 AM

QUOTE (magic12kenneth @ Aug 26 2008, 08:32 AM) *
Wimb,

I just finish installing Windows XP with the source folder located on C: hard drive partition 2 after booting LiveXP from hard drive. I'm still getting the same eror message above.

This is a laptop with one hard drive with two partitions. USB boot is not supported.

I checked the dplist.txt and it shows the hard drive with the two partitions.

This is very strange. Has anyone get this issue? Can someone else do a quick test on this?

Kenneth

That explains everything ! smile.gif
Your XP Source must always be located on the First Partition of ANY Drive.
This is ESSENTIAL for this type of XP Install.
Otherwise XP Setup is NOT able to find the XP Source as specified in TXTSETUP.SIF

See Tutorial and Intro of USB_XP_Setup.cmd
QUOTE
XP Setup Source Folder can be on USB-stick or on partition 1 of USB-HDD or ANY Harddisk.


When your XP Source is Located on Logical Drive of Extended Partition
then MBRWiz.exe is NOT able to identify the harddisk number of the XP Source Drive
and you will get the WARNING that you received.

So If you want your XP Source on Harddisk instead of on USB-stick then
AFTER booting with LiveXP and Quick Format of C-drive you must COPY your XP Source to C-drive
so that it is Located on the First Partition of the Harddisk Drive.
After that you have to Run USB_XP_Setup.cmd and everything will work wink.gif

Posted by: magic12kenneth Aug 26 2008, 11:17 PM

QUOTE (wimb @ Aug 26 2008, 02:32 AM) *
That explains everything ! smile.gif
Your XP Source must always be located on the First Partition of ANY Drive.
This is ESSENTIAL for this type of XP Install.
Otherwise XP Setup is NOT able to find the XP Source as specified in TXTSETUP.SIF

See Tutorial and Intro of USB_XP_Setup.cmd


When your XP Source is Located on Logical Drive of Extended Partition
then MBRWiz.exe is NOT able to identify the harddisk number of the XP Source Drive
and you will get the WARNING that you received.

So If you want your XP Source on Harddisk instead of on USB-stick then
AFTER booting with LiveXP and Quick Format of C-drive you must COPY your XP Source to C-drive
so that it is Located on the First Partition of the Harddisk Drive.
After that you have to Run USB_XP_Setup.cmd and everything will work wink.gif


Ok, I redo the Widnows XP installation but this time I put the XP source folder in the first partition of C: hard drive as you mention above. Still getting the same error message.

Also, from my previous attempts on my desktop. I tried both the XP source folder on C: partition 1 hard drive and also on USB drive.

I ask my friend to borrow his laptop for testing tonight. I will test installing with XP source on USB drive and C: hard drive partition 1.

Kenneth

Posted by: magic12kenneth Aug 27 2008, 07:15 AM

I finally finish testing on my friend's old Toshiba laptop with no usb boot or dvd/cd boot. The hard drive is format with one partition only.

I tested booting LiveXP from hard drive with the XP source folder on C: hard drive partition 1 or on USB 1GB flash drive. I'm still getting the same error message. If I manually edit it, it works fine.

So, I don't know if it is me or what.

If you have anything for me to test to help you, let me know.

But I still do not understand why it works the first time when I use it to write the tutorial.

Kenneth

Posted by: wimb Aug 27 2008, 07:52 AM

New Version of USB_XP_Setup Available. See post #1

August 27, 2008 - Copy USB_XP_Setup to USB-stick is selectable YES / NO now.
Vista User Account Control will give Error Message if ON.
Better treatment of Path Containing Spaces by using double quotes where missing.

Posted by: xenocyte Aug 29 2008, 01:29 AM

Hi, i've followed the guide to the letter and everything works fine up until the txt part of the XP setup stage.
It still won't accept the unattended section being in the answer file and tries to automatically format the hardrive.

Posted by: wimb Aug 29 2008, 05:47 AM

TXT-mode does NOT format your harddisk for this type of Install.
After you Select your Install partition then automatically the FileCopy starts, is that what you mean ?

Quick Format of your C Install-Drive was done using Drive Explorer in LiveXP PE environment.
Then you Run USB_XP_SETUP.cmd to make XP Setup BootFolder $WIN_NT$.~BT on C-Install-Drive
and you are NOT allowed to format the Install drive anymore.
Consequently FileSystem=* which would present Format Options to the User
is removed from the [Unattended] section to avoid this conflict.

So Format is done before running TXT mode of XP Setup
and that is different as compared to Install of XP from CD.

All Other Options of the [Unattended] section just work normally as when you Install from CD.

Posted by: magic12kenneth Aug 29 2008, 05:25 PM

Wimb,

I havee a solution that I would like suggest regarding about the issue that I'm having.

For whatever reason that the MBRWiz.exe can't find my drive in three of my tested systems when doing the USB_XP_Setup, we add a feature to append the target path if the MBRWiz.exe failed because we already know what the target path is for the XP source folder path when the user enter the location for the XP source folder.

What do you think? That would be one workaround solution.l

Kenneth

Posted by: wimb Aug 29 2008, 05:41 PM

The SetupSourcePath is not the problem.
The XP Source folder name is quite well known and already used in USB_XP_Setup.cmd e.g. as
SetupSourcePath = "\XPPRO\"

MBRWiz.exe is used now to relate XP Source Drive Letter to harddisk number and so to determine e.g.
SetupSourceDevice = \device\harddisk1\partition1

But If you have another way to determine the XP Source harddisk number then tell me more about it.

Posted by: magic12kenneth Aug 30 2008, 05:54 AM

QUOTE (wimb @ Aug 29 2008, 10:41 AM) *
The SetupSourcePath is not the problem.
The XP Source folder name is quite well known and already used in USB_XP_Setup.cmd e.g. as
SetupSourcePath = "\XPPRO\"

MBRWiz.exe is used now to relate XP Source Drive Letter to harddisk number and so to determine e.g.
SetupSourceDevice = \device\harddisk1\partition1

But If you have another way to determine the XP Source harddisk number then tell me more about it.


The user have to enter the location to the XP source folder that contains the drive letter, partition and the folder path when using the XP_XP_Setup.cmd. In that case you can simply used this information to fill it the value for the SetupSourceDevice and SetupSourcePath as one option.

Kenneth

Posted by: wimb Aug 30 2008, 06:56 AM

Can you give a more precise example on how you modify TXTSETUP.SIF

Could you Install XP from USB in all three of your computer systems ?

Posted by: magic12kenneth Aug 31 2008, 06:59 AM

QUOTE (wimb @ Aug 29 2008, 11:56 PM) *
Can you give a more precise example on how you modify TXTSETUP.SIF

Could you Install XP from USB in all three of your computer systems ?


Yes, I can install it for all three computers if I manually edit the TXTSETUP.SIF. Looking at the dplist.txt, MBRWiz.exe is reporting the correct list of drives in all three systems.

Since MBRWiz.exe is reporting the correct drive list, we can use the dplist.txt to manually edit the TXTSETUP.SIF.

For example, if the dplist.txt list the following:

CODE
Disk: 0   Size:  14G CHS: 1826 255 63
Pos MBRndx Type/Name  Size Active Hide Start Sector   Sectors    DL Vol Label
--- ------ ---------- ---- ------ ---- ------------ ------------ -- ----------
  0    0    07-NTFS    9.0G   Yes   No            63   18,426,492 C: BOOT      
  1    1    0F-EXTEND  5.3G   No    No    18,426,555   10,892,070 -- <None>    

Disk: 1   Size: 238G CHS: 30401 255 63
Pos MBRndx Type/Name  Size Active Hide Start Sector   Sectors    DL Vol Label
--- ------ ---------- ---- ------ ---- ------------ ------------ -- ----------
  0    0    07-NTFS    238G   Yes   No            63  488,375,937 D: Data      

Disk: 2   Size: 982M CHS: 125 255 63
Pos MBRndx Type/Name  Size Active Hide Start Sector   Sectors    DL Vol Label
--- ------ ---------- ---- ------ ---- ------------ ------------ -- ----------
  0    0    0E-FAT16X  982M   Yes   No            63    2,013,121 F: XP_INSTALL


and the user enters the following information for USB_XP_SETUP.cmd

QUOTE
XP Source Folder: D:\XP
XP Target Folder: C:


To edit the TXTSETUP.SIF manually, we have to use the dplist.txt to translate D:\XP with the following steps:

1. Search the dplist.txt for D: drive letter to determine the drive number (which disk 1). If it can't find it, then we know MBRWiz.exe failed for sure.

2. Once you know which drive letter, you look at the Pos column to determine the partition (which partition 0 meaning partition 1).

3. For the XP source folder, we already know it's \XP.

Therefore, it will look like this:

QUOTE
SetupSourcePath = "\XP"
SetupSourceDevice = " \device\harddisk1\partition1"


So you need implement a search function to search a string in the dplist.txt.

Kenneth

Posted by: wimb Aug 31 2008, 07:10 AM

QUOTE (magic12kenneth @ Aug 31 2008, 08:59 AM) *
So you need implement a search function to search a string in the dplist.txt.
The procedure that you describe was already implemented in USB_XP_Setup.cmd program.
So it is nothing NEW, but it should work also for you as you say your dplist.txt is always OK.
It remains strange to me that your TXTSETUP.SIF was not properly Edited by the program.
Is your TXTSETUP.SIF file Read Only ?

Posted by: xenocyte Sep 1 2008, 12:46 AM

QUOTE (wimb @ Aug 29 2008, 03:47 PM) *
TXT-mode does NOT format your harddisk for this type of Install.
After you Select your Install partition then automatically the FileCopy starts, is that what you mean ?

Quick Format of your C Install-Drive was done using Drive Explorer in LiveXP PE environment.
Then you Run USB_XP_SETUP.cmd to make XP Setup BootFolder $WIN_NT$.~BT on C-Install-Drive
and you are NOT allowed to format the Install drive anymore.
Consequently FileSystem=* which would present Format Options to the User
is removed from the [Unattended] section to avoid this conflict.

So Format is done before running TXT mode of XP Setup
and that is different as compared to Install of XP from CD.

All Other Options of the [Unattended] section just work normally as when you Install from CD.



Okay, retried the whole process again.

New issue - Just after the 'setup is loading windows' part on XP txt mode install I'm now getting BSOD with following errors:

0x0000008E - 0xC0000006 - 0x8090CF2D - 0xF7D065A4 - 0x00000000.

Scratching my head again...

Posted by: wimb Sep 1 2008, 06:20 AM

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.

After using DPsBase.exe the BTS DriverPacks are located in OEM Folder in your XP Source
http://driverpacks.net/DriverPacks/

Always use DPsBase.exe AFTER using RyanVM Integrator or nLite
which can be used to Integrate Windows UpdatePacks in the XP-Source.


Posted by: magic12kenneth Sep 1 2008, 08:52 PM

QUOTE (wimb @ Aug 31 2008, 12:10 AM) *
The procedure that you describe was already implemented in USB_XP_Setup.cmd program.
So it is nothing NEW, but it should work also for you as you say your dplist.txt is always OK.
It remains strange to me that your TXTSETUP.SIF was not properly Edited by the program.
Is your TXTSETUP.SIF file Read Only ?


No, the TXTSETUP.SIF is not read only. Yes, indeed, it's very strange.

I wonder if anyone else is experiencing this.

This morning, I help another friend with a desktop to reinstall Windows XP. I also get the same error message from MBRWiz.exe.

Is there is a dos search util for text file that we can replace if it fails?

Kenneth

Posted by: wimb Sep 2 2008, 04:57 AM

It is not MBRWiz.exe that fails for you, since you say that dplist.txt is always correct
and dplist.txt is the output file of MBRWiz.exe. MBRWiz.exe is NOT the editor wink.gif

On my 3 systems the TXTSETUP.SIF file is always edited correctly
by USB_XP_Setup.cmd with aid of makebt\Fedit.exe and dplist.txt

So NO problems here smile.gif

Posted by: magic12kenneth Sep 2 2008, 06:41 AM

QUOTE (wimb @ Sep 1 2008, 09:57 PM) *
It is not MBRWiz.exe that fails for you, since you say that dplist.txt is always correct
and dplist.txt is the output file of MBRWiz.exe. MBRWiz.exe is NOT the editor wink.gif

On my 3 systems the TXTSETUP.SIF file is always edited correctly
by USB_XP_Setup.cmd with aid of makebt\Fedit.exe and dplist.txt

So NO problems here smile.gif


Yeap, it seems I'm the only who is having this issue. Let's hope it will resolve by itself in future release. Who knows...

Kenneth

Posted by: polly4you Sep 8 2008, 02:39 AM

Thank you wimb...

Posted by: wimb Sep 22 2008, 06:22 PM

For peculiar older BIOS versions, where harddisk number of USB-Drive and Install Drive
are Reversed in TXT-Mode and GUI-Mode, it occurs that the XP Source is NOT found.
In USB_XP_Setup.cmd you can Select now to Copy the XP Source from USB-drive to the Install Target Drive,
to overcome this problem, which takes about 5 minutes extra time.

The BIOS of a Compaq computer of 2002 was giving me the trouble that
in TXT-mode and in PE environment the USB-stick was harddisk0 and Internal HD was harddisk1 ,but
in GUI-mode and in XP Environment the same USB-stick was harddisk1 and Internal HD was harddisk0
The problem of this reversal of harddisk number in XP Setup was overcome by
Copy of the XP Source from USB-drive to the Install Target Drive. Then you always find the files.

USB_XP_Setup Package was Updated accordingly.

Posted by: ilko Sep 23 2008, 04:20 AM

This is interesting report Wimb, thanks. Can you give more details about this machine?
BTW- good idea is to move rdummy to BusExtenders, I've had cases when it didn't load when is among many SCSI/SATA drivers. Not sure if you already done that.

Posted by: wimb Sep 23 2008, 07:10 AM

It is an OLD Compaq of 2002 with following Details derived frow SIW

QUOTE
Compaq 5371EA 470017-436 Desktop
Physical Memory 256 MB Total, 75 MB Free

Motherboard Compaq Model 077Ch
Chipset Vendor Intel Corporation
Chipset Model 845 Brookdale Host-Hub Interface Bridge (A3-step)
South Bridge 82801BA (ICH2) LPC Interface Controller
CPU Intel Pentium 4

BIOS Version COMPAQ - 20011203
686Y2 v2.06
BIOS Date 12/03/01
BIOS Vendor Compaq
Version 686Y2 v2.06
Release 12/03/2001
BIOS Size 512 KB
Characteristics - supports booting from ATAPI ZIP drive
- supports booting from LS-120
- supports AGP
- supports legacy USB
- supports ACPI
- Multi Proccesor supported by BIOS
- supports INT 17 printer services
- supports INT 14 serial services
- supports INT 09 and 8042 keyboard services
- supports INT 05 print-screen
- supports INT 13 3.5-inch/720K floppy services
- supports INT 13 5.25-inch/1.2M floppy services
- supports INT 13 5.25-inch/360K floppy services
- supports INT 13 for Japanese Toshiba 1.2M floppy (3.5-inch, 360rpm)
- supports Enhanced Disk Drive specification
- supports selectable boot
- supports booting from CD-ROM
- allows BIOS shadowing
- upgradeable (Flash) BIOS
- supports APM
- supports Plug-and-Play
- supports PCI
DMI Version 2.3 @000F9C00

But I must say it is very strange behaviour of this BIOS regarding Harddisk Numbering for USB-stick and Internal Harddisk,
which reverses when Rebooting from TXT into GUI-mode.

Thanks for the Info on rdummy for USB-Harddisk. Until now I was using SCSI.Load and SCSI as Section.


Posted by: wimb Sep 25 2008, 01:31 PM

QUOTE (ilko @ Sep 23 2008, 06:20 AM) *
BTW- good idea is to move rdummy to BusExtenders, I've had cases when it didn't load when is among many SCSI/SATA drivers. Not sure if you already done that.

Thanks ilko smile.gif
USB_XP_Setup package was Updated:

In USB_XP_Setup.cmd - Entry for rdummy.sys in TXTSETUP.SIF was moved from Section [SCSI] to [BusExtenders]
Removed /k flag in xcopy commands which
would cause $WIN_NT$.~BT\TXTSETUP.SIF being ReadOnly when XP Source was on CD.

Posted by: wimb Oct 3 2008, 05:51 PM

*** Update USB_XP_Setup - v 2.04 ***

Important Changes



WARNING
In the LiveXP stable Project lx51808cx of amalux I noticed that the Drive Letters of Harddisk Partitions
are NOT present in the makebt\dplist.txt as produced by makebt\MBRWiz.exe /list
The result is that when USB_XP_Setup.cmd is used in the lx51808cx LiveXP PE Environment,
then identification of Harddisk Partition from Drive Letter using makebt\dplist.txt fails,
so that USB_XP_Setup.cmd cannot Continue. The Solution is to use another LiveXP BootSDI.img File.

Another test:
Run DISKPART from cmd window
DISKPART > Select Disk 0
DISKPART > detail disk

The column Ltr does NOT display the Drive Letter for the case of lx51808cx LiveXP
I don't know yet what is causing this issue, but will Continue to do more experiments.

Direct Download - http://wimb.winbuilder.net/ccount12/click.php?id=1 ----- Or ----- http://wimb.winbuilder.net/ccount12/click.php?id=2


Adding Pstart_X to your LiveXP BootSDI.img File
LiveXP + Pstart_X + USB_XP_Setup.cmd - http://wimb.winbuilder.net/ScreenShots/LiveXP_PStart_X2.jpg



Posted by: jaclaz Oct 4 2008, 09:06 AM

QUOTE (wimb @ Oct 3 2008, 07:51 PM) *
WARNING
In the LiveXP stable Project lx51808cx of amalux I noticed that the Drive Letters of Harddisk Partitions
are NOT present in the makebt\dplist.txt as produced by makebt\MBRWiz.exe /list


Is the first sector of bootSDI.img a MBR or a bootsector? unsure.gif

In other words, is bootSDI.img a HD image or a partition or "superfloppy" image.

jaclaz

Posted by: wimb Oct 4 2008, 09:28 AM

QUOTE (jaclaz @ Oct 4 2008, 10:06 AM) *
Is the first sector of bootSDI.img a MBR or a bootsector? unsure.gif

The lx51808cx BootSDI.img file has a regular NTFS NTLDR Bootsector as First Sector,
as tested by Mounting in VDK and analysed by using TinyHexer.
The BootSDI.img file was produced as normal with WinBuilder 074 in this case.

Thanks for your help, I hope we can solve the DriveLetter issue for this particular build.

Posted by: jaclaz Oct 4 2008, 11:06 AM

QUOTE (wimb @ Oct 4 2008, 11:28 AM) *
The lx51808cx BootSDI.img file has a regular NTFS NTLDR Bootsector as First Sector,
as tested by Mounting in VDK and analysed by using TinyHexer.


I'll try to rephrase.

Try mounting the BootSDI.img with IMDISK (WITHOUT specifying an offset).

If it mounts, it means that, as confirmed by your report about first sector being a bootsector, and as expected, the BootSDI.img is a "superfloppy" image, i.e. there is NO MBR, NOR partition table.

Thus MBRWizard won't work on it.

I am not sure to have clear in my mind at what stage this is used, and what it is needed for, can you briefly describe, with more details, the procedure that fails?

jaclaz



Posted by: wimb Oct 4 2008, 11:53 AM

The lx51808cx BootSDI.img file is Installed by BOOT_IMG.cmd as boot option in boot.ini on Harddisk.
After Reboot the BootSDI.img file is loaded in RAMDISK and one boots in 30 sec into LiveXP PE Environment.

Using DISKPART from cmd window
DISKPART > Select Disk 0
DISKPART > detail disk

The column Ltr does NOT display the Drive Letter of Harddisk Partition for the case of lx51808cx LiveXP
(for other builds DISKPART would display a column Ltr with Drive Letters, so the above is an ERROR)

Now:
When Running USB_XP_Setup.cmd then this batch makes use of Roger Layton's program MBRWiz.exe
I am parsing the file makebt\dplist.txt which is produced by makebt\MBRWiz.exe /list
Normally this list displays for all Harddisks the Primary partitions with their Drive Letter.
In this way I can find out what is the harddisk and partition number of the XP Source Drive specified by its DriveLetter.
The harddisk and partition number are needed to specify in TXTSETUP.SIF file where to find the XP Source.

THe problem is that for the particular case of lx51808cx BootSDI.img file
that the Drive Letters of Harddisk Partitions are NOT present in the dplist.txt file (just displaying --)
It is NOT something specific for MBRWiz.exe since Drive Letters of Harddisk Partitions are also NOT given by DISKPART

The result is that when USB_XP_Setup.cmd is used in the lx51808cx LiveXP PE Environment,
then identification of Harddisk Partition from Drive Letter using makebt\dplist.txt fails,
so that USB_XP_Setup.cmd cannot Continue.

I hope this helps to explain the problem.

So it is NOT the BootSDI drive itself or DriveLetter X: that I need or are using (the problem is NOT there)
My concern is the Drive Letters of the Local Harddisk Partitions that are missing in makebt\MBRWiz.exe /list

Posted by: jaclaz Oct 4 2008, 01:03 PM

I see. smile.gif

Tricky. unsure.gif

Can you try running devcon?

If yes, try using harddisk.bat here:
http://www.robvanderwoude.com/devcon.html

jaclaz

Posted by: wimb Oct 4 2008, 01:08 PM

I just made a build with lx51808cx where I Unchecked All Apps.
Then the problem is gone, but now which App is causing the DriveLetter issue .....

Will try also devcon as you said. Thanks.

Posted by: amalux Oct 4 2008, 06:03 PM

My guess would be the older Acronis TI script which handled drive letters differently.

Posted by: jaclaz Oct 4 2008, 06:21 PM

QUOTE (amalux @ Oct 4 2008, 08:03 PM) *
My guess would be the older Acronis TI script which handled drive letters differently.

If this is the case, together with the "drive inaccessible" created by Acronis Lower or Upper filters:
http://www.boot-land.net/forums/index.php?showtopic=5736&st=32

I will definitely put Acronis in the "bad boys" corner (where I keep ALL Partition Magic releases after 4.0 wink.gif):
http://mirror.href.com/thestarman/asm/mbr/2896C417.htm

By the way I strongly suspect (but I do not have actual evidence of this creating problems) that like PM does, also some releases of Acronis product use the hidden sectors to write some "strange" data.

cheers.gif

jaclaz

Posted by: wimb Oct 4 2008, 07:11 PM

QUOTE (amalux @ Oct 4 2008, 08:03 PM) *
My guess would be the older Acronis TI script which handled drive letters differently.

Yep, that is the bad boy ! wink.gif
Thanks, a lot for Solving the Problem biggrin.gif

After Removing Acronis True Image Workstation 9.1 from the build
and then booting from RAMDISK with LiveXP BootSDI.img file,
the Drive Letters are displayed correctly in makebt\MBRWiz.exe /list
so that I can use the produced file makebt\dplist.txt to determine
harddisk and partition numbers of Install Target Drive and XP Source Drive.

cheers.gif

wimb

Posted by: amalux Oct 4 2008, 08:34 PM

Glad this solved the mystery wink.gif , can you confirm if this issue is resolved in the PE version of Acronis TI script? New version present in post lx8--cx builds and uses different file support set. Thanks wimb for finding and testing and for your great tutorials thumbup.gif

Posted by: amalux Oct 4 2008, 10:22 PM

Quick, initial test seems OK with PE Acronis...


(note, vol 7 not given drive ltr for test purpose)
--
More testing confirms above results biggrin.gif - lx72408cx was last build to use older Acronis setup, I'm happy to report subsequent builds work fine with USB_XP_Setup (current is lx92908cx)

cheers.gif

Posted by: wimb Oct 5 2008, 10:25 AM


Hi amalux,

I can confirm that lx92908cx works fine with USB_XP_Setup.cmd
and Acronis True Image PE does NOT give the previously reported Drive Letter issue.

So that is all very good now. biggrin.gif

I had some more work to apply the autoLocalization.Script made by PSC and Galapo
which is needed in Europe to display the decimal sign in Drive Explorer and
to get non zero values in Acronis Disk Director 10

The version of WinBuilder in lx92908cx is 075 beta 4h.
The NEW autoLocalization.Script adapted by Galapo Requires 075 beta 4n or newer, so I had to Upgrade.

http://galapo.boot-land.net/temp/autoLocalization.Script

This script requires 075 beta 4n or newer, I had Succes with 075 beta 4q ,
but the BootSDI.img file made with the most recent 075 beta 5h Crashed after loading in RAMDISK.

Succes http://wimb.winbuilder.net/ScreenShots/LX92908CX_MBRWiz.jpg

cheers.gif

wimb

Posted by: amalux Oct 5 2008, 03:19 PM

QUOTE (wimb @ Oct 5 2008, 03:25 AM) *
Hi amalux,

I can confirm that lx92908cx works fine with USB_XP_Setup.cmd
and Acronis True Image PE does NOT give the previously reported Drive Letter issue.

So that is all very good now. biggrin.gif

thumbup.gif

QUOTE (wimb @ Oct 5 2008, 03:25 AM) *
I had some more work to apply the autoLocalization.Script made by PSC and Galapo
which is needed in Europe to display the decimal sign in Drive Explorer and
to get non zero values in Acronis Disk Director 10

The version of WinBuilder in lx92908cx is 075 beta 4h.
The NEW autoLocalization.Script adapted by Galapo Requires 075 beta 4n or newer, so I had to Upgrade.

http://galapo.boot-land.net/temp/autoLocalization.Script

This script requires 075 beta 4n or newer, I had Succes with 075 beta 4q ,
but the BootSDI.img file made with the most recent 075 beta 5h Crashed after loading in RAMDISK.

Succes http://wimb.winbuilder.net/ScreenShots/LX92908CX_MBRWiz.jpg

cheers.gif

wimb

OK, I'll include the updated autoLocalization script in the next build; now I just have to track down and test a wb-b4q! I didn't happen to catch that one in the nightly builds but I'll look around for a download link wink.gif

Posted by: wimb Oct 5 2008, 03:32 PM

QUOTE (amalux @ Oct 5 2008, 05:19 PM) *
OK, I'll include the updated autoLocalization script in the next build; now I just have to track down and test a wb-b4q! I didn't happen to catch that one in the nightly builds but I'll look around for a download link wink.gif

Very Good !
I have just Uploaded both files to my download folder

http://wimb.winbuilder.net/downloads/

wimb

Posted by: amalux Oct 5 2008, 03:38 PM

QUOTE (wimb @ Oct 5 2008, 08:32 AM) *
Very Good !
I have just Uploaded both files to my download folder

http://wimb.winbuilder.net/downloads/

wimb

thumbup.gif

Testing now, should have new build posted later today if no problems wink.gif

cheers.gif

--
Bit of a snag, I'll work on it later today and, if needed, post in appropriate place wink.gif

Posted by: amalux Oct 10 2008, 12:35 AM

QUOTE (wimb @ Oct 5 2008, 03:25 AM) *
Hi amalux,

I can confirm that lx92908cx works fine with USB_XP_Setup.cmd
and Acronis True Image PE does NOT give the previously reported Drive Letter issue.

So that is all very good now. biggrin.gif

I had some more work to apply the autoLocalization.Script made by PSC and Galapo
which is needed in Europe to display the decimal sign in Drive Explorer and
to get non zero values in Acronis Disk Director 10

The version of WinBuilder in lx92908cx is 075 beta 4h.
The NEW autoLocalization.Script adapted by Galapo Requires 075 beta 4n or newer, so I had to Upgrade.


http://galapo.boot-land.net/temp/autoLocalization.Script

This script requires 075 beta 4n or newer, I had Succes with 075 beta 4q ,
but the BootSDI.img file made with the most recent 075 beta 5h Crashed after loading in RAMDISK.


Succes http://wimb.winbuilder.net/ScreenShots/LX92908CX_MBRWiz.jpg

cheers.gif

wimb

wimb, I am still working on this issue but at present have no solution; have you come up with anything on your end? The problem is that all new beta 5's cause errors for my builds, last good tested was beta 4h; the beta 4q you sent caused error shown in previous post; is there an index of beta 4's for download? I need to test (at least) beta 4n, 4o and 4p (if exist) to see if these might work wink.gif

Posted by: wimb Oct 10 2008, 06:08 AM

Hi amalux,

I am surprised unsure.gif
What I did is combine the beta 4q with your lx92908cx and lx92908cxb
but never had the problem that you describe.
I am never getting the Personalised Settings > Internet Explorer Message in Booting with LiveXP

What is causing the difference ?
I have no Internet Explorer in LiveXP. Just Opera from lx92908cx
My XP Source is XP-SP2 Professional NLD without addons. What is yours ?
The BootSDI.img file was Installed with BOOT_IMG.cmd as boot option in boot.ini menu
on SATA Harddisk NTFS XP Format or on USB-stick with NTFS HP Format with XP as OS.

I will do some more testing, but don't have other versions of beta 4 above n.

Hopefully we find a solution to this strange problem scared9.gif

Posted by: amalux Oct 10 2008, 06:40 AM

Yes, very strange indeed dubbio.gif

I also have no IE installed in LXP but I do on my host; my source is the same as yours except EN of course.

QUOTE
The BootSDI.img file was Installed with BOOT_IMG.cmd as boot option in boot.ini menu
on SATA Harddisk NTFS XP Format or on USB-stick with NTFS HP Format with XP as OS.

I'm only testing in Qemu now but have confirmed same error in real boot from CD or USB.

QUOTE
I will do some more testing, but don't have other versions of beta 4 above n.

There's a good selection http://lancelot.winbuilder.net/5F_WB_Versions/ (thanks to Lancelot) but I don't think it will help because I get this error with beta 4n and later but you don't confused1.gif

The only clue is this error (only one)
CODE
RegWrite - root key: [HKLM] Type: [0x1] A file was not chosen from: [WB-Software\Program Groups]
RegDelete - Failed to delete registry key in: [HKLM\WB-Software\Microsoft\Active Setup\Installed Components],{4b218e3e-bc98-4770-93d3-2731b9329278}

at the end of section
Processed section [create-Blank] in file: [%BaseDir%\Projects\LiveXP\Basic\Build\EmptyHive.Script]
in HoJoPE Hives Factory script. I'll post the complete log if needed. Thanks for your help wink.gif

Posted by: wimb Oct 10 2008, 07:05 AM

I have no Error at that Section.
WinBuilder beta 4q runs without Errors.

Strange ermm.gif

Posted by: wimb Oct 10 2008, 05:55 PM

I repeated the experiment by using fresh downloads and
combining the beta 4q and autoloc from my site with your lx92908cx

LiveXP BootSDI.img was build without Error.
I can confirm that there are NO boot problems here.

Just to be sure that the downloads are OK. wink.gif

Posted by: amalux Oct 10 2008, 07:00 PM

Thank you very much, wimb, for testing. This is, apparently, something specific to my setup; I'll keep looking till I find it but I'm glad it doesn't affect you and that all is working well smile.gif

Posted by: wimb Oct 11 2008, 09:32 AM

*** Update USB_XP_Setup - v 3.0 ***

GUI support was added for XP Folder Select and RamBoot Image File Select by
using simple AutoIt3 routines which can be used from the batch programs
in a simalar way as the Visual Basic Script routines used previously.

The advantage is that now GUI Support is available for Folder and File Select
in all 3 environments being XP, Vista and PE, so that everything is more user friendly.
Visual Basic Script could not be used in LiveXP PE Environment
and the Vista FileSelector was until now not available in my programs.

Posted by: amalux Oct 11 2008, 05:11 PM

Very cool! Can't wait to try it. Thanks wimb for for further improvements to your great setups. cheers.gif

Posted by: wimb Oct 11 2008, 05:56 PM

Just discovered a small error in BOOT_IMG.cmd
The path for launching Folder_Select.exe was set wrongly.
Uploaded correct version.

Please download USB_XP_Setup V 3.0 again.

Direct Download - http://wimb.winbuilder.net/ccount12/click.php?id=1 ----- Or ----- http://wimb.winbuilder.net/ccount12/click.php?id=2

Posted by: wimb Oct 17 2008, 04:07 PM

*** Update USB_XP_Setup - v 4.0 ***

AutoIt3 GUI module was added to USB_XP_Setup for Display and Edit of the winnt.sif file
for providing the XP Setup parameters to be used in $WIN_NT$.~BT folder.

Direct Download - http://wimb.winbuilder.net/ccount12/click.php?id=1 ----- Or ----- http://wimb.winbuilder.net/ccount12/click.php?id=2

Posted by: amalux Oct 17 2008, 04:56 PM

QUOTE (wimb @ Oct 17 2008, 09:07 AM) *
*** Update USB_XP_Setup - v 4.0 ***

Better and better! thumbup.gif - Thanks wimb cheers.gif

Posted by: wimb Oct 21 2008, 09:34 AM

WinBuilder Script for LiveXP was made, which enables to create BootSDI.img file
containing Pstart program launcher with USB_XP_Setup package for Install of XP from PE Environment.

So now you can launch PStart and USB_XP_Setup.cmd direct from the Desktop of LiveXP. smile.gif

Download http://wimb.winbuilder.net/ccount12/click.php?id=3

Put Pstart_USB_XP_Setup.Script in your <WinBuilder>\Projects\LiveXP\Apps\XPSetup folder

e.g. in amalux Stable Project lx92908cxb\Projects\LiveXP\Apps\Setup wink.gif
I added Basic > Tweaks > autoLocalization.Script necessary in Europe for decimal sign,
which needed to make use of WinBuilder_75_4q.exe from http://wimb.winbuilder.net/downloads/

Stable Project lx101408cxs was tested and requires some changes in USB_XP_Setup package
due to version 075 b 5L of WinBuilder. Later more ....


Posted by: wimb Oct 22 2008, 11:56 AM

*** Update USB_XP_Setup - v 4.01 ***

USB_XP_Setup was made compatible with WinBuilder 075 beta 5 e.g. with amalux Stable Project lx101408cxs

Direct Download - http://wimb.winbuilder.net/ccount12/click.php?id=1 ----- Or ----- http://wimb.winbuilder.net/ccount12/click.php?id=2

WinBuilder Script for LiveXP was made, which enables to create BootSDI.img file
containing Pstart program launcher with USB_XP_Setup package for Install of XP from PE Environment.

So now you can launch PStart and USB_XP_Setup.cmd direct from the Desktop of LiveXP.

Download http://wimb.winbuilder.net/ccount12/click.php?id=3

Put Pstart_USB_XP_Setup.Script in your <WinBuilder>\Projects\LiveXP\Apps\XPSetup folder

e.g. in amalux Stable Project lx101408cxs\Projects\LiveXP\Apps\Setup
http://www.boot-land.net/forums/?showtopic=4111

I added also Basic > Tweaks > autoLocalization.Script made by psc and modified by Galapo,
necessary in Europe for decimal sign, from http://wimb.winbuilder.net/downloads/

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



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

Posted by: xenocyte Nov 5 2008, 11:16 PM

Hi, I've been having the same issue for some time now. I've used both LiveXP and Bart PE booting to try and install XP. I've followed the guide to the letter. I've created different XP sources with no trouble. Everything works fine within the PE. I restart the machine and enter the txt mode setup. All works right up til it starts the 'Examining disk configuration' part and then BSOD.

I can't work out what i keep doing wrong. Any help would be appreciated.

Posted by: amalux Nov 6 2008, 04:58 AM

QUOTE (xenocyte @ Nov 5 2008, 03:16 PM) *
Hi, I've been having the same issue for some time now. I've used both LiveXP and Bart PE booting to try and install XP. I've followed the guide to the letter. I've created different XP sources with no trouble. Everything works fine within the PE. I restart the machine and enter the txt mode setup. All works right up til it starts the 'Examining disk configuration' part and then BSOD.

I can't work out what i keep doing wrong. Any help would be appreciated.

Hi xenocyte, more information is helpful; is this a SATA drive? Can you boot this drive by other means, like installing from CD etc? Have you checked the drive with diagnostic tools? Possible help found http://icrontic.com/forum/showthread.php?t=30514 or wait for Master Jaclaz to arrive wink.gif

Posted by: wimb Nov 6 2008, 05:49 AM

QUOTE (xenocyte @ Nov 6 2008, 12:16 AM) *
I restart the machine and enter the txt mode setup. All works right up til it starts the 'Examining disk configuration' part and then BSOD.

Do you get BSOD 0x0000007B during text mode of Setup ?

In that case:

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_Controller_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 these measures did not solve your problem you can try to use modified ntdetect.com file.
http://www.msfn.org/board/0x0000007B-Blue-Screen-Error-Text-Setup-t112630.html&st=3
You can use File USB_XP_Setup\Help_Info\Hex_NTDETECT_COM.txt
Copy and paste all in Tiny Hexer (in folder USB_XP_Setup\makebt\tinyhexer), select HEX TEXT,
save as ntdetect.com filesize must become 47,596 bytes.
Replace <Install drive>\ntdetect.com and <Install drive>\$WIN_NT$.~BT\ntdetect.com

Posted by: xenocyte Nov 6 2008, 08:39 PM

Hi guys, thanks for the input smile.gif

The stop error I get is: 0x0000008e (0xc0000006, 0x809054a5, 0xf7d065a4, 0x00000000).

I've created various other builds via cd/dvd and they install fine. I get the same error trying this USB method on various other machines (desktops & laptops) having either IDE or SATA drives. I've always changed the drive settings in BIOS regarding IDE/Compatibility modes.

I've previously Slipstreamed the Massstorage Driverpack but no luck there either. crazy.gif

Posted by: wimb Nov 7 2008, 06:39 AM


Strange scared9.gif

How did you prepare your XP Source and what type of XP Source do you use ?

Your problem might be related to driver problem or your XP Source is infected with rootkit. unsure.gif
http://icrontic.com/forum/showthread.php?t=50966

I propose to use other clean XP Source (no addons or update packs) and only
integrate in your XPSOURCE BTS DriverPack Massstorage with TXT Mode Enabled. wink.gif

Posted by: xenocyte Nov 9 2008, 11:20 AM

I so wish it wasn't strange ermm.gif

I've created LiveXP and BartPE PE enviroments from an original XP CD source with Service Pack2. Added to this i've been using an NLITE'd XPSOURCE integrated with service pack 3 with an unattended created answer file. Result: BSOD. I've integrated BTS Driverpack Massstorage with TXT Mode Enabled into this same NLITE'd XPSOURCE resulting with the same BSOD.

After following the USB-XP-Setup procedure using both LiveXP and BartPE PE's (which works perfectly by the way), all attempts to run the install causes the same BSOD at the TXT stage, 'Examining disk configuration' part.

I'll try a new XPSOURCE without Service Pack3 and see what happens. Other than that i'm running out of ideas.

Posted by: wimb Nov 12 2008, 07:44 AM

QUOTE (xenocyte @ Nov 9 2008, 12:20 PM) *
I so wish it wasn't strange ermm.gif

I've created LiveXP and BartPE PE enviroments from an original XP CD source with Service Pack2. Added to this i've been using an NLITE'd XPSOURCE integrated with service pack 3 with an unattended created answer file. Result: BSOD. I've integrated BTS Driverpack Massstorage with TXT Mode Enabled into this same NLITE'd XPSOURCE resulting with the same BSOD.

After following the USB-XP-Setup procedure using both LiveXP and BartPE PE's (which works perfectly by the way), all attempts to run the install causes the same BSOD at the TXT stage, 'Examining disk configuration' part.

I'll try a new XPSOURCE without Service Pack3 and see what happens. Other than that i'm running out of ideas.

Slipstreaming SP3 with nLite can be the cause of your problem.
Don't use nLite, but Slipstream SP3 Manually wink.gif or better try first XP-SP2 as Source.

See : http://www.msfn.org/board/install-USB-WinSetupF-t120444.html&st=174
http://www.msfn.org/board/nLite-XP-Pro-slipstream-S-t119487.html

Posted by: xenocyte Nov 19 2008, 04:49 AM

Ok tried using XP-SP2 as Source but still getting the same BSOD at the TXT stage, 'Examining disk configuration' part.

I'm now out of ideas. frusty.gif

Posted by: amalux Nov 19 2008, 07:52 AM

QUOTE (xenocyte @ Nov 18 2008, 08:49 PM) *
Ok tried using XP-SP2 as Source but still getting the same BSOD at the TXT stage, 'Examining disk configuration' part.

I'm now out of ideas. frusty.gif

Can't reproduce this issue, works fine for me...

QUOTE (xenocyte)
I get the same error trying this USB method on various other machines (desktops & laptops) having either IDE or SATA drives.


please confirm you have followed wimb's instructions
QUOTE (wimb)
If these measures did not solve your problem you can try to use modified ntdetect.com file.
http://www.msfn.org/board/0x0000007B-Blue-...0.html&st=3
You can use File USB_XP_Setup\Help_Info\Hex_NTDETECT_COM.txt
Copy and paste all in Tiny Hexer (in folder USB_XP_Setup\makebt\tinyhexer), select HEX TEXT,
save as ntdetect.com filesize must become 47,596 bytes.
Replace <Install drive>\ntdetect.com and <Install drive>\$WIN_NT$.~BT\ntdetect.com

using an unmodifed ntdetect.com with usb boot will cause BSOD.

Posted by: xenocyte Nov 19 2008, 10:22 PM

OK replaced the ntdetect.com in both <Install drive> and <Install drive>\$WIN_NT$.BT directories.

Same Stop Error.

Posted by: amalux Nov 20 2008, 12:09 AM

QUOTE (xenocyte @ Nov 5 2008, 03:16 PM) *
Hi, I've been having the same issue for some time now. I've used both LiveXP and Bart PE booting to try and install XP. I've followed the guide to the letter. I've created different XP sources with no trouble. Everything works fine within the PE. I restart the machine and enter the txt mode setup. All works right up til it starts the 'Examining disk configuration' part and then BSOD.

I can't work out what i keep doing wrong. Any help would be appreciated.

So, it looks like you're able to boot a PE image from HDD no problem but when trying to install a fresh XP (from the booted PE) to another partition is where you get this error on reboot. Forgive my stating the obvious, I'm just making sure I understand. Please give some details how this new partition you're installing to is setup, physical location, type of drive, how formatted etc. Would you be willing to try an experiment? try booting to a 'normal' LiveXP CD and use XP-Setup to install XP to this same, new partition, using the same source etc. Everything should be kept the same except PE booted from CD instead of HDD. If you get the same BSOD, we need to focus on why the new partition isn't being recognized properly by Windows setup.

Posted by: xenocyte Nov 20 2008, 01:59 AM

Yep that sounds like a good idea to try installing from CD instead of HDD. I'll try it.

Using USB_XP_SETUP.cmd -

Install Drive=C: HDD=0 PART=1
XP Source Drice=D: HDD=1 PART=1

[SetupData]
SetupSourcePath = 'XP COPY\"
SetupSourceDevice = \device\harddisk1\partition1

I'm formatting the install drive 'C' using windows explorer in LiveXP/Bart PE. It's a 60Gig Fujitsu MHT2060AT in a G40 IBM Thinkpad formated NTFS.

Posted by: wimb Nov 20 2008, 06:48 AM

QUOTE (xenocyte @ Nov 20 2008, 02:59 AM) *
[SetupData]
SetupSourcePath = 'XP COPY\"
SetupSourceDevice = \device\harddisk1\partition1


I will advice you to use a folder name without space and max 8 chars
The SetupSourcePath should begin with double quote and backslash.
SetupSourcePath = "\XPCOPY\"

USB_XP_Setup.cmd supports XP Source folder on DVD, but requires then to
use option Y) Copy XP Source to Target = YES

XP Setup Source on CD and not in a folder is supported as well
and can be used also with Option Y) = NO

In all cases SetupSourcePath is made correctly in <Target>\txtsetup.sif
and <Target>\$WIN_NT$.~BT\txtsetup.sif by USB_XP_Setup.cmd

Posted by: jaclaz Nov 20 2008, 10:24 AM

QUOTE (amalux @ Nov 19 2008, 09:52 AM) *
using an unmodifed ntdetect.com with usb boot will cause BSOD.


Just to be "picky", NO. rolleyes.gif

It depends on hardware, in a number of cases "plain" ntdetect.com works allright, on some hardware it doesn't, and hence the need for the modified one.

jaclaz

P.S.: On second thought, the error xenocyte is having:
QUOTE (xenocyte @ Nov 6 2008, 10:39 PM) *
The stop error I get is: 0x0000008e (0xc0000006, 0x809054a5, 0xf7d065a4, 0x00000000).

I've created various other builds via cd/dvd and they install fine. I get the same error trying this USB method on various other machines (desktops & laptops) having either IDE or SATA drives. I've always changed the drive settings in BIOS regarding IDE/Compatibility modes.


Is not the "classic" 0x7b, it is 0x8e, which can be almost anything. unsure.gif
The fact that it happens on more than one machine could mean that something is simply "wrong" with the source or that something is "disturbing" during the build (like an anti-virus, timing problem if a "real" CD is used, cannot really say waht it could be). dubbio.gif

Posted by: xenocyte Nov 21 2008, 01:20 AM

QUOTE
I will advice you to use a folder name without space and max 8 chars
The SetupSourcePath should begin with double quote and backslash.
SetupSourcePath = "\XPCOPY\"


Changed the path to 'XPCOPY'. Same error.

QUOTE
USB_XP_Setup.cmd supports XP Source folder on DVD, but requires then to
use option Y) Copy XP Source to Target = YES

XP Setup Source on CD and not in a folder is supported as well
and can be used also with Option Y) = NO


Isn't XP Source folder meant to be on USB?

It always crashes at the point after rebooting from the PE and the xp install determines the hardrive parameters - 'Examining disk configuration' part. It's bound to be something simple I've overlooked.

Posted by: wimb Nov 21 2008, 05:58 AM

QUOTE (xenocyte @ Nov 21 2008, 02:20 AM) *
Isn't XP Source folder meant to be on USB?

It always crashes at the point after rebooting from the PE and the xp install determines the hardrive parameters - 'Examining disk configuration' part. It's bound to be something simple I've overlooked.
The XP Setup Source Folder can be on USB-stick or on partition 1 of ANY Harddisk.
It might even be a folder on DVD or a regular XP Setup CD, but
when the Source folder is NOT at a suitable position, then the program will detect this and
propose to copy the XP Source folder to the Target Drive when this is partition 1
So there are a lot of scenario's possible.

Your XP Setup boot problem might be related to an error in the winnt.sif file.
Try to disable (rename) winnt.sif in your XP Source,
then the program will use the supplied w_sif\winnt.sif file and you are allowed to fill in your key and TimeZone.
Do you have made a special Driver arrangement, which could disturb XP Setup.
I propose to use first an unmodified XP-SP2 Setup CD.

May be you can give as attachment the present winnt.sif file that you are using (with key removed wink.gif )
Then we can have a look at it and see what might be the origin of your problem.

Posted by: xenocyte Nov 27 2008, 03:53 AM

QUOTE (wimb @ Nov 21 2008, 03:58 PM) *
The XP Setup Source Folder can be on USB-stick or on partition 1 of ANY Harddisk.
It might even be a folder on DVD or a regular XP Setup CD, but
when the Source folder is NOT at a suitable position, then the program will detect this and
propose to copy the XP Source folder to the Target Drive when this is partition 1
So there are a lot of scenario's possible.

Your XP Setup boot problem might be related to an error in the winnt.sif file.
Try to disable (rename) winnt.sif in your XP Source,
then the program will use the supplied w_sif\winnt.sif file and you are allowed to fill in your key and TimeZone.


Well it turns out it was the winnt.sif file. I've been staring at it for so long I was blind to the obvious.

[Data]
AutoPartition=1
MsDosInitiated="0"
UnattendedInstall="Yes"
AutomaticUpdates = 1

[Unattended]
UnattendMode=FullUnattended
OemSkipEula=Yes
OemPreinstall=Yes
TargetPath=\WINDOWS
Repartition = yes
DriverSigningPolicy=Ignore

It seems to be hanging now at the 29 min mark of the GUI install when 'building file list' after installing network but I suspect it's due to my XP Source. I'm using a monster 900MB build so I'll have to try a simpler XP SP2 version to see if makes a difference.

Cheers for the help. thumbsup.gif

Posted by: wimb Dec 2 2008, 07:35 PM

Download from winbuilder.net is for some days not available.

Mirror download Links for USB_XP_Setup thanks to Siginet:

http://shared.siginetsoftware.com/wimb/downloads/Pstart_X.exe
http://shared.siginetsoftware.com/wimb/downloads/USB_XP_Setup.exe

http://shared.siginetsoftware.com/wimb/downloads/autoLocalization.Script

http://shared.siginetsoftware.com/wimb/downloads/Pstart_USB_XP_Setup.Script

Posted by: thunn Dec 6 2008, 04:40 PM

--thanks for working at this.

I'm using an Eee PC with no optical drive and installed xp from usb last night. The batches will be interesting to view. wink.gif

Posted by: wimb Dec 10 2008, 12:12 PM

=


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/board/index.php?showtopic=120444
Parts of WinSetupFromUSB were used for creating Make_USB.exe

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)