Make your own NT OS Loader (NTLDR+SetupLDR)!

Discussions about *nix and Other Operating Systems should go in this forum.
Post Reply
Kenneth
Donator
Posts: 2407
Joined: Sun May 13, 2007 12:42 am

Make your own NT OS Loader (NTLDR+SetupLDR)!

Post by Kenneth »

This is what you need to do:
1. Extract Setupldr.exe/osloader.exe from XP or W2k3 Source.
2. Customise the setupldr.exe/osloader.exe to your liking. (Resource Editing)
3. When done you need to type this in a cmd prompt window.

Code: Select all

copy /b stpboot.bin+setupldr.exe setupldr.bin
or

Code: Select all

copy /b stpboot.bin+osloader.exe ntldr
4. Use it in your ISO/OS!
StpBoot.bin can be found here: http://aeroxp.boot-land.net/SetupBoot/StpBoot.bin

jimmsta
Donator
Posts: 823
Joined: Sat Sep 09, 2006 6:43 am
Contact:

Post by jimmsta »

Where did StpBoot.bin come from? Is it from Microsoft, or is it some sort of native NT executable to launch the composed file in textmode? I'll give this a try in a Virtual Machine. I can think of a few uses it may help out with.

Kenneth
Donator
Posts: 2407
Joined: Sun May 13, 2007 12:42 am

Post by Kenneth »

StpBoot is the code before the MZ header. In other words it came from MS.

QuiescentWonder
Donator
Posts: 2365
Joined: Fri Jun 13, 2008 10:22 am

Post by QuiescentWonder »

What exactly is customizable?

Kenneth
Donator
Posts: 2407
Joined: Sun May 13, 2007 12:42 am

Post by Kenneth »

Strings.

Gamma
User avatar
Posts: 550
Joined: Wed Aug 06, 2008 7:31 pm
Location: Earth

Post by Gamma »

You said 2k and XP. What about Vista? It's still NT. But it's NT6 and not NT5 or NT5.1. I'm just wondering.
Instagram: samxthomas
Flickr: https://www.flic.kr/lucemsequimur

Rob Jansen
User avatar
Donator
Posts: 5271
Joined: Sat May 12, 2007 1:05 pm
Location: The Collection Book
Contact:

Post by Rob Jansen »

Vista is no longer using the NTLDR.
Thats why.

Kenneth
Donator
Posts: 2407
Joined: Sun May 13, 2007 12:42 am

Post by Kenneth »

You said 2k and XP.
It's for Windows XP and Server 2003 (all SP Levels)

Daniel1981
Donator
Posts: 411
Joined: Tue Jun 17, 2008 10:09 am

Post by Daniel1981 »

How exactly Am I extracting the files??

Kenneth
Donator
Posts: 2407
Joined: Sun May 13, 2007 12:42 am

Post by Kenneth »

Your setup CD-ROM

WinPC

Post by WinPC »

I'm sorry, but the link is broken. If it's a file, could you please reupload it?

EDIT: I tried accessing the "SetupBoot" directory instead of directly downloading the file and was actually able to access the file from the directory rather than directly from the link.

Here's the link to the directory:
http://aeroxp.boot-land.net/SetupBoot/

os2fan2
User avatar
Donator
Posts: 1394
Joined: Sun Dec 30, 2007 8:12 am
Location: Brisbane, Queensland
Contact:

Post by os2fan2 »


squidward_
User avatar
Posts: 570
Joined: Thu Feb 07, 2008 1:35 pm
Location: United Kingdom
Contact:

Post by squidward_ »

Couldn't I use a hex editor to edit the boot message text like the boot/advanced boot options menu in files like ntldr or bootmgr?
Image

squidward_
User avatar
Posts: 570
Joined: Thu Feb 07, 2008 1:35 pm
Location: United Kingdom
Contact:

Post by squidward_ »

Couldn't I use a hex editor to edit the boot message text like the boot/advanced boot options menu in files like ntldr or bootmgr?
Image

Kenneth
Donator
Posts: 2407
Joined: Sun May 13, 2007 12:42 am

Post by Kenneth »

This allows you to add longer strings than what's already there.

Gamma
User avatar
Posts: 550
Joined: Wed Aug 06, 2008 7:31 pm
Location: Earth

Re:

Post by Gamma »

Rob Jansen wrote:Vista is no longer using the NTLDR.
Thats why.
That's funny. Right now I'm running 7, and one time, it said, NTLDR missing, press Ctrl+Alt+Delete to restart.
Instagram: samxthomas
Flickr: https://www.flic.kr/lucemsequimur

Panda X
User avatar
Donator
Posts: 926
Joined: Wed Oct 11, 2006 3:17 am

Re: Re:

Post by Panda X »

gammainfection wrote:
Rob Jansen wrote:Vista is no longer using the NTLDR.
Thats why.
That's funny. Right now I'm running 7, and one time, it said, NTLDR missing, press Ctrl+Alt+Delete to restart.
7 doesn't use NTLDR neither does Vista. End of. They use BOOTMGR.

soulman
User avatar
Donator
Posts: 2239
Joined: Tue Dec 15, 2009 8:56 pm
Contact:

Re: Make your own NT OS Loader (NTLDR+SetupLDR)!

Post by soulman »

Can you do something similar with Vista/7/2008 Server's bootmgr? Longhorn alpaha's used NTLDR, I wonder what happened to NTLDR...
Image

betascollector
Donator
Posts: 1071
Joined: Tue Jul 07, 2009 4:06 am
Location: C:\WINDOWS\System32

Re: Make your own NT OS Loader (NTLDR+SetupLDR)!

Post by betascollector »

where is osloader.exe? i cannot find it

os2fan2
User avatar
Donator
Posts: 1394
Joined: Sun Dec 30, 2007 8:12 am
Location: Brisbane, Queensland
Contact:

Re: Make your own NT OS Loader (NTLDR+SetupLDR)!

Post by os2fan2 »

when ye divide up ntldr, ye get a 16-bit boot strap size 20090 bytes, and the balance is a 32 bit code hight "os2loader".

Code: Select all

copy ntldr ntloader.com
copy ntldr osloader.exe
copy setupldr.bin setupldr.exe
Load these into a hexeditor, and search for the ascii "MZ". For the first, delete MZ and everything after it, and save. For the second and third, delete everything before, but not including MZ, and save.

Post Reply