MSFN Forum: [SOLVED] Install Multiple XP/Vista/PE/2003 from USB - MSFN Forum

Jump to content


  • 4 Pages +
  • 1
  • 2
  • 3
  • 4
  • You cannot start a new topic
  • You cannot reply to this topic

[SOLVED] Install Multiple XP/Vista/PE/2003 from USB

#21 User is offline   ilko_t 

  • MSFN Addict
  • Group: Super Moderator
  • Posts: 1,605
  • Joined: 06-December 06
  • OS:none specified
  • Country: Country Flag

Posted 27 March 2008 - 11:27 PM

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

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


to

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

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


to

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: 28 March 2008 - 12:23 AM



#22 User is offline   andy_le2k 

  • Newbie
  • Group: Members
  • Posts: 25
  • Joined: 03-January 04

Posted 28 March 2008 - 12:49 AM

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.

#23 User is online   jaclaz 

  • The Finder
  • Group: Developers
  • Posts: 11,453
  • Joined: 23-July 04
  • OS:none specified
  • Country: Country Flag

Posted 28 March 2008 - 02:44 AM

After all I wasn't too far off the road. ;)

jaclaz said:

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.


ilko_t said:

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


Very good! :thumbup

ilko_t said:

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..... :whistle:

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

jaclaz

#24 User is offline   wimb 

  • Senior Member
  • Group: Developers
  • Posts: 633
  • Joined: 21-March 07

Posted 28 March 2008 - 03:04 AM

View Postilko_t, on Mar 28 2008, 06:27 AM, said:

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

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

This post has been edited by wimb: 28 March 2008 - 03:05 AM


#25 User is online   jaclaz 

  • The Finder
  • Group: Developers
  • Posts: 11,453
  • Joined: 23-July 04
  • OS:none specified
  • Country: Country Flag

Posted 28 March 2008 - 09:45 AM

wimb said:

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

wimb said:

May be a second stick with other XP version is more convenient
:blink:

wimb said:

Congratulations cdob and ilko_t with Multiple XP Install from USB

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


Very good! :)

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


jaclaz

#26 User is offline   OldBuzzard 

  • Group: Members
  • Posts: 4
  • Joined: 19-March 08

Posted 28 March 2008 - 11:10 AM

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?

#27 User is online   jaclaz 

  • The Finder
  • Group: Developers
  • Posts: 11,453
  • Joined: 23-July 04
  • OS:none specified
  • Country: Country Flag

Posted 28 March 2008 - 12:03 PM

View PostOldBuzzard, on Mar 28 2008, 06:10 PM, said:

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/...ll-t114022.html

Hopefully it will soon be possible. :)

jaclaz

#28 User is offline   ilko_t 

  • MSFN Addict
  • Group: Super Moderator
  • Posts: 1,605
  • Joined: 06-December 06
  • OS:none specified
  • Country: Country Flag

Posted 28 March 2008 - 12:27 PM

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.

View Postandy_le2k, on Mar 28 2008, 06:49 AM, said:

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 :)

This post has been edited by ilko_t: 28 March 2008 - 12:32 PM


#29 User is offline   cdob 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 876
  • Joined: 29-September 05

Posted 28 March 2008 - 01:34 PM

View Postilko_t, on Mar 28 2008, 12:27 AM, said:

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.jensschef...de/dfhl_en.html

#30 User is offline   andyle2k 

  • Group: Members
  • Posts: 4
  • Joined: 09-June 06

Posted 28 March 2008 - 04:10 PM

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: 28 March 2008 - 05:29 PM


#31 User is offline   wimb 

  • Senior Member
  • Group: Developers
  • Posts: 633
  • Joined: 21-March 07

Posted 29 March 2008 - 08:35 AM

View Postandy_le2k, on Mar 25 2008, 04:23 PM, said:

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

View Postandy_le2k, on Mar 25 2008, 04:23 PM, said:

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 ;)

@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: 29 March 2008 - 11:34 AM


#32 User is offline   ilko_t 

  • MSFN Addict
  • Group: Super Moderator
  • Posts: 1,605
  • Joined: 06-December 06
  • OS:none specified
  • Country: Country Flag

