dariods Posted August 15, 2011 Share Posted August 15, 2011 Hi,PLEASE Guide.I am creating a multiboot cd with windows XP with 32 bit and 64 bit setups.I would basically have six boot options in the menu of the setup dvd,1.WinXP Pro 32bit2.Repair 32 bit3.WinXP Pro 64bit4.Repair 64 bit5.Boot from Harddisk6.Reboot PCOptions 2 and 4 would rarely be used, but I prefer keeping them.The I386 folder of 32Bit is I386,32bit repair is named I32R,The I386 folder of 64Bit is renamed IX64 and 64Bit repair as I64R.The boot files of 32 and 64 bit have been extracted and named as XP32.bin,XP32R.bin,XP64.bin and XP64R.bin.In XP32R.bin,XP64.bin and XP64R.bin I have replaced the text I386 to I32R,IX64 and I64R.Replaced the text i386 in I32R\setupldr.bin to i32r,IX64\setupldr.bin to ix64 and I64R\setupldr.bin to i64r.Changed SetupSourcePath = "\" in I32R\txtsetup.sif to SetupSourcePath = "\I32R".Should I change the SetupSourcePath in the IX64\txtsetup.sif and I64R\txtsetup.sif ?The unattended file "WINNT.SIF" in 32 bit is in the I386 folder.I have placed one without repair option in I386 and one with repair option in I32R.The "WINNT.SIF" is located in the AMD64 folder, How do I do it for 64bit?If the duplicate once switch is used in creating the ISO, would there be a problem in the setup or if and software/hardware needs the I386 folder for copying files from the setup DVD ? Link to comment Share on other sites More sharing options...
cdob Posted August 15, 2011 Share Posted August 15, 2011 Use a slightly different approach: SetupSourcePath and BootPath.Use one directory for unanttended and repair, adjust winnt.sif. Patch a second setupldr.bin to winnt .rep.unattended: use file \XP64\AMD64\WINNT.SIFrepair use file: \XP64\AMD64\WINNT.REPAs for 32 bit use a second setupldr.bin too and two filesI386\WINNT.SIFI386\WINNT.REP Link to comment Share on other sites More sharing options...
dariods Posted August 15, 2011 Author Share Posted August 15, 2011 Use a slightly different approach: SetupSourcePath and BootPath.Use one directory for unanttended and repair, adjust winnt.sif. Patch a second setupldr.bin to winnt .rep.unattended: use file \XP64\AMD64\WINNT.SIFrepair use file: \XP64\AMD64\WINNT.REPAs for 32 bit use a second setupldr.bin too and two filesI386\WINNT.SIFI386\WINNT.REPThanks.I read the topic you have pointed towards.I am using EasyBoot to create the cd menu.To run xp setup in the easyboot command I enter "run xp64.bin".Replacing I386 to IX64 in xp64.bin is telling the boot sector that i386 is IX64 but if i386 is placed in a folder named xp64 would maybe have to place the bin file in the folder XP64 enter in the command "run \xp64\xp64.bin".I am unable to understand boot sector patching.Patching "second setupldr.bin to winnt .rep" and then for repair use " \XP64\AMD64\WINNT.REP".How? setupldr.bin and winnt.sif are two different types of files. Link to comment Share on other sites More sharing options...
cdob Posted August 15, 2011 Share Posted August 15, 2011 I am using EasyBoot to create the cd menu. I don't use EasyBoot.I am unable to understand boot sector patching.The boot sector file loads a file \i386\setupldr.bin.If you use another file name, you have to change the boot sector file.Patch the boot sector file accordingly. Yes, patch IX64 if you use a directory IX64.Or use another bootmanager, load setupldr.bin directly.Patching "second setupldr.bin to winnt .rep" and then for repair use " \XP64\AMD64\WINNT.REP".How? setupldr.bin and winnt.sif are two different types of files.Setupldr.bin contains a string winnt.sif. Patch a second renamed setupldr.bin (\IX64\setupldr.rep ): change winnt.sif to winnt.repPatch a second boot sector file to load \IX64\setupldr.rep: change i386 to IX64 and change setupldr.bin to setupldr.rep. Link to comment Share on other sites More sharing options...
dariods Posted August 20, 2011 Author Share Posted August 20, 2011 For testing purpose 1.Kept the the same directory structure as of the 64bit iso. \AMD64 \I3862.Copied \1386\setupdlr.bin to \1386\setupdlr.rep3.Copied \AMD64\winnt.sif to \AMD64\winnt.rep4.Patched bootsector to load setupdlr.rep (Replaced text setupdlr.bin to setupdlr.rep)5.\AMD64\winnt.sif \AMD64\winnt.rep \I386\setupdlr.rep \I386\setupdlr.binwhen I load the patched bootsector it works fine, but if the \I386\setupdlr.rep is patched for winnt.rep I get the error "NTLDR is corrupt" Link to comment Share on other sites More sharing options...
cdob Posted August 21, 2011 Share Posted August 21, 2011 "NTLDR is corrupt" Link to comment Share on other sites More sharing options...
jaclaz Posted August 21, 2011 Share Posted August 21, 2011 (edited) when I load the patched bootsector it works fine, but if the \I386\setupdlr.rep is patched for winnt.rep I get the error "NTLDR is corrupt"Maybe it is not an XP setupldr.bin but rather a Server 2003 one?jaclazP.s.: ooops, sorry cross-posting with cdob Edited August 21, 2011 by jaclaz Link to comment Share on other sites More sharing options...
dariods Posted August 23, 2011 Author Share Posted August 23, 2011 Using the cracked setupldr.bin everything works fine as required.Should I change the SetupSourcePath in the AMD64\txtsetup.sif from SetupSourcePath = "\" to SetupSourcePath = "\IX64" ?Directory structure is\AMD64\I386 (I386 of 32 bit)\IX64 (I386 of 64 bit renamed to IX64) Link to comment Share on other sites More sharing options...
dariods Posted August 28, 2011 Author Share Posted August 28, 2011 Thanks very much cdob.You have been of great help to me. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now