IPB

Google Frontpage Forums Unattended CD/DVD Guide
 Forum Rules Unattended CD/DVD Guide Homepage · MSFN Forum Rules
2 Pages V   1 2 >  
Reply to this topicStart new topic
> Windows XP Professional x64 SP2 in Multiboot DVD, Need more updated tips...
Gremo
post Nov 23 2008, 09:31 PM
Post #1


Newbie


Group: Members
Posts: 42
Joined: 24-May 05
From: Italy
Member No.: 57470
Country Flag


Hi, i'm trying to integrate Windows XP Professional x64 SP2 into my AIO DVD with various XP version already working.
So what i do:

I get $WIN_NT$.~BT and $WIN_NT$.~LS folders with this command running XP Professional x64 virtual machine:
CODE
D:\AMD64\WINNT32.EXE /noreboot


Delete:
CODE
\$WIN_NT$.~BT\BOOTSECT.DAT
\$WIN_NT$.~BT\migrate.inf
\$WIN_NT$.~BT\winnt.sif
\$WIN_NT$.~LS\SIZE.SIF


Rename/move:
CODE
\$WIN_NT$.~BT\ ---> ROOT\PRO1
\$WIN_NT$.~LS\I386 ---> ROOT\I386
\$WIN_NT$.~LS\AMD64 --->ROOT\AMD64


Copy:
CODE
win51 ---> ROOT\
win51ap ---> ROOT\
win51ap.sp2 ---> ROOT\


Hex edit:
CODE
ROOT\PRO1\setupldr.bin
hex address: 0x2060 from "74 03" to "EB 1A"


Final DVD layout:

CODE
AMD64
I386
PRO1
win51
win51ap
win51ap.sp2


All works fine. Boot and installation OK.
BUT i want to move AMD64 and I386 folders inside ROOT\Source. Editing PRO1\setupldr.bin didn't do the trick. No luck with PRO1\txtsetup.sif SetupSourcePath, like other Windows XP versions. win51, win51ap, win51ap.sp2 copied also to ROOT\Source.
I get "Txtsetup.sif is corrupt error".

Maybe there is an updated tutorial somewhere?
Thanks in advance, sorry for my poor english smile.gif
Go to the top of the page
 
+Quote Post
cdob
post Nov 27 2008, 01:52 PM
Post #2


Advanced Member
***

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


QUOTE (Gremo @ Nov 23 2008, 10:31 PM) *
i'm trying to integrate Windows XP Professional x64 SP2 into my AIO DVD with various XP version already working.

i want to move AMD64 and I386 folders inside ROOT\Source.

Maybe there is an updated tutorial somewhere?

New tutorial here:

Follow flyakite's tutorial and ignore flyakite's tutorial.

Don't use winnt32.exe.

Create a directory .\XP64.
Copy directories \I386 and \AMD64 to .\XP64\.
Create win51* flag files at root and at .\XP64\.
Copy files setupldr.bin, txtsetup.sif and ntdetect.com to \XP64\.

DVD Layout:
.\WIN51
.\WIN51AP
.\WIN51AP.SP2
.\XP64\AMD64\
.\XP64\I386\
.\XP64\WIN51
.\XP64\WIN51AP
.\XP64\WIN51AP.SP2
.\XP64\NTDETECT.COM
.\XP64\SETUPLDR.BIN
.\XP64\TXTSETUP.SIF

Edit setupldr.bin at directory .\XP64\
CODE
@echo off
rem multiboot_XP64.cmd - edit XP64 setupldr.bin
rem created by cdob

rem use gsar.exe: Tormod http://home.online.no/~tjaberg/

set setupldr=SETUPLDR.BIN
set char4=XP64

rem checksum: geitonaki http://www.msfn.org/board/index.php?showtopic=58410
gsar.exe -o "-s:x46:xda:x74:x03" "-r:x46:xda:xEB:x1A" %setupldr%

