MSFN Forum: Install WinXP OEM VLK and RTL using only about 500MB - MSFN Forum

Jump to content


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Install WinXP OEM VLK and RTL using only about 500MB New method to create a multiboot stick!

#1 User is offline   Siginet 

  • Windows XP PowerPacker Creator
  • PipPipPipPipPip
  • Group: Members
  • Posts: 736
  • Joined: 22-January 05

Posted 12 December 2009 - 12:38 AM

Ever since USB installs have been made possible I have wanted to make it easier to fit all versions of XP on a stick without wasteing space. With multiboot CD/DVDs this is possible by having all versions of XP on a disk and compileing it in an optimized ISO. But that wasn't very useful for usb sticks.

Now this new method is the most clever method yet! And this new method could probably be modified to work on CD/DVDs too.

This small tutorial is based on the latest WinSetupFromUSB GUI.

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

I used Windows XP Professional OEM as my base OS. I opened WinsetupUSB Gui v1 Beta1 found in this thread:
http://www.msfn.org/.../2-t139737.html

Once you create your first os you will need to modify a few things...

1. create a folder inside "WIN_SETUP\XP_PRO_SP3\I386" called "CONV".
Inside "CONV" you will create 3 more folders "VLK", "OEN", and "RTL".

Copy these files from your Windows XP Pro OEM disk and place them in the "CONV\OEN" directory (Some of the files may be compressed with _ at the end... you can keep them compressed):
dpcdll.dll
eula.txt
oembios.bin
oembios.cat
oembios.dat
oembios.sig
pidgen.dll
setupp.ini
svcpack.inf (Only needed if you have different apps integrated through svcpack)

Follow this same process for the VLK folder and the RTL folder.

2. Now go to your "WIN_SETUP" folder on the root of your USB stick and extract the "XP_PRO_SP3.ISO" to a new folder "XP_PRO_SP3_FULL"
Inside the new "XP_PRO_SP3_FULL" folder go into the I386 directory. Rename the txtsetup.sif file to txtsetup.vlk. Inside the txtsetup.vlk file add this line to the [SourceDisksNames.x86] section:
777 = %cdname%,%cdtagfilei%,,\i386\CONV\VLK

Also seaarch the txtsetup file for all instances of the above files you placed in the VLK directory and change the first number set to 777

For example Change:
dpcdll.dll = 100,,,,,,,2,0,0
To:
dpcdll.dll = 777,,,,,,,2,0,0

Now copy this txtsetup.vlk file and name it txtsetup.oen and modify the line you just created:
777 = %cdname%,%cdtagfilei%,,\i386\CONV\VLK
To:
777 = %cdname%,%cdtagfilei%,,\i386\CONV\OEN

And copy it again name the file txtsetup.rtl then change that same line to:
777 = %cdname%,%cdtagfilei%,,\i386\CONV\RTL

3. Go back inside your WIN_SETUP\XP_PRO_SP3_FULL\I386 folder
Copy the setupldr.bin file and duplicaate it 2 more times. Naming all three of them like this:
SETUPLDR.VLK
SETUPLDR.OEN
SETUPLDR.RTL

Open each one in a hex editer. Replace all instances of "winnt.sif" with "winnt.vlk" for the VLK and do the same for OEN and RTL.
***NOTE*** You only need to replace the lowercase instances of "winnt.sif"!
Change every lowercase instance of "txtsetup.sif" to "txtsetup.vlk" in each setupldr file according to the vlk, oen, rtl extension of the setupldr file.

4. If you had any winnt.sif files for each of the OSes you should rename them (winnt.vlk, winnt.oen, winnt.rtl) and place them in the XP_PRO_SP3\I386 Directory on the USB Stick.

5. Now compile your XP_PRO_SP3_FULL folder into an ISO in the same layout as the old XP_PRO_SP3.ISO file.
Your new ISO should have this in it:
 Directory of G:\WIN_SETUP\XP_Pro_SP3_FULL

12/11/2009  10:18 PM	<DIR>		  .
12/11/2009  10:18 PM	<DIR>		  ..
12/11/2009  10:18 PM	<DIR>		  I386
			   0 File(s)			  0 bytes

 Directory of G:\WIN_SETUP\XP_Pro_SP3_FULL\I386

12/11/2009  10:18 PM	<DIR>		  .
12/11/2009  10:18 PM	<DIR>		  ..
04/13/2008  10:13 PM			47,564 NTDETECT.COM
12/10/2009  09:43 PM		   260,288 SETUPLDR.OEN
12/10/2009  09:45 PM		   260,288 SETUPLDR.RTL
12/10/2009  09:39 PM		   260,288 SETUPLDR.VLK
12/10/2009  09:44 PM		   461,432 TXTSETUP.OEN
12/10/2009  09:45 PM		   461,432 TXTSETUP.RTL
12/10/2009  09:41 PM		   461,432 TXTSETUP.VLK
			   7 File(s)	  2,212,724 bytes

	 Total Files Listed:
			   7 File(s)	  2,212,724 bytes
			   5 Dir(s)   1,746,513,920 bytes free


