IPB

Google Frontpage Forums Unattended CD/DVD Guide
4 Pages V  < 1 2 3 4 >  
Reply to this topicStart new topic
> [SOLVED] Install Multiple XP/Vista/PE/2003 from USB
ilko_t
post Mar 27 2008, 11:27 PM
Post #21


Advanced Member
***

Group: Members
Posts: 362
Joined: 6-December 06
Member No.: 117812
Country Flag


I didn't get your question.
Txtsetup.sif is parsed by setupldr.bin. Hex edit all occurrences of txtsetup.sif to txtset01.sif and the latter is used. That's for setupldr.b01.
For setupldr.b02 use txtset02.sif.
Text mode Setup completes fine. GUI part to be tested. There is 1 occurrence in setupdd.sys, may have to be changed too.
PE and winnt32.exe have always been an option, mind you, for many users building PE is hard and unknown, they need just a single install off USB.

edit: GUI part worked just fine, no need to HEX edit setupdd.sys for txtsetup.sif.
Here is the step I forgot in the previous post:
In \$win_01$.~ls\I386\ren_fold.cmd change

CODE
ren %USBDRIVE%\txtsetup.sif txtsetup.bak
ren %USBDRIVE%\$WIN_NT$.~BT WIN_NT.BT
ren %USBDRIVE%\$WIN_NT$.~LS WIN_NT.LS


to

CODE
ren %USBDRIVE%\txtset01.sif txtset01.bak
ren %USBDRIVE%\$WIN_01$.~BT WIN_01.BT
ren %USBDRIVE%\$WIN_01$.~LS WIN_01.LS


In \$win_01$.~ls\I386\undoren.cmd change

CODE
ren %USBDRIVE%\txtsetup.bak txtsetup.sif
ren %USBDRIVE%\WIN_NT.BT $WIN_NT$.~BT
ren %USBDRIVE%\WIN_NT.LS $WIN_NT$.~LS


to

CODE
ren %USBDRIVE%\txtset01.bak txtset01.sif
ren %USBDRIVE%\WIN_01.BT $WIN_01$.~BT
ren %USBDRIVE%\WIN_01.LS $WIN_01$.~LS


Do the same for both files in $WIN_02$.~LS and use $WIN_02$.~*** and txtset02.***

This post has been edited by ilko_t: Mar 28 2008, 12:23 AM
Go to the top of the page
 
+Quote Post
andy_le2k
post Mar 28 2008, 12:49 AM
Post #22


Newbie


Group: Members
Posts: 25
Joined: 3-January 04
Member No.: 11860



Thanks very much for your hard work ilko_t!! Very much appreciated it and I'm glad you got it working.

(Un)fortunately I have to go out with the misses now but would much rather stay in all night and get this to work for me too.

I'll give this a shot when I get home and hopefully I can share some of your success.

Thanks again.
Go to the top of the page
 
+Quote Post
jaclaz
post Mar 28 2008, 02:44 AM
Post #23


MSFN Junkie
Group Icon

Group: Software Developers
Posts: 3379
Joined: 23-July 04
From: Italy
Member No.: 25215
OS: none
Country Flag


After all I wasn't too far off the road. newwink.gif
QUOTE (jaclaz)
Strings $WIN_NT$.~BT and $WIN_NT$.~LS are hardcoded in SETUPLDR.BIN, though I don't remember anyone previously experimenting with this, it should be perfectly possible to hexedit SETUPLDR.BIN jsut like we do for \I386 or \minint.


QUOTE (ilko_t)
GUI part worked just fine, no need to HEX edit setupdd.sys for txtsetup.sif.


Very good! thumbup.gif

QUOTE (ilko_t)
PE and winnt32.exe have always been an option, mind you, for many users building PE is hard and unknown, they need just a single install off USB.


Yes, but since andy_le2k already has/wants to have a BartPE..... whistling.gif

But still noone has been documenting the minimal PE files needed to run successfully WINN32.... blink.gif

jaclaz
Go to the top of the page
 
+Quote Post
wimb
post Mar 28 2008, 03:04 AM
Post #24


Member
Group Icon

Group: Software Developers
Posts: 231
Joined: 21-March 07
Member No.: 132150
Country Flag


QUOTE (ilko_t @ Mar 28 2008, 06:27 AM) *
edit: GUI part worked just fine, no need to HEX edit setupdd.sys for txtsetup.sif.

Congratulations cdob and ilko_t with Multiple XP Install from USB thumbup.gif

All Information has been added to New Release of USB_MultiBoot7.zip

This post has been edited by wimb: Mar 28 2008, 03:05 AM
Go to the top of the page
 
+Quote Post
jaclaz
post Mar 28 2008, 09:45 AM
Post #25


MSFN Junkie
Group Icon

Group: Software Developers
Posts: 3379
Joined: 23-July 04
From: Italy
Member No.: 25215
OS: none
Country Flag


QUOTE (wimb)
Different versions of XP cannot be combined on one stick,
but it is very convenient to use different sticks for this purpose.
unsure.gif

QUOTE (wimb)
May be a second stick with other XP version is more convenient
blink.gif

