Page 1 of 2
Hiren's MiniXP
Posted: 30 Mar 2012, 05:25
by w4rh0und
Hi
I have tried the how to on the Hiren's MiniXP but i have some questions:
- Open ntldr in an HEX editor (HxD for example) replace 'winnt' with 'win\h' (9 times - CASE SENSITIVE!)
Does the line above means that the case sensitive options must be enabled or disabled?
I have used ntldr and startrom.0 from a windows 2003 sp2. In any case using the case sensitive disabled option in Hex editor it only finds 4 places to replace winnt to win\h not 9 times
Is windows 2003 sp2 cd ok or i need sp1 cd?
Re: Hiren's MiniXP
Posted: 30 Mar 2012, 13:32
by RaveMaker
Hello
"9 times - CASE SENSITIVE!" means:
where ever you have "WINNT" replace with "WIN\H"
where ever you have "winnt" replace with "win\h"
There supposed to be 9 places to replace "winnt", not all of them are critical for operations.
Replace what ever you can find in the file and check if it works.
Thanx for your support
Admin
ERPXE
Re: Hiren's MiniXP
Posted: 30 Mar 2012, 14:36
by w4rh0und
Thank you for the quick reply and that you clarified it for me
. I will try it out today.
Re: Hiren's MiniXP
Posted: 07 Apr 2012, 02:19
by w4rh0und
I am going insane over this, but i don't have it as you do and it drives me crazy:
I have downloaded: WindowsServer2003-KB889101-SP1-x86-ENU.exe from
http://www.microsoft.com/download/en/de ... x?id=11435
Opened with 7zip and extracted: ntldr, ntdetect.com, startrom.co_ there is only one ntldr in i386 so can't be that
I have opened ntldr in HxD hex editor v 1.7.7.0
I go to search->replace and select at:
search for: winnt
replace with: win\h
Data Type: text string
If i check "Case sensitive" it only finds 1 value. If i don't check it it finds 4 values.
I have checked this addresses:
at: 254E6, 254F2, 255C2, 2563E, 257FE, 2580A, 3C7AB, 3C7Cf, 3C7F2
If i go for example at "select block" 254E6 i have a letter "P" there not winnt
The first winnt i get starts at 0003FA86 WINNT.SIF
The forth and last i get at 004171F it is a C:\windows\.C:\winnt. stryng on the right
On startcom.com i do the same as above:
search for: winnt
replace with: win\h
Data Type: text string
If i don't check "Case sensitive" it finds:
NTLDR is corrupt starting at 00005467 should i change this to win\h or WIN\H ?
NTLDR is corrupt starting at 00005492 should i change this to win\h or WIN\H ?
NTLDR at 5F9B should i change this to win\h or WIN\H ?
If i check "Case sensitive" on the replace window it finds nothing.
I don't understand what am i doing wrong why i cannot find exactly what you mentioned. Is there an aditional step or something to check on HxD?
It has driven me crazy for the past few days. Please let me know how i could fix or what can fix.
I would really appreciate your help.
Re: Hiren's MiniXP
Posted: 07 Apr 2012, 18:10
by RaveMaker
There was a mistake in the article - it took me a while to find it.
The ntldr you have copied is not the correct ntldr.
http://erpxe.org/index.php/Hiren%27s_Mi ... in_PE_1.0)
Re: Hiren's MiniXP
Posted: 09 Apr 2012, 17:41
by w4rh0und
Thanks for clearing that out for me ... i was close into thinking i am going crazy with the ntldr file
I have tried it out.
I have copied startrom.n1_ , ntdetect.com , setupldr.ex_ to /tftpboot
expanded startrom.n1_ startrom.0
setupldr.ex_ h
Completed everything step by step
But when it boots, it is loading the image and then i get the following message:
INF file txtsetup.tif is corrupt or missing, status 18
Setup cannot continue, press any key to exit
Re: Hiren's MiniXP
Posted: 09 Apr 2012, 19:39
by RaveMaker
Are you trying to boot the ISO or SDI version of Hiren's Mini XP?
In /tftpboot/win/ you should have:
h.sif
h.sdi.sif
Re: Hiren's MiniXP
Posted: 10 Apr 2012, 10:04
by w4rh0und
I have both in /tftpboot/win:
h.sif
[SetupData]
BootDevice = "ramdisk(0)"
BootPath = "\i386\System32\"
OsLoadOptions = "/noguiboot /fastdetect /minint /rdexportascd /rdpath=er\plugins\hirensminixp\hirensminixp.iso"
h.sdi.sif
[SetupData]
BootDevice = "ramdisk(0)"
BootPath = "\i386\System32\"
OsLoadOptions = "/noguiboot /fastdetect /minint /rdimageoffset=36352 /rdpath=er\plugins\hirensminixp\hirensminixp.sdi"
I am using hirenminixp.iso in /tftpboot/er/plugins/hirensminixp/
Re: Hiren's MiniXP
Posted: 10 Apr 2012, 16:36
by RaveMaker
OsLoadOptions = "/noguiboot /fastdetect /minint /rdexportascd /rdpath=er\plugins\hirensminixp\hirensminixp.iso"
I am using hirenminixp.iso in /tftpboot/er/plugins/hirensminixp/
First of all your have a letter missing in the ISO file name:
"hirenminixp.iso" should be "hirensminixp.iso"
I'll assume it is only a post typo.
I have created a new Hiren's Mini XP ISO following the article to the letter and it works.
Try loading Windows Recovery Console ISO instead of Hiren's Mini XP ISO:
If it will boot correctly then you have not created a correct Hiren's ISO - recreate it using the article.
If it will give you an error again then your boot files are not correct.
You can also send me your h,startrom.0 files to my E-Mail so I will check if they work with my ISO file.
Re: Hiren's MiniXP
Posted: 22 Jan 2016, 16:05
by leej23
hi could anyone help me get this working i followed the instructions on the erpxe wiki.
i extracted the files from WindowsServer2003-KB889101-SP1-x86-ENU
Copy startrom.n1_ , ntdetect.com , setupldr.ex_ to /tftpboot from the Windows Server 2003 SP1 - i386 folder.
- Expand startrom.n1_ startrom.0
i expaned these files with cmd on windows pc and recopied them to /tftpboot/er/plugins/hirensminixp/
- Open startrom.0 in an HEX editor (HxD for example)
- Replace 'ntldr' with 'win\h' at: 5A57,5A82,5F8B, (3 times - CASE SENSITIVE!)
- Move startrom.0 to /tftpboot/er/plugins/hirensminixp/
- Expand setupldr.ex_ h
- Open h in an HEX editor (HxD for example)
- Replace 'winnt.sif' with 'win\h.sif' at: 254E6, 254F2, 255C2, 2563E, 257FE, 2580A, 3C7AB, 3C7Cf, 3C7F2 (9 times - CASE SENSITIVE!)
( i read this page about the case sensitive ones so managed to change all 9)
- Move h to /tftpboot/win/
then followed the instructions for the iso
Extract it to a temporary folder (We assume C:\Temp).
- Delete HBCD\Dos folder in order to save space.
- Delete HBCD\Boot folder in order to save space.
- Extract HBCD\XP\XP.wim (using 7zip) to C:\Temp
- Delete files XP.wim, X, XP.BIN in HBCD\XP folder in order to save space.
- Open Hiren's Boot CD ISO file (using PowerISO or something similar) and delete all files from it. (Do not close PowerISO with Hiren's Image!)
- Add all files from C:\Temp to PowerISO Console and save as hirensminixp.iso (we do that in order to save the boot information from the original ISO)
- Move hirensminixp.iso to /tftpboot/er/plugins/hirensminixp/
So my files go like this excluding the erpxe files.
\tftpboot
startrom.n1_
setupldr.ex_
ntdetect.com
\tftpboot\win
h
/tftpboot/er/plugins/hirensminixp
filelist.txt
hirensminixp.iso
hirensminixp.menu
startrom.0
boot when it starts to load i get TFTP download failed, but i know tftp works as it boot the erpxe and loads gparted fine.
is there anything i have missed or need to do.
thanks