rem adjust \i386\ntdetect.com and AMD64
gsar.exe -o "-s\i386\ntdetect.com" "-r\%char4%\ntdetect.com" %setupldr%
gsar.exe -i -o "-sAMD64:x5C" "-r%char4%:x5C:x00" %setupldr%
gsar.exe -o "-sAMD64:x00" "-r%char4%:x00:x00" %setupldr%


Edit txtsetup.sif, adjust SetupSourcePath and create BootPath:
CODE
[SetupData]
SetupSourcePath = "\XP64\"
BootPath = \XP64\AMD64\


BTW:
txtsetup.sif, SetupSourcePath, BootPath does work at XP32 too.
Go to the top of the page
 
+Quote Post
Gremo
post Nov 27 2008, 01:53 PM
Post #3


Newbie


Group: Members
Posts: 42
Joined: 24-May 05
From: Italy
Member No.: 57470
Country Flag


I will try it right now! Thanks for helping and for your time smile.gif
Go to the top of the page
 
+Quote Post
Gremo
post Nov 27 2008, 05:45 PM
Post #4


Newbie


Group: Members
Posts: 42
Joined: 24-May 05
From: Italy
Member No.: 57470
Country Flag


How should i edit the boot image? replace I386 with?
Go to the top of the page
 
+Quote Post
cdob
post Nov 28 2008, 02:24 AM
Post #5


Advanced Member
***

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


QUOTE (Gremo @ Nov 27 2008, 05:45 PM) *
How should i edit the boot image? replace I386 with?

As for Boot Sector: follow flyakite's tutorial
replace I386 with used 4 char name, remember .\XP64\ directory.
that's replace I386 with XP64
Go to the top of the page
 
+Quote Post
LeveL
post Mar 7 2009, 04:12 PM
Post #6


Senior Member
****

Group: Members
Posts: 548
Joined: 30-September 05
Member No.: 75109
Country Flag


This is a good way but I get the error:

File \XP64\biosinfo.inf could not be loaded.
The error code is 14.

Setup cannot continue. Press any key to exit.


EDIT: Sorry my mistake I did not amend the "SetupSourcePath" in this file:

\XP64\TXTSETUP.SIF

blushing.gif

Now it works!

This post has been edited by LeveL: Mar 7 2009, 04:27 PM
Go to the top of the page
 
+Quote Post
sT0n3r
post Apr 15 2009, 12:49 AM
Post #7


Newbie


Group: Members
Posts: 12
Joined: 11-July 07
Member No.: 146196
OS: XP Pro x86
Country Flag


works perfect thanks so much mate you saved me many days work smile.gif
Go to the top of the page
 
+Quote Post
meowing
post Oct 30 2009, 03:27 AM
Post #8


a joy forever
**

Group: Members
Posts: 126
Joined: 24-July 08
From: Langford, Canada
Member No.: 202362
OS: XP Pro x64
Country Flag


QUOTE (cdob @ Nov 28 2008, 09:24 AM) *
QUOTE (Gremo @ Nov 27 2008, 05:45 PM) *
How should i edit the boot image? replace I386 with?

As for Boot Sector: follow flyakite's tutorial
replace I386 with used 4 char name, remember .\XP64\ directory.
that's replace I386 with XP64
This is a little confusing; Gremo calls it Boot Image, you call it Boot Sector. What exactly do you mean here?

This post has been edited by meowing: Nov 13 2009, 02:30 AM
Go to the top of the page
 
+Quote Post
jaclaz
post Oct 30 2009, 04:26 AM
Post #9


MSFN SuperB
Group Icon

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


QUOTE (meowing @ Oct 30 2009, 10:27 AM) *
This is a little confusing; Gremo calls it Boot Image, you call it Boot Sector.

It's the same thing.
It is the "Microsoft Corporation.img" or "Arnes Boot Record" which is the El-Torito no emulation boot image and that is written to the CD bootsector.

Let's say that before being actually burned to CD it is a Boot Image and after it has been burned it is a Boot Sector. newwink.gif

Here:
http://flyakite.msfn.org/xpprosp1.htm
it's called Boot Sector, it's the 2048 bytes long file that ends like this:


jaclaz
Go to the top of the page
 
+Quote Post
meowing
post Nov 13 2009, 02:26 AM
Post #10


a joy forever
**

Group: Members
Posts: 126
Joined: 24-July 08
From: Langford, Canada
Member No.: 202362
OS: XP Pro x64
Country Flag


QUOTE (cdob @ Nov 27 2008, 08:52 PM) *
CODE
set setupldr=SETUPLDR.BIN
set char4=XP64

gsar.exe -o "-s:x46:xda:x74:x03" "-r:x46:xda:xEB:x1A" %setupldr%

gsar.exe -o "-s\i386\ntdetect.com" "-r\%char4%\ntdetect.com" %setupldr%
gsar.exe -i -o "-sAMD64:x5C" "-r%char4%:x5C:x00" %setupldr%
gsar.exe -o "-sAMD64:x00" "-r%char4%:x00:x00" %setupldr%

So are these still valid as the only 4 required changes inside setupldr.bin for XP x64 (SP2+)?

And should this be applied to both copies of setupldr.bin per OS (the one in the original location and the one in the os-root) ?

Is moving ntdetect.com one folder up simply to get the 4char replacement of i386 working, or is there another reason?
If it would be:
"\i386\ntdetect.com" -> "\%char4%\i386\ntdetect.com"
one would not have to move ntdetect.com in the os-root, right?

Thanks!

This post has been edited by meowing: Nov 13 2009, 02:35 AM
Go to the top of the page
 
+Quote Post
meowing
post Nov 13 2009, 02:33 AM
Post #11


a joy forever
**

Group: Members
Posts: 126
Joined: 24-July 08
From: Langford, Canada
Member No.: 202362
OS: XP Pro x64
Country Flag


QUOTE (jaclaz @ Oct 30 2009, 11:26 AM) *
It's the same thing.
It is the "Microsoft Corporation.img" or "Arnes Boot Record" which is the El-Torito no emulation boot image and that is written to the CD bootsector.

it's called Boot Sector, it's the 2048 bytes long file that ends like this:
OK, I was under the impression that XP64 isos don't use this anymore.. Is there an easy way to obtain such image from an official XP64 iso without having to use Isobuster?
Go to the top of the page
 
+Quote Post
cdob
post Nov 13 2009, 06:15 AM
Post #12


Advanced Member
***

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


QUOTE (meowing @ Nov 13 2009, 03:26 AM) *
So are these still valid as the only 4 required changes inside setupldr.bin for XP x64 (SP2+)?
Yes, this is valid for XP x64 SP2.
What's (SP2+) ?

QUOTE
And should this be applied to both copies of setupldr.bin per OS (the one in the original location and the one in the os-root) ?
Apply this for relocated versions.
There is no need to change setupldr.bin at original location.

However mixing original and relocated versions may get strange results.
Or work without any issue. No idea.

QUOTE
Is moving ntdetect.com one folder up simply to get the 4char replacement of i386 working
Yes, it is.

QUOTE
Is there an easy way to obtain such image from an official XP64 iso without having to use Isobuster?

BBIE - Bart's Boot Image Extractor http://www.nu2.nu/bbie/

spcmdcon.sys contains the boot image too. At offset 0x17F00, size one CD data sector.
Go to the top of the page
 
+Quote Post
meowing
post Nov 13 2009, 08:02 AM
Post #13


a joy forever
**

Group: Members
Posts: 126
Joined: 24-July 08
From: Langford, Canada
Member No.: 202362
OS: XP Pro x64
Country Flag


QUOTE (cdob @ Nov 13 2009, 01:15 PM) *
What's (SP2+) ?
Just meant an up to date XP x64 image, I have no idea if MS ever updated setupldr.bin post the XP64 SP2 disk release..

QUOTE
QUOTE
Is there an easy way to obtain such image from an official XP64 iso without having to use Isobuster?

BBIE - Bart's Boot Image Extractor http://www.nu2.nu/bbie/
spcmdcon.sys contains the boot image too. At offset 0x17F00, size one CD data sector.