QUOTE (wimb)
Congratulations cdob and ilko_t with Multiple XP Install from USB

All Information has been added to New Release of USB_MultiBoot7.zip
whistling.gif


Very good! smile.gif

Just think how much money people will save by avoiding to buy a second USB stick!

Another small victory against the ever increasing entropy. thumbup.gif


jaclaz
Go to the top of the page
 
+Quote Post
OldBuzzard
post Mar 28 2008, 11:10 AM
Post #26





Group: Members
Posts: 4
Joined: 19-March 08
Member No.: 182587
OS: none
Country Flag


Am I to understand that I can have in install for XP Pro and install for XP x64 on one stick, and choose which one I want to install?

Go to the top of the page
 
+Quote Post
jaclaz
post Mar 28 2008, 12:03 PM
Post #27


MSFN Junkie
Group Icon

Group: Software Developers
Posts: 3379
Joined: 23-July 04
From: Italy
Member No.: 25215
OS: none
Country Flag


QUOTE (OldBuzzard @ Mar 28 2008, 06:10 PM) *
Am I to understand that I can have in install for XP Pro and install for XP x64 on one stick, and choose which one I want to install?


Not yet, x64 is not fully working, but ilko_t is working on it:
http://www.msfn.org/board/XP-x64-Install-t114022.html

Hopefully it will soon be possible. smile.gif

jaclaz
Go to the top of the page
 
+Quote Post
ilko_t
post Mar 28 2008, 12:27 PM
Post #28


Advanced Member
***

Group: Members
Posts: 362
Joined: 6-December 06
Member No.: 117812
Country Flag


You should be able to to that, however, using x64 some of the compressed files will get deleted during Text mode. You will need after install to copy AMD64 and I386 folders from your source to ~LS folder, skipping existing files until workaround is found. KillCopy or Volkov Commander are handy for this task.

Note when using usb_multibootX.cmd- bootsectors to be HEX edited setupldr.b01 for multiple OS install are in \btsec on stick, NOT SETUPLDR1.bs and SETUPLDR2.bs in root.

QUOTE (andy_le2k @ Mar 28 2008, 06:49 AM) *
Thanks very much for your hard work ilko_t!! Very much appreciated it and I'm glad you got it working.
Credits should go to their place- cdob smile.gif

This post has been edited by ilko_t: Mar 28 2008, 12:32 PM
Go to the top of the page
 
+Quote Post
cdob
post Mar 28 2008, 01:34 PM
Post #29


Member
**

Group: Members
Posts: 152
Joined: 29-September 05
Member No.: 74988
Country Flag


QUOTE (ilko_t @ Mar 28 2008, 12:27 AM) *
no need to HEX edit setupdd.sys for txtsetup.sif.
Thanks, that's better solution. Hexediting idea is outdated from 2006.

Just wondering: there are hard links at NTFS (USB) media
A duplicate file can be replaced by hard link.
example: two times 500 mb installation files maybe require 600 mb space.

And there is Duplicate File Hard Linker (DFHL) http://www.jensscheffler.de/dfhl_en.html
Go to the top of the page
 
+Quote Post
andyle2k
post Mar 28 2008, 04:10 PM
Post #30





Group: Members
Posts: 4
Joined: 9-June 06
Member No.: 98452
Country Flag


Hey guys,

I was just wondering if you guys had that time and effort, can you please write a simple step by step guide to get this to work for idiots like me who still can't?!

I'm getting stuck on how to get the boot sectors to load properly. What do you do to get the setupldr1.bs and setupldr2.bs? - SOLVED - use MakeBS3.cmd from the USB_Multiboot package

Exactly which files need to be hexed and renamed? The ones from the root or the ones inside $WIN_01~.BT or both? - Still a bit unsure about this, apparently you need to hexed setupdd.sys but even with that hexed txtsetup still gives me an error saying it cant find source folders.

And finally what about the .LS folder where the actual source is.. can you just leave it as $WIN_01~.LS or does need to be $WIN_NT~.LS in order for setup to work?

Thanks again.

This post has been edited by andyle2k: Mar 28 2008, 05:29 PM
Go to the top of the page
 
+Quote Post
wimb
post Mar 29 2008, 08:35 AM
Post #31


Member
Group Icon

Group: Software Developers
Posts: 231
Joined: 21-March 07
Member No.: 132150
Country Flag


QUOTE (andy_le2k @ Mar 25 2008, 04:23 PM) *
03 - Rename SETUPLDR.BIN to XPS01 and rename TXTSETUP.SIF to TXTSET01.SIF

07 - HEX Edit SETUPLDR1 replace every reference of "$WIN_NT" to "$WIN_01"
- HEX Edit SETUPLDR1 replace every reference of "txtsetup" to "txtset01"

Did you mean here XPS01 instead of SETUPLDR1
Same for index 2

