gregory.holmes@baesystems.com
07-09-2005, 10:27 PM
Hi there
Searched the groups but could not find out if anyone has experience of
dual booting a hard disk which contains both Windows CE and Windows XP
Embedded images. I would like to boot to either image.
I would be most grateful if someone could advise if this is possible?
Is it just a case of changing the "boot.ini" file?
Many Thanks for your help
Greg Holmes
Brad Combs
07-09-2005, 10:27 PM
Hi Greg,
This is no problem. Your boot.ini should look like this:
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS
[operating systems]
C:\Bootsect.dos="Windows CE"
multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Embedded"
/fastdetect
You should have the first partition C: with the MS-DOS stuff that is needed
to boot (command.com, autoexec.bat, etc...) as well as the boot.ini and
ntldr.
Here is a sample autoexec.bat that will start loadcepc. (Which should also
be on C:)
set NET_IRQ=0
set NET_IOBASE=0
set NET_IP=
if "%CONFIG%" == "CEPC_LOCAL" goto CEPC_LOCAL
if "%CONFIG%" == "CEPC_EBOOT" goto CEPC_ENET
if "%CONFIG%" == "CEPC_SBOOT" goto CEPC_SERIAL
if "%CONFIG%" == "CLEAN" goto CLEAN
:CEPC_LOCAL
REM #################################################################
REM Launch LOADCEPC using a local NK.BIN image.
loadcepc nk.bin
goto END
:CEPC_EBOOT
REM #################################################################
REM Here we actually Launch LOADCEPC using the RES, NET_IOBASE,
REM and NET_IRQ env vars we just set above based on menu
REM selections.
loadcepc /e:%NET_IOBASE%:%NET_IRQ%:%NET_IP% %RES% eboot.bin
goto END
:CEPC_SBOOT
REM #################################################################
REM Launch LOADCEPC on SBoot for a serial port download.
loadcepc sboot.bin
goto END
:CLEAN
:END
Here is an article that explains how to create a bootsect.dos if you don't
have one already. (Look at Step 2)
http://www.bcpl.net/~dbryan/ntfs-dual-boot.html
HTH,
Brad
<gregory.holmes@baesystems.com> wrote in message
news:1119362843.636514.194850@z14g2000cwz.googlegroups.com...
> Hi there
>
> Searched the groups but could not find out if anyone has experience of
> dual booting a hard disk which contains both Windows CE and Windows XP
> Embedded images. I would like to boot to either image.
>
> I would be most grateful if someone could advise if this is possible?
> Is it just a case of changing the "boot.ini" file?
>
> Many Thanks for your help
>
> Greg Holmes
>