Jump to content











- - - - -

what role has setupldr.bin in booting xp


  • Please log in to reply
16 replies to this topic

#1 Guest_CJ Wijtmans_*

Guest_CJ Wijtmans_*
  • Guests

Posted 08 December 2008 - 03:06 PM

hi.

I have tried google but i dint find much on this.
What role has setupldr.bin in booting xp?
I think it is to boot the windows setup.
But i saw some ppl using it to boot an installed xp?
maybe im wrong... im just confused how this file is used to boot an installed xp.

thanks..

#2 maanu

maanu

    Gold Member

  • Advanced user
  • 1134 posts
  •  
    Pakistan

Posted 08 December 2008 - 05:07 PM

i could not understand what u do u mean by saying " they load installed xp with it " how can an installed xp boot from one single file ? it is not possible!!

setupldr.bin in slipstreamed and live xp's have information about booting files , it basically send commands to booting protocol to look in main directory (normally i386 but it can b changed by hexediting ) for files like ntdetect ,command.com,ntldr etc ..

#3 Guest_CJ Wijtmans_*

Guest_CJ Wijtmans_*
  • Guests

Posted 08 December 2008 - 06:34 PM

ofcourse there is only one file which loads the chain. im only wondering how and why setupldr.bin is being used to load an XP

#4 cdob

cdob

    Gold Member

  • Expert
  • 1469 posts

Posted 08 December 2008 - 07:38 PM

What role has setupldr.bin in booting xp?
I think it is to boot the windows setup.

Setupldr.bin support different modes currently.

Setupldr.bin is used to start a Preinstallation Environment.
http://en.wikipedia....ion_Environment

PE is a kind of a running windows setup.

#5 Guest_CJ Wijtmans_*

Guest_CJ Wijtmans_*
  • Guests

Posted 08 December 2008 - 09:19 PM

i see ...

but that still doesnt make me understand what it axactly does. now i know for what its being used, but why and how...?

#6 was_jaclaz

was_jaclaz

    Finder

  • Advanced user
  • 7101 posts
  • Location:Gone in the mist
  •  
    Italy

Posted 09 December 2008 - 09:54 AM

Let's try to clear this a bit.

There are two different loaders in a "standard" XP/2003 source:
NTLDR
SETUPLDR.BIN

They are used to boot two different things:
NTLDR boots "real" Windows
SETUPLDR.BIN can boot:
1) Windows setup
2) Windows Recovery Console
3) A PE environment

Basically both contain a "mini" "real-mode" OS (think at it as a very minimal DOS) that starts the loading of the "real" (pardon me the pun :) ) "protected mode" OS.

In earlier NT based systems (NT 3.51 and 4.0) it was explicit how these files contain a program OSLOADER.EXE which is the actual loader.

Also, compare with this:
http://www.boot-land...?showtopic=5900

jaclaz

#7 Guest_CJ Wijtmans_*

Guest_CJ Wijtmans_*
  • Guests

Posted 10 December 2008 - 03:30 PM

does setupldr, ignore the boot.ini file, i dont think a PE will look into a boot.ini?

#8 was_jaclaz

was_jaclaz

    Finder

  • Advanced user
  • 7101 posts
  • Location:Gone in the mist
  •  
    Italy

Posted 10 December 2008 - 07:05 PM

does setupldr, ignore the boot.ini file, i dont think a PE will look into a boot.ini?


Sure:
NTLDR parses BOOT.INI
SETUPLDR.BIN parses TXTSETUP.SIF (and other files, like migrate.inf, dosnet.inf)
This latter topic is covered to a certain extent in wimb's Tutorial:
http://www.boot-land...?showtopic=5306
as cdob said:

PE is a kind of a running windows setup.


jaclaz

#9 Guest_CJ Wijtmans_*

Guest_CJ Wijtmans_*
  • Guests

Posted 29 December 2008 - 01:22 PM

okay, i havent read the whole thread, only the first pages.
interestings things there but im still confused.
where do i go from here? (im using qemu and i pointed it to my usb stick, if it works in qemu i wanna try and boot from the stick)

- i use nlite and click to remove evrything.
- use the grubinstaller to make it boot grldr
- copy i386 folder (i also wanna put 64 bit xp on the stick later)
- point menu.lst to \i386\whateverboot.file

