Jump to content











Photo
- - - - -

winnt.sif OsLoadOptions


  • Please log in to reply
7 replies to this topic

#1 yahoouk

yahoouk

    Silver Member

  • .script developer
  • 518 posts

Posted 05 September 2007 - 04:51 PM

Hi Jaclaz & all,

I think you are suitable person to ask this question to you and thanks in advance.
I want to boot multi iso files with winnt.sif.
But I have no idea to extend OsLoadOptions to select specific iso.
For example, I have 3 iso files(xp1.iso, xp2.iso, xp3.iso) in root to boot with ntldr(setupldr of 2003).
In winnt.sif file ....................
OsLoadOptions = "/noguiboot /fastdetect /minint /rdexportascd /rdpath=xp.iso"

I want to extend this line to ................. /rdpath=1,2,3
1=xp1.iso
2=xp2.iso
3=xp3.iso
Thus I can select one of them to boot.
Do you have any idea or guide for this?

I've tried to edit to ntldr with WinHex replaced with renamed winnt.sif for instance, wi1nt.sif, wi2nt.sif and then I changed name ntldr to nt1dr, nt2dr and then I wrote wi1nt.sif, wi2nt.sif.
When booting, setup said ntldr corrupted and stopped.
That's why, I want to change to "OsLoadOptions".

To all members, thanks for any idea.

Regards,

yahooUK

#2 DaemonForce

DaemonForce

    Frequent Member

  • Advanced user
  • 119 posts
  • Location:SEA
  • Interests:[=D=] is online when I am.<br /><br />DaemonPE is 18% complete!<br />Latest ISO manufactured 25/09/2007
  •  
    United States

Posted 05 September 2007 - 08:28 PM

This project requires hex editing of setupldr.bin and re-refrencing entries to their own xxxxx.sif files. I've done this before. It's actually quite easy. :loleverybody:

#3 yahoouk

yahoouk

    Silver Member

  • .script developer
  • 518 posts

Posted 05 September 2007 - 09:10 PM

This project requires hex editing of setupldr.bin and re-refrencing entries to their own xxxxx.sif files. I've done this before. It's actually quite easy. :loleverybody:


First, thanks for your reply.

I've tried to edit to ntldr with WinHex replaced with renamed winnt.sif for instance, wi1nt.sif, wi2nt.sif and then I changed name ntldr to nt1dr, nt2dr and then I wrote wi1nt.sif, wi2nt.sif.
When booting, setup said ntldr corrupted and stopped.


you'll have noted above.
I've already tested what you said. ntldr is renamed from setupldr.bin(server2003).
I got ntldr corrupted error and stopped.
Can you tell me what is your project, pls? and tell me details what you did, if I mis-understand what you mean.
My project is that Multi Booting from USB Flash using Grub4DOS.
1. MSdos.
2. LiveXP (iso)
3. VistaPE
4. ERD2007 (iso)
5. BartPE (iso)
6. NativeXP(iso)
7. LiveXP-cmd(iso)
8. TrueImageEnt 9.1
9. Disk Director 10
10. Slax 6
11. Puppy Linux..... some linux and memtest.

Now I am using DOS to edit winnit.sif file to change any iso file but I am not happy about it.
Thanks for your message.

Regards,

yahooUK

#4 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 05 September 2007 - 09:37 PM

I've already tested what you said. ntldr is renamed from setupldr.bin(server2003).
I got ntldr corrupted error and stopped.

The setupldr.bin from the original w2k3 was just like the XP one unprotected. The one that came with the servicepack has a checksum, if i remember right.
But somewhere on the 911 forum was a hack posted.

:loleverybody:

#5 DaemonForce

DaemonForce

    Frequent Member

  • Advanced user
  • 119 posts
  • Location:SEA
  • Interests:[=D=] is online when I am.<br /><br />DaemonPE is 18% complete!<br />Latest ISO manufactured 25/09/2007
  •  
    United States

Posted 06 September 2007 - 02:04 AM

The infamous "self-check block" is a switch inside of setupldr.bin that probably calls files based on the IA64 architecture when it can't find the I386 structure. At address 0x2060 in SETUPLDR you will notice a value 74 03. That needs to be fixed to read EB 1A.

#6 was_jaclaz

was_jaclaz

    Finder

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

Posted 06 September 2007 - 05:26 AM

The checksum is operative starting with SETUPLDR.BIN in Server 2003 SP1.

Here is the relevant thread on MSFN:
http://www.msfn.org/...opic=58410&st=0

Here is a (very old) thread by the truth explaining a similar method (at the time for CD's):
http://www.911cd.net...?showtopic=3352

jaclaz

#7 yahoouk

yahoouk

    Silver Member

  • .script developer
  • 518 posts

Posted 06 September 2007 - 09:24 AM

Hi MedEvil,

Sorry for my late reply, now at work and I'll test tonight. Thanks for your point-out.

Hi DaemonForce,

Thanks for your reply. I'll try it tonight.

Hi Jaclaz,

Thanks for your nice point, I read it long time ago but shamely I forgot it.
I'll try it tonight.

Many thanks for all helps.

Regards.

yahooUK

#8 yahoouk

yahoouk

    Silver Member

  • .script developer
  • 518 posts

Posted 07 September 2007 - 06:48 PM

Hi all,

After doing, it is now loading well but always got a blue screen (only LiveXP), erd2007 is pretily working.

The thing I use iso files is that they can be boot in any where, even they are in HDD, CD, USB, no need to put it root.

Another thing I use MSdos is that it can be swabbed loader directly with grub, and vice versa.

I'll try to be correct LiveXP.

Thanks to all again.

Regards,

yahooUK




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users