Sign in to follow this  
Followers 0
Aroth

Missing or corrupt SETUPLDR.BIN

30 posts in this topic

So after doing some research here and around the web I decided to try my hand at creating a Multi-Boot disk that I could use to install and repair various versions of windows. Using a few guides on this forum I managed to merge x86 and x64 install images for Windows 7, and even add a repair environment for 64 bit, as well as setup for Windows XP to a single, multi-boot disk using just bootmgr and bcd. Afterwards I decided to try separating the installs into their own folders and just have bcd call to the individual boot.wim files. For Windows 7 this worked, but for XP it started giving me the error I referenced in the thread title.

The folder structure I have in place at the moment is as follows (only relevant folders and files shown):

WINDOWS_AIO_SETUP (disc)

BOOT

BCD

EFTSBOOT.COM

WIN7_X64_SP1

SOURCES

BOOT.WIM

INSTALL.WIM

WIN7_X86_SP1

SOURCES

BOOT.WIM

INSTALL.WIM

WINXP_HOME_SP3

I386

SETUPLDR.BIN

WINXP_PRO_SP3

I386

SETUPLDR.BIN

BOOTMGR

BOOTMGR.EFI

Here is a screenshot of the contents of the BCD in /boot/

bcdedit.png

With this configuration, Window 7 x86 and x64 Setup / Repair boot options load just fine, but both XP options give the previously mentioned error. If I place the files for XP at the root of the disk (thus limiting to only one version), XP Setup runs with no issues with the boot loader path being :\I386\SETUPLDR.BIN.

Any ideas as to what the issue could be?

0

Share this post


Link to post
Share on other sites

Any ideas as to what the issue could be?

Plenty of them. :)

The XP Setup is HARDCODED to <root>\I386.

BUT, the solution to this issue has been found since several years, you evidently missed the good ol' guide:

http://flyakite.msfn.org/

jaclaz

0

Share this post


Link to post
Share on other sites

Any ideas as to what the issue could be?

Plenty of them. :)

The XP Setup is HARDCODED to <root>\I386.

BUT, the solution to this issue has been found since several years, you evidently missed the good ol' guide:

http://flyakite.msfn.org/

jaclaz

So there is no way to make a multiboot that has both XP Home and XP Pro without using a custom shell like CD Shell and BartPE?

0

Share this post


Link to post
Share on other sites

???

That's not what he said.

You're already using a Boot Manager, so the Shell is irrelevant.

The problem is the HARD-CODED part. Fix that as per the link and try it.

0

Share this post


Link to post
Share on other sites

???

That's not what he said.

You're already using a Boot Manager, so the Shell is irrelevant.

The problem is the HARD-CODED part. Fix that as per the link and try it.

Every guide I read describing that process also goes into using CD Shell and the .dat boot sector files from the original XP disks. I wasn't sure if that was the only way, or if I could still have bcd and bootmgr loading SETUPLDR.BIN once I do that. Will try it tonight when I start working on the disk again.

Just to clarify from what I read, if I wish to use the Boot Configuration Data file (BCD) and BOOTMGR from the Windows 7 installers I already incorporated, I would need to use a HEX editor to change all instances of I386 in SETUPLDR.bin to whatever 4 character folder I use, then edit txtsetup.sif to point to the location of the remaining install files. Then have BOOTMGR load SETUPLDR.BIN from, say, /XPRO/, instead of WINXP_PRO_SP3/I386? (as it would no longer be there). Corrrect?

0

Share this post


Link to post
Share on other sites

Corrrect?

Yes. :)