6. Now you will need to modify your winsetup.lst

color black/cyan yellow/cyan
timeout 10
default /windefault

title Back to Main Menu
configfile /menu.lst


title Second part of 2000/XP/2003 setup / Boot first internal hard disk
savedefault
map (hd0) (hd1)
map (hd1) (hd0)
map --hook
rootnoverify (hd0)
chainloader (hd0)+1

title First part of XP_Pro_SP3 VLK setup
find --set-root /WIN_SETUP/XP_Pro_SP3.ISO
map --mem /WIN_SETUP/XP_Pro_SP3.ISO (0xff)
savedefault 1
map (hd0) (hd1)
map (hd1) (hd0)
map --hook
root (0xff)
chainloader /I386/SETUPLDR.VLK

title First part of XP_Pro_SP3 OEM setup
find --set-root /WIN_SETUP/XP_Pro_SP3.ISO
map --mem /WIN_SETUP/XP_Pro_SP3.ISO (0xff)
savedefault 1
map (hd0) (hd1)
map (hd1) (hd0)
map --hook
root (0xff)
chainloader /I386/SETUPLDR.OEN

title First part of XP_Pro_SP3 RTL setup
find --set-root /WIN_SETUP/XP_Pro_SP3.ISO
map --mem /WIN_SETUP/XP_Pro_SP3.ISO (0xff)
savedefault 1
map (hd0) (hd1)
map (hd1) (hd0)
map --hook
root (0xff)
chainloader /I386/SETUPLDR.RTL


BTW... for some reason whenever I make my USB stick with WinSetupFromUSB Gui I don't have any information in my menu.lst to launch the winsetup.lst file.

So I add this to the top of my menu.lst file:
color black/cyan yellow/cyan
default /default
default	 0
timeout	 10

title Windows XP/2000/2003 Setup
root (hd0,0)
configfile /winsetup.lst
savedefault --wait=2


I think this is everything I did. Hopefully we can add this capability to an upcomming version of WinSetupFromUSB! :D

A huge thanks to ilko_t!!!

This post has been edited by Siginet: 12 March 2010 - 11:25 AM



#2 User is offline   strel 

  • segmentation fault
  • PipPipPipPip
  • Group: Members
  • Posts: 629
  • Joined: 24-February 08
  • OS:XP Pro x86
  • Country: Country Flag

Posted 12 December 2009 - 05:43 AM

Nice!

#3 User is online   jaclaz 

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

Posted 12 December 2009 - 07:19 AM

Just a note.

Using:

Quote

map --mem /WIN_SETUP/XP_Pro_SP3.ISO (0xff)

the whole image is loaded into memory.

This on low-ram machines may be a problem.

In these cases you should try using:

Quote

map /WIN_SETUP/XP_Pro_SP3.ISO (0xff)


BUT

you need to make sure that the .iso on the stick is contiguous.

Contig or wincontig will do:
http://technet.microsoft.com/en-us/sysinte...s/bb897428.aspx
http://wincontig.mdtzone.it/en/

More details:
http://diddy.boot-la...os/Grub4dos.htm
http://diddy.boot-la...s/files/map.htm

jaclaz

#4 User is offline   Siginet 

  • Windows XP PowerPacker Creator
  • PipPipPipPipPip
  • Group: Members
  • Posts: 736
  • Joined: 22-January 05

Posted 12 December 2009 - 01:08 PM

But this is a mini ISO which is very small.
It's only 2,752 KB

I think just about any computer can handle that. ;)

#5 User is online   jaclaz 

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

Posted 12 December 2009 - 01:21 PM

View PostSiginet, on Dec 12 2009, 08:08 PM, said:

But this is a mini ISO which is very small.
It's only 2,752 KB

I think just about any computer can handle that. ;)

Sure :) I thought your method was based on a "real" .iso, i.e that the "XP_PRO_SP3.ISO" contained a "full" install. :blushing:

The "beta 1" is this one, right?:
http://www.msfn.org/board/install-2000-xp-...37-page-27.html

If I may, additional to the instructions, you could do a DIR /S D:\>C:\isodir.txt with the "XP_PRO_SP3.ISO" before and after the addition, so that it is clear.

jaclaz

#6 User is offline   Siginet 

  • Windows XP PowerPacker Creator
  • PipPipPipPipPip
  • Group: Members
  • Posts: 736
  • Joined: 22-January 05

Posted 12 December 2009 - 07:46 PM

Good idea. When I get home later I'll modify this thread to be more specific. I was kinda in a rush writeing it. ;)

If anyone else trys this please let me know. I want to hear how well it worked for you.

