MSFN Forum: Missing or corrupt SETUPLDR.BIN - MSFN Forum

Jump to content


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

Missing or corrupt SETUPLDR.BIN Rate Topic: -----

#21 User is offline   jaclaz 

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

Posted 13 May 2012 - 09:49 AM

View PostAroth, on 13 May 2012 - 08:34 AM, said:

(Pretty sure ntdetect, ntldr, and setupldr.bin expect ISO9960 as they run off of a CD normally.

Confirmed.
Here:
http://www.msfn.org/...f-breaks-ntldr/
http://www.msfn.org/...ently-xp-vista/
(latter includes actual tested command line parameters).

jaclaz


#22 User is offline   cdob 

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

Posted 13 May 2012 - 03:45 PM

View PostAroth, on 13 May 2012 - 03:46 AM, said:

Ok so I fixed that odd error I was getting (apparently if \boot\ is the first directory on the rood of the disc, it it cant find or read bcd), but I am still getting the missing driver error. I'm starting to think it hates me...

Sort file layout too: BootOrder.txt
Oscdimg Command-Line Options

#23 User is offline   Aroth 

  • Newbie
  • Group: Members
  • Posts: 16
  • Joined: 08-May 12
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 14 May 2012 - 10:53 AM

Ok, so I am creating an image now using the following line of code:

oscdimg -u1 -bC:\Win_Installer\boot\etfsboot.com -l"WINDOWS_AIO_SETUP" -yoC:\TEST\BootOrder.txt -h -m C:\Win_Installer C:\TEST\WIN_AIO_TEST2.ISO


BootOrder.txt contains the following

boot\bcd
boot\boot.sdi
boot\bootfix.bin
boot\bootsect.exe
boot\etfsboot.com
boot\memtest.exe
boot\en-us\bootsect.exe.mui
boot\fonts\chs_boot.ttf
boot\fonts\cht_boot.ttf
boot\fonts\jpn_boot.ttf
boot\fonts\kor_boot.ttf
boot\fonts\wgl4_boot.ttf
Win7_x64\boot.wim
Win7_x86\boot.wim
XHOM\ntdetect.com
XHOM\SETUPLDR.BIN
XPRO\ntdetect.com
XPRO\SETUPLDR.BIN


The first half of the BootOrder file is from the example on the technet page, minus the file that isn't present in my source. The last six entries are an attempt to make sure all the loaders are at the front of the disk.

It just finished creating the image as I typed this, so I will go test it and hope for the best.

Update:

No go, but I remember now what I was going to try before I ended up working all day yesterday. In the guide I followed to force the boot.wim image to to load install.wim from a different location, steve6375 only copied the boot.wim and install.wim files from the original discs for Windows 7 (Vista he used the entire sources folder). In addition, his mysetup.cmd script that he injects into boot.wim runs X:\Setup.exe in the event that there is not an entire sources folder used (i.e. Win7). The other person in the thread you linked me, far.in.out, has his script run X:\sources\setup.exe.

I will try removing all files except boot.wim and install.wim from the install directories and see where that gets me, and if it still doesnt work, try running sources\setup.exe from the boot image.


Update#2:

Just had an epiphany.... Does any one know the exact process that is used by the windows 7 PE to load a installer? I was thinking about what you said about odd errors being an indication to just start from scratch, and it made me wonder if the issue is with boot.wim or install.wim. I am going to play with an original disk and see what happens when I cut it down to just the boot and install .wims in the sources folder., also, see what happens when i remove the install.wim file. Basically try to get a normal win7 disk to give me this driver error.

This post has been edited by Aroth: 14 May 2012 - 11:31 AM


#24 User is offline   cdob 

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

Posted 14 May 2012 - 11:40 AM

View PostAroth, on 14 May 2012 - 10:53 AM, said:

The last six entries are an attempt to make sure all the loaders are at the front of the disk.

Setupldr.bin reads first 4GB of DVD. Sort all XP textmode boot files too.

#25 User is offline   Aroth 

  • Newbie
  • Group: Members
  • Posts: 16
  • Joined: 08-May 12
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 14 May 2012 - 11:43 AM

View Postcdob, on 14 May 2012 - 11:40 AM, said:

View PostAroth, on 14 May 2012 - 10:53 AM, said:

The last six entries are an attempt to make sure all the loaders are at the front of the disk.

Setupldr.bin reads first 4GB of DVD. Sort all XP textmode boot files too.



So basically the entire contents of all four XP related folders? (XHOM, XPRO, WinXP_Home_SP3, and WinXP_PRO_SP3 in my case)?.

Ok, so I did some tests. I took the official Windows 7 x86 Home Premium disk (named X15-65732, labeled GRMCHPFRER_AN_DVD) and made three test images from it. I then booted each disk in VirtualBox

In test1.iso, I renamed install.wim to install.gag. This resulted in an error that closed setup.exe

In test2.iso, I deleted the entire contents of /Sources/, excepting boot.wim, install.wim, and setup.exe. This image booted into the install and OS Setup select screen with no problems (good way to shave a few hundred MB at the expense of update and possibly repair capability)

In test3.iso, I took test2.iso and moved the Sources folder into a new folder titled Win7_x86_SP1 and then copied my bcd file from C:\Win_Installer\boot into the boot folder of test3. This image gave me the missing driver error.

Based on this I would believe that the problem lies in it expecting to find \Sources\ on the root of the drive, but that doesn't make any sense. It obviously can find install.wim without any problems, likely by looking relative to boot.wim (i.e. ".\install.wim"), and the only files present in \sources\ were boot.wim, install.wim, and setup.exe. If found the first two or it wouldn't have booted or setup would have crashed out, and I see no reason why setup.exe would have drivers inside it (though I guess it IS possible).

I have one last thing to try and thing I will start thinking of other ways to lay out this disk. Folder structure isn't as important to me as having it install x64 windows from inside the x64 PE and x86 Window from the x86 PE, and I think I know how to do that.

This post has been edited by Aroth: 14 May 2012 - 12:33 PM


#26 User is offline   cdob 

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

Posted 14 May 2012 - 12:17 PM

View PostAroth, on 14 May 2012 - 11:43 AM, said:

So basically the entire contents of all four XP related folders? (XHOM, XPRO, WinXP_Home_SP3, and WinXP_PRO_SP3 in my case)?

I don't know you case fully. I'm not used to this approach anymore.

I guess:
Add all file from XHOM, XPRO folders and files from sub folders
And all files below WinXP_Home_SP3 and WinXP_PRO_SP3 ASMS folders.
And I386\$OEM$\ - \$OEM$\TEXTMODE, if you use this. http://www.msfn.org/...drivers-method/

Yes, simplified approach: the entire contents of all four XP related folders

To clarify:
This is not required, if relating files are within first 4GB of DVD media by chance.

#27 User is offline   Aroth 

  • Newbie
  • Group: Members
  • Posts: 16
  • Joined: 08-May 12
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 14 May 2012 - 01:39 PM

View Postcdob, on 14 May 2012 - 12:17 PM, said:

View PostAroth, on 14 May 2012 - 11:43 AM, said:

So basically the entire contents of all four XP related folders? (XHOM, XPRO, WinXP_Home_SP3, and WinXP_PRO_SP3 in my case)?

I don't know you case fully. I'm not used to this approach anymore.

I guess:
Add all file from XHOM, XPRO folders and files from sub folders
And all files below WinXP_Home_SP3 and WinXP_PRO_SP3 ASMS folders.
And I386\$OEM$\ - \$OEM$\TEXTMODE, if you use this. http://www.msfn.org/...drivers-method/

Yes, simplified approach: the entire contents of all four XP related folders

To clarify:
This is not required, if relating files are within first 4GB of DVD media by chance.


So would the following work, or would just just give an error?

boot\bcd
boot\boot.sdi
boot\bootfix.bin
boot\bootsect.exe
boot\etfsboot.com
boot\memtest.exe
boot\en-us\bootsect.exe.mui
boot\fonts\chs_boot.ttf
boot\fonts\cht_boot.ttf
boot\fonts\jpn_boot.ttf
boot\fonts\kor_boot.ttf
boot\fonts\wgl4_boot.ttf
Win7_x64\boot.wim
Win7_x86\boot.wim
XHOM\
WinXP_Home_SP3\
XPRO\
WinXP_Pro_SP3\


#28 User is offline   cdob 

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

Posted 14 May 2012 - 02:43 PM

View PostAroth, on 14 May 2012 - 01:39 PM, said:

So would the following work, or would just just give an error?

XHOM\

Out of memory, back then at Windows 7 gold WAIK:
A folder XHOM\ is ignored.
You have to specifiy each single file. And wildcards are not supported.

Which file size goes to current ISO image?

#29 User is offline   Aroth 

  • Newbie
  • Group: Members
  • Posts: 16
  • Joined: 08-May 12
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 16 May 2012 - 09:36 AM

View Postcdob, on 14 May 2012 - 02:43 PM, said:

View PostAroth, on 14 May 2012 - 01:39 PM, said:

So would the following work, or would just just give an error?

XHOM\

Out of memory, back then at Windows 7 gold WAIK:
A folder XHOM\ is ignored.
You have to specifiy each single file. And wildcards are not supported.

Which file size goes to current ISO image?


Not sure exactly what you are asking. The image totals out at about 6.7 GB right now. I have used it to install XP Pro to VirtualBox once already without any issues, so it's probably ok.

#30 User is offline   Aroth 

  • Newbie
  • Group: Members
  • Posts: 16
  • Joined: 08-May 12
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 17 May 2012 - 09:55 AM

I have a few questions before I attempt my next idea for this image.

I know that the basic Windows 7 Setup can run run with just the folllowing

DVD:
BOOT
en-us
bootsect.exe.mui
bcd
boot.sdi
bootsect.exe
etfsboot.com

SOURCES
boot.wim
install.wim

BOOTMGR


Does that mean that the rest of the contents of the \sources\ directory are simply for installing windows from inside another operating system?

Share this topic:


  • 2 Pages +
  • 1
  • 2
  • 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