im really confused what todo from there since the referenced post focuses on installing from usb stick, i can try doing that later...
Please no scripts or winnt32.exe or whatever, i like todo things manually. no need for ramdrive or anything, i just wanna keep it simple for now, i just wanna know how to setup and use this PE enviroment. im really curious and stubborn, want to know evrything i can.

then i have another question, how is a PE any better than an xp with FBWF + inf folder. also can pe boot an xp like it would from xp source. and if booting from xp source, is there a way to eliminate the use of cab files

thanks alot jaclaz ur always very helpfull.

#10 was_jaclaz

was_jaclaz

    Finder

  • Advanced user
  • 7101 posts
  • Location:Gone in the mist
  •  
    Italy

Posted 29 December 2008 - 03:09 PM

Yep, what I am missing is what you actually want to do from the "removed everything" nlited \I386 SETUP files on the USB stick, (I am assuming that you mounted the USB stick in Qemu through \\.\Physicaldriven):
http://www.msfn.org/...howtopic=112746

Please choose one of the available options ;):
  • install nlited XP to a Qemu virtual hard disk (hard disk image)
  • install nlited XP to the stick
  • start a full XP from XP nlited setup files
  • start a bartPE from XP nlited setup files

Notes:
  • NOT possible if you removed EVERYTHING and don't use a proper way to address the problems that you may encounter:
    Whole dedicated forum:
    http://www.msfn.org/...p?showforum=157
    FAQ's, read attentively #2:
    http://www.msfn.org/...howtopic=111401
    Historical thread, which you will have to read if you want to do things "manually":
    http://www.msfn.org/...showtopic=61384
  • NOT possible if you removed EVERYTHING and don't use a proper way to address the problems that you may encounter (as above) AND add USB support for the installed XP:
    http://www.msfn.org/...o...19963&st=23
  • NOT possible, you are using SETUP files, what do you want, blood? Xp needs to be properly installed (or fake installed, like in XPCLI! :cheers:
  • NOT possible, you are using SETUP files, what do you want, blood? Or you think that all the work to create PEbuilder or Winbuilder was unneeded? :cheers:


jaclaz

#11 Guest_CJ Wijtmans_*

Guest_CJ Wijtmans_*
  • Guests

Posted 29 December 2008 - 03:33 PM

i pecificly stated i DONT want to isntall xp from or to usb.
i only talking about setting up PE enviroments...

#12 was_jaclaz

was_jaclaz

    Finder

  • Advanced user
  • 7101 posts
  • Location:Gone in the mist
  •  
    Italy

Posted 29 December 2008 - 03:38 PM

Than you need a PE build, not a nlited setup that is what you stated you were using:

- i use nlite and click to remove evrything.
- use the grubinstaller to make it boot grldr
- copy i386 folder (i also wanna put 64 bit xp on the stick later)
- point menu.lst to \i386\whateverboot.file


jaclaz

#13 Guest_CJ Wijtmans_*

Guest_CJ Wijtmans_*
  • Guests

Posted 29 December 2008 - 04:39 PM

what is a pe built

#14 was_jaclaz

was_jaclaz

    Finder

  • Advanced user
  • 7101 posts
  • Location:Gone in the mist
  •  
    Italy

Posted 02 January 2009 - 03:56 PM

The output of running a PE builder program?

Like Bart's PE builder or Winbuilder + a project like Native_ex or LiveXP?

jaclaz

#15 Guest_CJ Wijtmans_*

Guest_CJ Wijtmans_*
  • Guests

Posted 03 January 2009 - 06:48 AM

i asked for nothing script or program pecific

#16 was_jaclaz

was_jaclaz

    Finder

  • Advanced user
  • 7101 posts
  • Location:Gone in the mist
  •  
    Italy

Posted 03 January 2009 - 12:45 PM

i asked for nothing script or program pecific

NO, you asked what is a PE build, and I told you. :cheers:

You are very welcome to reproduce each of the needed steps by hand, it is perfectly possible, IF you know what you have to do. ;)

Point is that to be able to do that you will have anyway to read and learn a lot and possibly run one of those builders, in order to understand what they do. :cheers:

Or get an old original WinPE v 1.x....

You may want to start reading here:
http://www.nu2.nu/pebuilder/
the Introduction

jaclaz

#17 Guest_CJ Wijtmans_*

Guest_CJ Wijtmans_*
  • Guests

Posted 04 January 2009 - 07:29 AM

thanks jaclaz.

is there any schematic of the boot process using setuploader?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users