I really think this is an improvement to the earlier methods of multiboot. :thumbup

#7 User is offline   ilko_t 

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

Posted 12 December 2009 - 11:46 PM

Nice one ;)

#8 User is offline   Siginet 

  • Windows XP PowerPacker Creator
  • PipPipPipPipPip
  • Group: Members
  • Posts: 736
  • Joined: 22-January 05

Posted 14 December 2009 - 01:27 AM

I have confirmed that this method does indeed work on CD/DVDs as well! :D

After I created my setupldr and txtsetup files for my disk (Without DriverPacks)...
I integrated driverpacks to my disk as well. Then I created some more setupldr and txtsetup files with the driverpacks info in them.

I made boot options to install with DPs or Without DPs and they both work fully. :D

This post has been edited by Siginet: 14 December 2009 - 01:31 AM


#9 User is offline   wimb 

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

Posted 14 December 2009 - 01:41 AM

Nice solution, this PowerPacker for USB-stick ;)

#10 User is offline   Siginet 

  • Windows XP PowerPacker Creator
  • PipPipPipPipPip
  • Group: Members
  • Posts: 736
  • Joined: 22-January 05

Posted 14 December 2009 - 03:39 AM

Yeah I know! :thumbup It's got me thinking of some great features I can add to a later version of Powerpacker. ;)

#11 User is offline   luksyl 

  • Group: Members
  • Posts: 7
  • Joined: 29-June 07

Posted 15 February 2010 - 11:21 PM

Thanks for the awesome guide, it'd be great to see this functionality in powerpacker or winsetupfromUSB.

Are the Retail and (unbranded) OEM versions of dpcdll.dll, pidgen.dll and the oembios files the same? I can't find a verified hash of an OEM disc so I'd rather use the retail files and just modify setupp.ini.

This post has been edited by luksyl: 15 February 2010 - 11:22 PM


#12 User is offline   luksyl 

  • Group: Members
  • Posts: 7
  • Joined: 29-June 07

Posted 16 February 2010 - 11:26 PM

Ok I finally got hold of an unbranded OEM disc, as it turns out dpcdll.dll, pigen.dll and the 4 oembios files are exactly the same for Retail and OEM discs, there are however the following differences:

acc_dis.ch_
accessib.ch_
eula.txt
iesupp.ch_
iewebhlp.ch_
setupp.ini
supp_ed.ch_

The help files on the OEM disc obviously tell the user to refer to the manufacturer instead of MS for support, it's not a major deal but if we are looking to install 100% faithful versions it might be useful.

#13 User is offline   Siginet 

  • Windows XP PowerPacker Creator
  • PipPipPipPipPip
  • Group: Members
  • Posts: 736
  • Joined: 22-January 05

Posted 18 February 2010 - 11:56 AM

View Postluksyl, on 16 February 2010 - 11:26 PM, said:

Ok I finally got hold of an unbranded OEM disc, as it turns out dpcdll.dll, pigen.dll and the 4 oembios files are exactly the same for Retail and OEM discs, there are however the following differences:

acc_dis.ch_
accessib.ch_
eula.txt
iesupp.ch_
iewebhlp.ch_
setupp.ini
supp_ed.ch_

The help files on the OEM disc obviously tell the user to refer to the manufacturer instead of MS for support, it's not a major deal but if we are looking to install 100% faithful versions it might be useful.


Nice find. I know that if I ever add the functionality to PowerPacker or we ever add the functionality to WinSetupFromUSB GUI that it would be added in a way that it actually checks the hashes of each file against the main OS.

#14 User is offline   luksyl 

  • Group: Members
  • Posts: 7
  • Joined: 29-June 07

Posted 18 February 2010 - 09:55 PM

Oh yeah one more thing, the heading

[SetupSourceFiles.x86]

in txtsetup.sif is actually

[SourceDisksNames.x86]

#15 User is offline   Siginet 

  • Windows XP PowerPacker Creator
  • PipPipPipPipPip
  • Group: Members
  • Posts: 736
  • Joined: 22-January 05

Posted 12 March 2010 - 11:26 AM

View Postluksyl, on 18 February 2010 - 09:55 PM, said:

Oh yeah one more thing, the heading

[SetupSourceFiles.x86]

in txtsetup.sif is actually

[SourceDisksNames.x86]

Yes you are correct. I fixed the typo. Thanks!

#16 User is offline   SpinningCarrots 

  • Group: Members
  • Posts: 2
  • Joined: 12-March 11
  • OS:none specified
  • Country: Country Flag

Posted 02 August 2011 - 11:14 PM

This has been done in PowerPacker RC13 although it is based on the WinSetupFromUSB stable source code. See the Compact Packing section of the manual.

This post has been edited by SpinningCarrots: 02 August 2011 - 11:55 PM


Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

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



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