Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Boot image on FlashDisk

1,308 views
Skip to first unread message

mstangret

unread,
May 5, 2009, 6:46:24 AM5/5/09
to
Hi,
is it possible to make boot image on USB Flash Disk instead od
FloppyDisk?

--
Michal Stangret

tren...@hotmail.co.uk

unread,
May 5, 2009, 7:42:46 AM5/5/09
to

Yes it is!
Make the USB key bootable using the HP tool: http://files.extremeoverclocking.com/file.php?f=197
and DOS files. Then load your image files on the USB flash disk.
Make sure you change the BIOS to boot from the USB flash too (should
be USB-HDD in the BIOS, or similar).

Hope that takes care of it.

mstangret

unread,
May 5, 2009, 10:42:37 AM5/5/09
to

Which files are "my image files"? nk.bin?

tren...@hotmail.co.uk

unread,
May 6, 2009, 5:36:06 AM5/6/09
to

Your bootloader (e.g. loadcepc) and nk.bin are your image files.
You'll also have to edit the autoexec.bat file to launch loadcepc
(which in turn loads the image itself)
So in summary the order is:
1. Make the CF card bootable with HP tools
2. Copy the bootloader and image to the card and create an
autoexec.bat file if you don't already have one.
3. Edit autoexec.bat to launch your bootloader
(e.g
cls
@loadcepc /c:0 nk.bin
) or whatever suits your system.
4. Your bootloader loads the image into RAM, decompresses etc.and the
system runs (assuming image is good)

mstangret

unread,
May 9, 2009, 10:50:02 AM5/9/09
to
> Your bootloader (e.g. loadcepc) and nk.bin are your image files.
> You'll also have to edit the autoexec.bat file to launch loadcepc
> (which in turn loads the image itself)
> So in summary the order is:
> 1. Make the CF card bootable with HP tools
> 2. Copy the bootloader and image to the card and create an
> autoexec.bat file if you don't already have one.
> 3. Edit autoexec.bat to launch yor bootloader

> (e.g
> cls
> @loadcepc /c:0 nk.bin
> ) or whatever suits your system.
> 4. Your bootloader loads the image into RAM, decompresses etc.and the
> system runs (assuming image is good)

I see that I have to be more accurate in what I write.
Let's start from the beggining.
I would like to boot Windows Embedded CE 6.0 on my x86 PC computer,
that has two other OS installed. I would like to use USB-stick as a
bootsource - is this combination possible?

I tried your method and the one that can be found at
http://msdn.microsoft.com/en-us/library/aa912864.aspx and I still
can't boot WINCE.
When I do it like you said, I can see progress bar in text mode and
then black screen comes and nothing happenes. When I try mdsn
sollution dpart does't recognize my USB-stick as a drive although I
have made it recognizable as a HP hard-drive ( I don't want to clean
my hard-drive as I have two OSes installed there).

Is there any chance for me?

I need WINCE to do some performance tests and compare them with other
systems' results for my Uni project.

mstangret

unread,
May 9, 2009, 10:53:44 AM5/9/09
to
>[...]
>When I try mdsn
> sollution dpart does't recognize my USB-stick [...]

I meant fdisk.

tren...@hotmail.co.uk

unread,
May 11, 2009, 4:59:45 AM5/11/09
to
On May 9, 3:50 pm, mstangret <michal.stang...@gmail.com> wrote:
> > Your bootloader (e.g. loadcepc) and nk.bin are your image files.
> > You'll also have to edit the autoexec.bat file to launch loadcepc
> > (which in turn loads the image itself)
> > So in summary the order is:
> > 1. Make the CF card bootable with HP tools
> > 2. Copy the bootloader and image to the card and create an
> > autoexec.bat file if you don't already have one.
> > 3. Edit autoexec.bat to launch yor bootloader
> > (e.g
> > cls
> > @loadcepc /c:0 nk.bin
> > ) or whatever suits your system.
> > 4. Your bootloader loads the image into RAM, decompresses etc.and the
> > system runs (assuming image is good)
>
> I see that I have to be more accurate in what I write.
> Let's start from the beggining.
>  I would like to boot Windows Embedded CE 6.0 on my x86 PC computer,
> that has two other OS installed.  I would like to use USB-stick as a
> bootsource - is this combination possible?
>
> I tried your method and the one that can be found athttp://msdn.microsoft.com/en-us/library/aa912864.aspxand I still

> can't boot WINCE.
> When I do it like you said, I can see progress bar in text mode and
> then black screen comes and nothing happenes. When I try mdsn
> sollution dpart does't recognize my USB-stick as a drive although I
> have made it recognizable as a HP hard-drive ( I don't want to clean
> my hard-drive as I have two OSes installed there).
>
> Is there any chance for me?
>
> I need WINCE to do some performance tests and compare them with other
> systems' results for my Uni project.

Hi Michal,