BUT .....(isn't there always a but? :unsure:)

The idea (that you are strongly advised to follow, though most probably seemingly more complex) is:

  1. FORGET (temporarily) whatever you have read, here an elsewhere, on the XP install topic
  2. FOLLOW (to the T) the given guide (adapting it to the various XP's you may have) and "to the T" means DO NOT introduce ANY change of ANY type to the given procedure
  3. hopefully you should be able to have a separate DVD capable of booting ONLY the XP's
  4. THEN, (only once you have succeeded in replicating the guide) introduce your own variation (making use of the 7 BOOTMGR)

It is seemingly longer, but since quite a few steps are involved in replicating what is explained on the cited guide, IF - by any chance - you commit a mistake in any of the step (and/or anything needs to be tweaked for XP SP3) AND add to it your variation in one go, noone will be able to help you as the possible issue cannot be "traced" back to either the guide, your replicating it or your introdiced variation.

jaclaz

0

Share this post


Link to post
Share on other sites

Corrrect?

Yes. :)

BUT .....(isn't there always a but? :unsure:)

The idea (that you are strongly advised to follow, though most probably seemingly more complex) is:

  1. FORGET (temporarily) whatever you have read, here an elsewhere, on the XP install topic
  2. FOLLOW (to the T) the given guide (adapting it to the various XP's you may have) and "to the T" means DO NOT introduce ANY change of ANY type to the given procedure
  3. hopefully you should be able to have a separate DVD capable of booting ONLY the XP's
  4. THEN, (only once you have succeeded in replicating the guide) introduce your own variation (making use of the 7 BOOTMGR)

It is seemingly longer, but since quite a few steps are involved in replicating what is explained on the cited guide, IF - by any chance - you commit a mistake in any of the step (and/or anything needs to be tweaked for XP SP3) AND add to it your variation in one go, noone will be able to help you as the possible issue cannot be "traced" back to either the guide, your replicating it or your introdiced variation.

jaclaz

That makes sense. Time is not an issue for me, though I'm sure my step-brother would like this done sooner rather than later. That said I would much rather send him something that I know 100% will work, so testing each step individually is what I will do.

One last question before I get started tonight though. Do you know of a guide for integrating setup for both Pro and Home onto a single disk, and if so, could you link it for me? From what I read, the WIN51, WIN51IC, and WIN51IC.SP3 files need to be on the root of the drive, but doing so while attempting to have both Home and Pro would result in one set overwriting the other.

0

Share this post


Link to post
Share on other sites

One last question before I get started tonight though. Do you know of a guide for integrating setup for both Pro and Home onto a single disk, and if so, could you link it for me? From what I read, the WIN51, WIN51IC, and WIN51IC.SP3 files need to be on the root of the drive, but doing so while attempting to have both Home and Pro would result in one set overwriting the other.

Naah :

IC=Home

IP=Pro

;)

The guide IS about having BOTH Home and Pro in a multboot DVD, though :whistle:

http://flyakite.msfn.org/xphomesp1.htm

http://flyakite.msfn.org/xpprosp1.htm

Explore the D:\ here:

http://flyakite.msfn.org/mydvdlayout.htm

jaclaz

Edited by jaclaz
0

Share this post


Link to post
Share on other sites

One last question before I get started tonight though. Do you know of a guide for integrating setup for both Pro and Home onto a single disk, and if so, could you link it for me? From what I read, the WIN51, WIN51IC, and WIN51IC.SP3 files need to be on the root of the drive, but doing so while attempting to have both Home and Pro would result in one set overwriting the other.

Naah :

IC=Home

IP=Pro

;)

jaclaz

*facepalm*

I've been working on this every night for a week and somehow I didn't see that... wow.....

Well crap. Had a feeling this would happen, but it seems I cannot follow that guide without some tricks. Right off the bat I encounter an issue with trying to run winnt32.exe /noreboot as the system I am working on (as well as all other systems I have access too) are running Windows 7 x64. Compatibility issues abound.

Edited by Aroth
0

Share this post


Link to post
Share on other sites

So run an x86 VM and do all your work in there. That should avoid the compatibility issues. Right?

Cheers and Regards

0

Share this post


Link to post
Share on other sites

So run an x86 VM and do all your work in there. That should avoid the compatibility issues. Right?

Cheers and Regards

That's what I was thinking. Not sure if it was because I was running an x64 system, or if it was because I was running NT 6.1 (Windows 7) and trying to install NT 5.1 (XP). Sometimes it doesn't like that lol.

Anyways, so far it has worked. Was able to get the files I needed for the boot directories, and the test CD with Pro and Home worked without any issues. Fixing to try integrating those files with my main disc and see if bootmgr will load what I need it to. Just not sure if I need the PRO1 and HOM1.DAT files, and if so what to do with them...

0

Share this post


Link to post
Share on other sites

Well, once you get everything sorted and get your disk made and working the way you described you wanted in the first post, it would be nice if you wrote up a "How To". This could serve two purposes, as a reminder for you if you need to do it again, and also to help others who might want to do something similar. I am also somewhat curious why you're using a DVD instead of USB where you might could use either this - http://www.msfn.org/board/topic/120444-how-to-install-windows-from-usb-winsetupfromusb-with-gui/, this - http://www.msfn.org/board/topic/149612-winntsetup-v22/, this - http://www.msfn.org/board/topic/139654-install-windows-from-iso-after-booting-to-winpe-30-from-usb-hdd/, or any of the other options mentioned here - http://www.msfn.org/board/forum/157-install-windows-from-usb/?

Cheers and Regards

0

Share this post


Link to post
Share on other sites

Well, once you get everything sorted and get your disk made and working the way you described you wanted in the first post, it would be nice if you wrote up a "How To". This could serve two purposes, as a reminder for you if you need to do it again, and also to help others who might want to do something similar. I am also somewhat curious why you're using a DVD instead of USB where you might could use either this - http://www.msfn.org/board/topic/120444-how-to-install-windows-from-usb-winsetupfromusb-with-gui/, this - http://www.msfn.org/board/topic/149612-winntsetup-v22/, this - http://www.msfn.org/board/topic/139654-install-windows-from-iso-after-booting-to-winpe-30-from-usb-hdd/, or any of the other options mentioned here - http://www.msfn.org/board/forum/157-install-windows-from-usb/?

Cheers and Regards

I will certainly do my best to describe the steps I took in deviation from the standard guide if everything works as needed. As for why I wish to use a DVD to do this, it is because they are much cheaper and easier to mail than USB drives. Once I finish the disk I need to ship it to my brother who lives several states away so he can fix his install of XP, and I have neither the funds nor the inclination to purchase and ship a USB drive just for this. Besides, I have an abundance of CDs, DVDs, and DVD9s that I will probably never end up using otherwise. In the off chance I start to run short, I can easily test the ISO in a VM before burning to make sure it will boot properly.

UPDATE:

The new image with all four setup environments boots and all four environments load with no issues. XP Pro is installing to the VM now. Will test Home and then 7 Ultimate and 7 Ultimate x64 (as those two should give a decent approximation of whether the 7 installs work) afterwards..

UPDATE #2:

So XP installs without any issues, and even a slight bit faster than what it did for the original install to the VM. When attempting to install Windows 7, however, I get a most grievous error. It apparently wants a driver that is seemingly missing from the disc I created. That said, all of the files are present on the disk that were on the original Win7 disks. Those images will install to the VM, as will the original merged x86x64 image I created that has all the Windows 7 install.wim images merged into a single large file. It is only appearing on the newer disk.

The official Windows 7 w/ SP1 images do not give any errors at all when used to install to the VM, either from boot or from inside the existing OS (XP Pro at the time of attempt). They also load up to the OS Select options without issues when booted from on the physical machine, and they reach the same point when launched from inside my current install of Win7 x64. Have not tested beyond the point of asking for the partition to install to on the physical machine for obvious reasons.

The first Multi-boot disk I created, which merged the images from the two (32 and 64-bit) install.wim files, as well as including the 64-bit setup environment for making OS/startup repairs and XP Pro setup files also does not give any errors. I strongly suspect the error stems from the way I have the files set up, with the entire contents of Win7 x86 in one folder (minus BOOT and EFI files) and the contents of Win7 x64 in another. Likely the WinPE is searching for the driver and expecting to look in D:\Sources\, not D:\Win7_x86_SP1\Sources\. Though why it would look there I have no idea as I have not found any drivers in the sources folders, and the environment is running from X:\ and resembles a rudimentary Windows install complete with \Windows\System32\Drivers\ and \System32\DriverStore\, which DO contain driver files.

At this point I am lost as all suggestions I find via Google point back to the same two solutions, a bad ISO download or a BIOS issue, neither of which seem to apply here. Suggestions would be much welcomed.

UPDATE #3:

Looks like I was on the right track with my suspicions before. When boot.wim is loaded, it is hard coded to look for install.wim in D:\Sources\, much the same way that the XP Setup is (was) hard coded to look for SETUPLDR.BIN in D:\I386\. The difference being that we can edit the XP files to place SETUPLDR where we want, with limitations, but changing the location of install.wim is just not possible afaik. This sucks...

Edited by Aroth
0

Share this post


Link to post
Share on other sites

UPDATE #3:

Looks like I was on the right track with my suspicions before. When boot.wim is loaded, it is hard coded to look for install.wim in D:\Sources\, much the same way that the XP Setup is (was) hard coded to look for SETUPLDR.BIN in D:\I386\. The difference being that we can edit the XP files to place SETUPLDR where we want, with limitations, but changing the location of install.wim is just not possible afaik. This sucks...

I am not familiar with 7, but I think it works like Vista :ph34r:

or you can try this approach (HUGE .wim):

http://www.windowsvalley.com/create-windows-7-aio-all-in-one-dvd-or-merge-all-editions-of-windows-7-in-single-dvd/

Or this one :

http://it.megocollector.com/?p=1510

Check also this (i presume you might need Google Translate):

http://www.megalab.it/6697/windows-7-aio-il-supporto-d-installazione-unico-32-64-bit-si-crea-cosi

jaclaz

Edited by jaclaz
0

Share this post


Link to post
Share on other sites

UPDATE #3:

Looks like I was on the right track with my suspicions before. When boot.wim is loaded, it is hard coded to look for install.wim in D:\Sources\, much the same way that the XP Setup is (was) hard coded to look for SETUPLDR.BIN in D:\I386\. The difference being that we can edit the XP files to place SETUPLDR where we want, with limitations, but changing the location of install.wim is just not possible afaik. This sucks...

I am not familiar with 7, but I think it works like Vista :ph34r:

or you can try this approach (HUGE .wim):

http://www.windowsvalley.com/create-windows-7-aio-all-in-one-dvd-or-merge-all-editions-of-windows-7-in-single-dvd/

Or this one :

http://it.megocollector.com/?p=1510

Check also this (i presume you might need Google Translate):

http://www.megalab.it/6697/windows-7-aio-il-supporto-d-installazione-unico-32-64-bit-si-crea-cosi

jaclaz

Those all describe the method I used (with slight variations) to make the original Windows 7 AIO + XP Pro disk. While It was able to install any version of 7 from the x86 PE, and I could boot into the x64 PE to repair an existing install, I was looking for a somewhat cleaner install method that didn't require merging install.wim files. That said, I have found a method of altering boot.wim to load a install.wim from a different location. Will test and report back what come of it.

UPDATE:

Well I have no idea what caused it, but now I cant even boot into the DVD. I keep getting an 0xc000014c error about BCD being corrupted or something. Lovely.

Edited by Aroth
0

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.