QUOTE (andy_le2k @ Mar 25 2008, 04:23 PM) *
09 - EXPAND setupdd.sy_ to setupdd.sys located in your ~BS folders
- For $WIN_01$.~BT\setupdd.sys run "GSAR -i -o -s$:x00W:x00I:x00N:x00_:x00N:x00T:x00$:x00.:x00~:x00L:x00S:x00 -r$:x00W:x00I:x00N:x00_:x000:x001:x00$:x00.:x00~:x00L:x00S:x00 setupdd.sys"
- For $WIN_02$.~BT\setupdd.sys run "GSAR -i -o -s$:x00W:x00I:x00N:x00_:x00N:x00T:x00$:x00.:x00~:x00L:x00S:x00 -r$:x00W:x00I:x00N:x00_:x000:x002:x00$:x00.:x00~:x00L:x00S:x00 setupdd.sys"

In setupdd.sys there is no $WIN_NT.~LS string
Did you mean :x00B:x00T instead of :x00L:x00S

Your detailed description of post #1 corresponds to what ilko_t and cdob have given,
but unfortunately I was not able in all cases (3 attempts) to reach the GUI Mode of Setup.

TXT Mode Setup was running well, but TXT mode could not continue after the first question.
Setup cannot Find Install Files - Setup Cannot Continue - Message Occurs. So NOT SOLVED for me newwink.gif

@ilko_t Would it bepossible that a modified NTDETECT.COM bring the solution?
What kind of USB-Drive and Format did you use ?
I have tried USB-Harddisk with NTFS and FAT Format, and USB-stick with NTFS Format

wimb

This post has been edited by wimb: Mar 29 2008, 11:34 AM
Go to the top of the page
 
+Quote Post
ilko_t
post Mar 29 2008, 11:49 AM
Post #32


Advanced Member
***

Group: Members
Posts: 362
Joined: 6-December 06
Member No.: 117812
Country Flag


Wimb, here is setupdd.sys from Tiny Hexer:


Yep, must be XPS01 instead of SETUPLDR1 if using NTFS. If it's FAT16/32 then setupldr.bin names should be used.
May be it's a good idea in next release to use only XPSTP, no matter what FS, also to copy only bootsectors and setupldr.bin for the chosen options as we discussed. I.e. BartPE not selected- do not copy PELDR and bootsector for it, same for DOS/Syslinux etc.

I used FAT16 and usb_prepare8, normal ntdetect.com, no need to HEX edit it. Strings replacements with gsar as more convenient.


ilko
Go to the top of the page
 
+Quote Post
wimb
post Mar 29 2008, 11:59 AM
Post #33


Member
Group Icon

Group: Software Developers
Posts: 231
Joined: 21-March 07
Member No.: 132150
Country Flag


Hi ilko,

In my setupdd.sys there is no $WIN_NT.~LS string,
but in yours I can see there is one.

My Source is XP SP2 NLD file 03-08-2004

Mystery SOLVED, I changed Search Settings to Yours and Now I found the String.

Search with: Unicode (little endian) and Ignore case

Thanks a lot newwink.gif

This post has been edited by wimb: Mar 29 2008, 12:08 PM
Go to the top of the page
 
+Quote Post
ilko_t
post Mar 29 2008, 12:04 PM
Post #34


Advanced Member
***

Group: Members
Posts: 362
Joined: 6-December 06
Member No.: 117812
Country Flag


Did you select unicode? Without that, Tiny Hexer won't find the string.

Mine is from XP Pro SP2 Eng, setupdd.sys version 5.1.2600.2180 from 03-08-2004.
What do you have at that offset?

This post has been edited by ilko_t: Mar 29 2008, 12:07 PM
Go to the top of the page
 
+Quote Post
wimb
post Mar 29 2008, 12:09 PM
Post #35


Member
Group Icon

Group: Software Developers
Posts: 231
Joined: 21-March 07
Member No.: 132150
Country Flag


QUOTE (ilko_t @ Mar 29 2008, 07:04 PM) *
Did you select unicode? Without that, Tiny Hexer won't find the string.

Mine is from XP Pro SP2 Eng, setupdd.sys version 5.1.2600.2180 from 03-08-2004.
What do you have at that offset?

Unicode made the difference, Thanks

Will try again now.
Go to the top of the page
 
+Quote Post
wimb
post Mar 29 2008, 01:14 PM
Post #36


Member
Group Icon

Group: Software Developers
Posts: 231
Joined: 21-March 07
Member No.: 132150
Country Flag


Thx guys,

Multiple XP Install from USB SOLVED for me by ilko_t with TinyHexer ScreenShot and andy_le2k and cdob thumbup.gif
Install of XP from USB was now OK

My problem was that in TinyHexer I used wrong setting for search of $WIN_NT$.~LS string.
Now I know that I have to use Unicode (little endian) and Ignore case.

But it is much better to use GSAR for the search and replace, then there is no problem.

@andy_le2k Your GSAR Instruction is OK, no need to change newwink.gif

wimb

This post has been edited by wimb: Mar 30 2008, 08:58 AM
Go to the top of the page
 
+Quote Post
ilko_t
post Mar 29 2008, 01:47 PM
Post #37


Advanced Member
***

Group: Members
Posts: 362
Joined: 6-December 06
Member No.: 117812
Country Flag


Good smile.gif

I'm still puzzled about this unicode thingie, why only ~LS string blink.gif
First time when thread was started I opened setupdd.sys in Tiny Hexer and searched for ~LS- not