The extra details certainly help and I think it changes the answer
quite a bit, but I am no expert.
If you are trying to boot WinCE 6.0 on a PC (I have only ever used Win
CE 5.0, but I don't think that matters) you will have to ensure that
the image you have built supports your hardware. Have you got a BSP
for your PC? You could run CE in an emulator on the PC but if you want
to boot it from a USB key directly I think you will have to build an
image for the specific hardware. As I understand it you normally
obtain a BSP from your hardware manufacturer which will support the
given hardware. Where did you obtain the image you have now? Maybe
someone else can help with booting a more generic image for x86 that
will support basic graphics etc.

mstangret

unread,
May 11, 2009, 6:37:34 PM5/11/09
to
On 11 Maj, 10:59, trentp...@hotmail.co.uk wrote:
> On May 9, 3:50 pm, mstangret <michal.stang...@gmail.com> wrote:
>
>
>
> > > Your bootloader (e.g. loadcepc) and nk.bin are your image files.
> > > You'll also have to edit the autoexec.bat file to launch loadcepc
> > > (which in turn loads the image itself)
> > > So in summary the order is:
> > > 1. Make the CF card bootable with HP tools
> > > 2. Copy the bootloader and image to the card and create an
> > > autoexec.bat file if you don't already have one.
> > > 3. Edit autoexec.bat to launch yor bootloader
> > > (e.g
> > > cls
> > > @loadcepc /c:0 nk.bin
> > > ) or whatever suits your system.
> > > 4. Your bootloader loads the image into RAM, decompresses etc.and the
> > > system runs (assuming image is good)
>
> > I see that I have to be more accurate in what I write.
> > Let's start from the beggining.
> >  I would like to boot Windows Embedded CE 6.0 on my x86 PC computer,
> > that has two other OS installed.  I would like to use USB-stick as a
> > bootsource - is this combination possible?
>
> > I tried your method and the one that can be found athttp://msdn.microsoft.com/en-us/library/aa912864.aspxandI still

> > can't boot WINCE.
> > When I do it like you said, I can see progress bar in text mode and
> > then black screen comes and nothing happenes. When I try mdsn
> > sollution dpart does't recognize my USB-stick as a drive although I
> > have made it recognizable as a HP hard-drive ( I don't want to clean
> > my hard-drive as I have two OSes installed there).
>
> > Is there any chance for me?
>
> > I need WINCE to do some performance tests and compare them with other
> > systems' results for my Uni project.
>
> Hi Michal,
>
> The extra details certainly help and I think it changes the answer
> quite a bit, but I am no expert.
> If you are trying to boot WinCE 6.0 on a PC (I have only ever used Win
> CE 5.0, but I don't think that matters) you will have to ensure that
> the image you have built supports your hardware. Have you got a BSP
> for your PC? You could run CE in an emulator on the PC but if you want
> to boot it from a USB key directly I think you will have to build an
> image for the specific hardware. As I understand it you normally
> obtain a BSP from your hardware manufacturer which will support the
> given hardware. Where did you obtain the image you have now? Maybe
> someone else can help with booting a more generic image for x86 that
> will support basic graphics etc.

Well...
I wrote to Mike Hall from Microsoft and he wrote:
"You will need a BSP for your x86 PC, the CE 6 development tools ship
with a BSP called "CEPC" that may work. The CEPC BSP supports basic
flat VGA video, NE2000 or RTL8139 networking, USB mouse/keyboard. So
it should be fairly straight forward to build an image that should
boot on most PC devices.

There are two boot methods, BIOSLoader, LoadCEPC (MS-DOS based). Both
can load an image from the desktop development tools (boot from
Ethernet), if you are trying to load an image locally without the
debugger connected you will need to disable KITL in the o/s image
settings. KITL will wait for a debugger to connect before loading an
image"

So I did what I was told in previous posts (bootable USB stick +
loadcepc + image on the stick) + disabled KITL and... it booted :)
Great thanks for your patience and time ;)

--
Michal Stangret

tren...@hotmail.co.uk

unread,
May 12, 2009, 7:46:40 AM5/12/09
to

That's good news! Good luck with the rest of your project.

Gavin

unread,
Jun 14, 2009, 12:06:01 PM6/14/09
to
it would be more helpful if you told us where to find the dos files when we
use the HP tool because everyone seems to leave that part out.

Thanks in advance

Gavin

unread,
Jun 14, 2009, 11:50:01 AM6/14/09
to
I have tried the HP formate tool to create my bootable flash drive but can't
find the DOS file to use on my XP Pro

Bruce Eitman [eMVP]

unread,
Jun 14, 2009, 12:38:57 PM6/14/09
to
Well, you probably need to have a DOS install disk. DOS isn't free, but
there are alternatives like FreeDOS.

--
Bruce Eitman (eMVP)
Senior Engineer
Bruce.Eitman AT EuroTech DOT com
My BLOG http://geekswithblogs.net/bruceeitman

EuroTech Inc.
www.EuroTech.com

"Gavin" <Ga...@discussions.microsoft.com> wrote in message
news:C9C0A1D4-1289-412E...@microsoft.com...

Michał Stangret

unread,
Jun 14, 2009, 4:10:54 PM6/14/09
to
Use floppy disk, format it checking "make startup disk" or something
like this (I don't have English version of Windows).
Than point that floppy as a source of DOS files.

Hope it was helpfull.

Regards,
Michal Stangret


On 14 Cze, 17:50, Gavin <Ga...@discussions.microsoft.com> wrote:
> I have tried the HP formate tool to create my bootable flash drive but can't
> find the DOS file to use on my XP Pro
>

Shani

unread,
Aug 21, 2009, 7:09:01 AM8/21/09
to
> There are two boot methods, BIOSLoader, LoadCEPC (MS-DOS based).

I am on the learning curve of understanding WinCE.

I had thought that loadCEPC is the BIOS loader, but it looks like I am
wrong: loadCEPC is NOT the BIOS loader, then could anybody please give some
examples of what are BIOS loaders then?

Thanks
Shani

Bruce Eitman [eMVP]

unread,
Aug 21, 2009, 9:57:54 AM8/21/09
to
If you read the documentation in PB Help for BIOSLoader, it tells you that
it is in Platform\CEPC\Src\Bootloader\Biosloader

--
Bruce Eitman (eMVP)
Senior Engineer
Bruce.Eitman AT EuroTech DOT com
My BLOG http://geekswithblogs.net/bruceeitman

EuroTech Inc.
www.EuroTech.com

"Shani" <Sh...@discussions.microsoft.com> wrote in message
news:DD93460D-89B7-4280...@microsoft.com...

0 new messages