Thanks!

Is replacing all the amd64 entries as in
CODE
gsar.exe -i -o "-sAMD64:x5C" "-r%char4%:x5C:x00" %setupldr%
gsar.exe -o "-sAMD64:x00" "-r%char4%:x00:x00" %setupldr%
really safe?
I ask this because of what it says here:
http://www.msfn.org/board/solution-multibo...004-t58410.html
"Do not replace all occurrences of "amd64" since some of them refer to a section of txtsetup.sif"

When I compare the two setupldr.bin files (the one in that post and the one generated by your gsar commands, the one from geitonaki has a lot more amd64 entries left in there..

Still not clear what to replace in setupldr.bin and what to leave as is... Can someone reassure me the gsar script here is correct for XP x64 SP2 setup?

This post has been edited by meowing: Nov 13 2009, 02:56 PM
Go to the top of the page
 
+Quote Post
cdob
post Nov 13 2009, 04:25 PM
Post #14


Advanced Member
***

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


QUOTE (meowing @ Nov 13 2009, 09:02 AM) *
Can someone reassure me the gsar script here is correct for XP x64 SP2 setup?
Yes, it is.
Go to the top of the page
 
+Quote Post
cdob
post Nov 16 2009, 03:10 PM
Post #15


Advanced Member
***

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


Grub4dos is a multi boot loader.
Grub4dos was enhanced recently, 14th Nov 2009: http://nufans.net/grub4dos/tinybit/
Editing in RAM is possible now. Previous editing is not required anymore.

General grub4dos informations: integrated help file
http://grub4dos.sourceforge.net/wiki/index...ub4dos_tutorial
http://diddy.boot-land.net/grub4dos/Grub4dos.htm

Grub4dos can chainload setupldr.bin: no need for a boot sector file.

CODE
title Loading XP install - plain /I386/SETUPLDR.BIN
chainloader /I386/SETUPLDR.BIN

title Windows XP PRO 64 SP2 - multi boot
map --mem /XP64/I386/SETUPLDR.BIN (rd)
#checksum: geitonaki http://www.msfn.org/board/index.php?showtopic=58410
write --offset=0x2060 (rd)+1 \xEB\x1A
#cdob SetupSourcePath="\XP64\"; BootPath=\XP64\AMD64\  
#http://www.msfn.org/board/index.php?s=&showtopic=126480&view=findpost&p=814566
cat --locate="\\i386\\ntdetect" --replace="\\XP64\\ntdetect.com" (rd)+1
cat --locate="amd64\\" --replace="XP64\\\x00" (rd)+1
cat --locate="AMD64\\" --replace="XP64\\\x00" (rd)+1
cat --locate="\\AMD64" --replace="\\XP64\x00" (rd)+1
cat --locate=I386 --replace=XP64 (rd)+1
chainloader (rd)+1
root ()
Go to the top of the page
 
+Quote Post
meowing
post Nov 18 2009, 07:24 AM
Post #16


a joy forever
**

Group: Members
Posts: 126
Joined: 24-July 08
From: Langford, Canada
Member No.: 202362
OS: XP Pro x64
Country Flag


QUOTE (cdob @ Nov 16 2009, 10:04 PM) *
General grub4dos informations: integrated help file
http://grub4dos.sourceforge.net/wiki/index...ub4dos_tutorial
http://diddy.boot-land.net/grub4dos/Grub4dos.htm

Grub4dos can chainload setupldr.bin: no need for a boot sector file.
That's great! As I understand it, I need mkisofs to create the iso like this:
CODE
mkisofs -R -b grldr -no-emul-boot -boot-load-size 4 -o grldr.iso iso_root

and I read a lot about different versions of mkisofs, is there any version specifically fitting for XP x64 that you are aware of?

QUOTE (cdob)
CODE
title Windows XP PRO 64 SP2 - multi boot
map --mem /XP64/I386/SETUPLDR.BIN (rd)
OK, this is loading the unaltered setupldr.bin location; How would grub4dos work together with your layout as described above in Post #2? I assume nothing changes, except for the setupldr.bin being under /I386/ which needs to be hexedited still, correct?

This post has been edited by meowing: Nov 18 2009, 07:26 AM
Go to the top of the page
 
+Quote Post
cdob
post Nov 18 2009, 11:15 AM
Post #17


Advanced Member
***

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


QUOTE (meowing @ Nov 18 2009, 08:24 AM) *
and I read a lot about different versions of mkisofs, is there any version specifically fitting for XP x64 that you are aware of?

Try at any mkisofs version you can find: mk_XP64.cmd
CODE
mkisofs -iso-level 3 -N -D -d -relaxed-filenames -allow-multidot -joliet-long ^
-r -b grldr -hide boot.catalog -no-emul-boot -boot-load-size 4 ^
-o XP64.iso -o XP64.iso iso_root


QUOTE
OK, this is loading the unaltered setupldr.bin location;
Yes, /XP64/I386/SETUPLDR.BIN is the original file.

QUOTE
]How would grub4dos work together with your layout as described above in Post #2? I assume nothing changes, except for the setupldr.bin being under /I386/ which needs to be hexedited still, correct?

