Boot WinPE 1.x into RAM from ISO or WIM with bootmgr
Posted 25 October 2010 - 09:24 PM
I have created a Win PE (based on Windows XP SP1) ISO and booted it successfully from a UFD into RAM using bootmgr.
To do this copy the ISO-File, bootmgr, ntdetect.com, ntldr (renamed setupldr.bin from Win PE) and winnt.sif in the root of the UFD and create a BCD with a legacy entry.
The winnt.sif looks like this:
OsLoadOptions="/fastdetect /minint /rdexportascd /rdpath=test.iso"
Because the size of that ISO-File is more than double than the size of a WIM-File, I tried booting into RAM using WIM-Technology (made WIM from ISO) using bootmgr (legacy entry) again.
When I boot from the UFD, booting stops with the following error: INF file txtsetup.sif is corrupt or missing, status 2.
The winnt.sif looks like this:
OsLoadOptions="/fastdetect /minint /usenewloader /rdpath=\sources\boot.wim"
Has anyone an idea where the problem is?
Posted 25 October 2010 - 10:35 PM
Seems you are not using Winbuilder?
Winbuilder + LiveXP project with WimBoot will create WINNT.SIF like this:
[SetupData] BootDevice="ramdisk(0)" BootPath="\i386\System32\" OsLoadOptions="/fastdetect /minint /rdimageoffset=8192 /rdimagelength=3161088 /rdpath=images\LiveXP.wim" [wimain] systrim=1
Try it but if i correctly understand the "WimBoot way" it need some patched files to work...
Edited by Rui Paz, 25 October 2010 - 10:36 PM.
Posted 26 October 2010 - 07:37 AM
Are you using \I386 or \minint paths?
Are you using a "standard" SETUPLDR.BIN?
I tried it with \i386 and \minint
I tried it with "standard" SETUPLDR.BIN and the patched one from Nikzzzz. Found here: http://sanbarrow.com...opic.php?t=1694
I found this in web:
But I didn't get it to work.
Posted 26 October 2010 - 08:38 AM
A CD-like device works with \I386, a partition-like uses \minint.
Try using the SAME SETUPLDR.BIN you used successfully for the .iso and modify it as per given thread (and keep the \I386 structure) OR use the SAME SETUPLDR.BIN you used successfully for the .iso and change the structure to \minint.
The references you posted have NO or very little relations with what you are attempting, they are a mix of things that shouldn't be really mixed.
The post by SEAKZ (as stated on the thread) is NOT understandable (to me at least) and is anyway related to a "full" Windows XP (and NOT a PE) .
The Nikzz modified files are for DIRECT booting a "full" XP (and NOT a PE) from .wim.
Just FORGET ANY attempt you made and create a working PE booting from .wim (LiveXP has such an option).
Boot it "normally" (i.e. WITHOUT using BOOTMGR or adding to it an entry to grub4dos grldr.mbr to BOOTMGR and from grub4dos boot the Live XP):
Once you get that working, start your experiments again.
Posted 26 October 2010 - 08:53 PM
I have been seraching now for a while for a solution and tried a lot. I think I get the error from post 1 (" INF file txtsetup.sif is corrupt or missing, status 2.") because setupldr is NOT able to load a WIM-Image into RAM. Setupldr can only load ISO-Images into RAM ...
Any other suggestions?
Posted 26 October 2010 - 08:59 PM
Posted 26 October 2010 - 10:11 PM
Setupldr.bin can load any file to RAM. But can mount some file systems only.
setupldr is NOT able to load a WIM-Image into RAM. Setupldr can only load ISO-Images into RAM ...
A default setupldr.bin can't mount a WIM-Image.
A edited setupldr.bin may mount a WIM-Image.
Booting such a image is another question.
Read Rui Paz's recommendation.
Posted 30 October 2010 - 03:44 PM
I did study WinBuilder and especially the Wimboot.script and adopted my PE 1.x (patched drivers, etc.). I can start my PE 1.x with WIM now but after loading I get the following BSOD-error:
Technical information: *** STOP: 0x0000006B (0xC000003A,0x00000002,0x00000000,0x00000000).
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users