D
David
I have a winPE cd that works great, except that I need to be able to
switch cd's once it is loaded.
I've read various posts here and come to the conclusion that booting
the cd using ramdisk and booting a .sdi image is probably the best
approach.
I have a few questions about this process because I haven't been able
to get it to work.
The current cd I have has a directory stucture like:
+---I386
+---FONTS
+---HELP
+---INF
+---MSAGENT
| \---INTL
+---SYSTEM32
| +---CONFIG
| \---DRIVERS
| \---ETC
\---WINSXS
+---MANIFESTS
\---...more directories...
I've seen in a few posts that i386 needs to be renamed to minint,
setupldr.bin renamed to ntldr, and add ntdetect.com
Question: Do I need to really do this in this case?
To create the .sdi file I've followed the steps located at:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnxpesp1/html/ram_sdi.asp
Specifically:
sdimgr /new ramdisk.sdi
sdimgr ramdisk.sdi /readpart:E:
sdimgr ramdisk.sdi /import:BOOT,0,startrom.com
sdimgr ramdisk.sdi /import:LOAD,0,ntldr
sdimgr ramdisk.sdi /pack
sdimgr ramdisk.sdi
In the above case, E: is the cd-rom drive. I've also tried copying the
cd to another .sdi image where I had mounted it using sdiloader, but
same results.
The .sdi file is created just fine with an offset of 4096.
Question: I see in the above MS url about an OEM authored boot program.
Do I need a OEM authored boot program to boot a .sdi image on a cd?
Once the .sdi file is created I create a directory with the following
structure:
\ramdisk.sdi
\ntdetect.com
\ntldr
\boot.ini
boot.ini looks like:
[boot loader]
timeout=30
default=ramdisk(0)\WINDOWS
[operating systems]
ramdisk(0)\windows="XP Embedded RamDisk"
/rdpath=multi(0)disk(0)rdisk(0)partition(1)\ramdisk.sdi
/rdimageoffset=4096
I then create a .iso by running:
OSCDIMG.EXE -n -betfsboot.com sdi sdi.iso
SDI is the directory that contains the sdi file and boot.ini,
ntdetect.com, ntldr.
When I try to boot from this cd I get the following error:
CDBOOT: Couldn't find NTLDR
Any assistance is very appreciated!
switch cd's once it is loaded.
I've read various posts here and come to the conclusion that booting
the cd using ramdisk and booting a .sdi image is probably the best
approach.
I have a few questions about this process because I haven't been able
to get it to work.
The current cd I have has a directory stucture like:
+---I386
+---FONTS
+---HELP
+---INF
+---MSAGENT
| \---INTL
+---SYSTEM32
| +---CONFIG
| \---DRIVERS
| \---ETC
\---WINSXS
+---MANIFESTS
\---...more directories...
I've seen in a few posts that i386 needs to be renamed to minint,
setupldr.bin renamed to ntldr, and add ntdetect.com
Question: Do I need to really do this in this case?
To create the .sdi file I've followed the steps located at:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnxpesp1/html/ram_sdi.asp
Specifically:
sdimgr /new ramdisk.sdi
sdimgr ramdisk.sdi /readpart:E:
sdimgr ramdisk.sdi /import:BOOT,0,startrom.com
sdimgr ramdisk.sdi /import:LOAD,0,ntldr
sdimgr ramdisk.sdi /pack
sdimgr ramdisk.sdi
In the above case, E: is the cd-rom drive. I've also tried copying the
cd to another .sdi image where I had mounted it using sdiloader, but
same results.
The .sdi file is created just fine with an offset of 4096.
Question: I see in the above MS url about an OEM authored boot program.
Do I need a OEM authored boot program to boot a .sdi image on a cd?
Once the .sdi file is created I create a directory with the following
structure:
\ramdisk.sdi
\ntdetect.com
\ntldr
\boot.ini
boot.ini looks like:
[boot loader]
timeout=30
default=ramdisk(0)\WINDOWS
[operating systems]
ramdisk(0)\windows="XP Embedded RamDisk"
/rdpath=multi(0)disk(0)rdisk(0)partition(1)\ramdisk.sdi
/rdimageoffset=4096
I then create a .iso by running:
OSCDIMG.EXE -n -betfsboot.com sdi sdi.iso
SDI is the directory that contains the sdi file and boot.ini,
ntdetect.com, ntldr.
When I try to boot from this cd I get the following error:
CDBOOT: Couldn't find NTLDR
Any assistance is very appreciated!