Yes, should work
CODE
title Loading XP install - plain /I386/SETUPLDR.BIN
chainloader /I386/SETUPLDR.BIN
Go to the top of the page
 
+Quote Post
meowing
post Nov 18 2009, 04:32 PM
Post #18


a joy forever
**

Group: Members
Posts: 126
Joined: 24-July 08
From: Langford, Canada
Member No.: 202362
OS: XP Pro x64
Country Flag


QUOTE (cdob @ Nov 18 2009, 06:15 PM) *
Yes, should work
CODE
title Loading XP install - plain /I386/SETUPLDR.BIN
chainloader /I386/SETUPLDR.BIN
Just to be sure, you mean:
CODE
title Loading XP install - plain /XP64/I386/SETUPLDR.BIN
chainloader /XP64/I386/SETUPLDR.BIN
in your layout, correct?

And
.\XP64\WIN51
.\XP64\WIN51AP
.\XP64\WIN51AP.SP2
.\XP64\NTDETECT.COM
.\XP64\TXTSETUP.SIF
should all still stay there?

This post has been edited by meowing: Nov 18 2009, 04:33 PM
Go to the top of the page
 
+Quote Post
cdob
post Nov 18 2009, 04:53 PM
Post #19


Advanced Member
***

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


QUOTE (meowing @ Nov 18 2009, 04:32 PM) *
Just to be sure, you mean:

Setupldr.bin location doesn't matter at grub4dos. Load the appropiate file.

The edited Setupldr.bin was at /XP64/SETUPLDR.BIN.
If you like this one, chainload this one.

If you like to use another one, chainload the another one.
The original one was at /XP64/I386/SETUPLDR.BIN
Use grub4dos to change this file in RAM.

Keep all files as described previously, there is no change.
Go to the top of the page
 
+Quote Post
meowing
post Nov 19 2009, 01:55 PM
Post #20


a joy forever
**

Group: Members
Posts: 126
Joined: 24-July 08
From: Langford, Canada
Member No.: 202362
OS: XP Pro x64
Country Flag


QUOTE (cdob @ Nov 18 2009, 11:53 PM) *
The original one was at /XP64/I386/SETUPLDR.BIN
Use grub4dos to change this file in RAM.
LOL, hexediting it in memory is a neat and cool option, but somehow I'd rather do the hex-editing beforehand.

Thanks for all the hints. Should all work now.
Go to the top of the page
 
+Quote Post

Google Frontpage Forums Unattended CD/DVD Guide

2 Pages V   1 2 >
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 




Lo-Fi Version Time is now: 22nd November 2009 - 09:24 AM
All trademarks mentioned on this page are the property of their respective owners
MSFN is not affiliated with Microsoft
Copyright © 2001-2009 msfn.org
Privacy Policy