Posted 29 March 2008 - 11:49 AM

Wimb, here is setupdd.sys from Tiny Hexer:
Posted Image

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

#33 User is offline   wimb 

  • Senior Member
  • Group: Developers
  • Posts: 633
  • Joined: 21-March 07

Posted 29 March 2008 - 11:59 AM

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 ;)

This post has been edited by wimb: 29 March 2008 - 12:08 PM


#34 User is offline   ilko_t 

  • MSFN Addict
  • Group: Super Moderator
  • Posts: 1,605
  • Joined: 06-December 06
  • OS:none specified
  • Country: Country Flag

Posted 29 March 2008 - 12: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?

This post has been edited by ilko_t: 29 March 2008 - 12:07 PM


#35 User is offline   wimb 

  • Senior Member
  • Group: Developers
  • Posts: 633
  • Joined: 21-March 07

Posted 29 March 2008 - 12:09 PM

View Postilko_t, on Mar 29 2008, 07:04 PM, said:

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.

#36 User is offline   wimb 

  • Senior Member
  • Group: Developers
  • Posts: 633
  • Joined: 21-March 07

Posted 29 March 2008 - 01:14 PM

Thx guys,

Multiple XP Install from USB SOLVED for me by ilko_t with TinyHexer ScreenShot and andy_le2k and cdob :thumbup
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 ;)

wimb

This post has been edited by wimb: 30 March 2008 - 08:58 AM


#37 User is offline   ilko_t 

  • MSFN Addict
  • Group: Super Moderator
  • Posts: 1,605
  • Joined: 06-December 06
  • OS:none specified
  • Country: Country Flag

Posted 29 March 2008 - 01:47 PM

Good :)

I'm still puzzled about this unicode thingie, why only ~LS string :blink:
First time when thread was started I opened setupdd.sys in Tiny Hexer and searched for ~LS- not found. Who would guess to change to unicode...
Thanks cdob, brilliant find :thumbup

#38 User is offline   andy_le2k 

  • Newbie
  • Group: Members
  • Posts: 25
  • Joined: 03-January 04

Posted 29 March 2008 - 05:19 PM

View Postwimb, on Mar 29 2008, 09:35 AM, said:

View Postandy_le2k, on Mar 25 2008, 04:23 PM, said:

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




Thanks for the pickup! Yes this is a mistake and I have edited on the first post. I initially named my setupldr files setupldr1 and setupldr2 but I think ntfs boot sectors needs to be 5 chars that is why the make boot batch file will not accept setupldr1 or setupldr2.

I'm glad you finally got it working. It feels really good to be able to accomplish something like this eh? Which is why I'm very thankful to everybody who made this possible.

#39 User is online   jaclaz 

  • The Finder
  • Group: Developers
  • Posts: 11,453
  • Joined: 23-July 04
  • OS:none specified
  • Country: Country Flag

Posted 31 March 2008 - 03:15 AM

Off Topic, but not much, there is still this question open:
http://www.msfn.org/board/Install-Vista-US...6.html&st=5

It's actually my fault, I completely forgot that, but since I will be prolly busy for the next couple of weeks, if there is any taker, I would be only too happy.... :rolleyes:

jaclaz

#40 User is offline   wimb 

  • Senior Member
  • Group: Developers
  • Posts: 633
  • Joined: 21-March 07

Posted 09 April 2008 - 12:43 AM

I tried to use SETUPLDRBIN and SETUPLDR.BIN instead of NTLDR in NTFS BootSector File using the same
byte sequence for terminating the bootloader name, but booting did not occur. ;)

So it seems to me that we have to live with the 5-letter limit of bootloader name in NTFS BootSector File.
Actually renaming SETUPLDR.BIN as XPSTP is OK and is used now for all FileSystems by USB_MultiBoot_8.cmd
in order to avoid confusion.

wimb

This post has been edited by wimb: 09 April 2008 - 02:01 AM


Share this topic:


  • 4 Pages +
  • 1
  • 2
  • 3
  • 4
  • You cannot start a new topic
  • You cannot reply to this topic

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy