Deploying to Compact Flash

J

JGraf

I have built a target XPe image on my target hardware with a 40GB
harddrive. The embedded tools on C: the XPe image with EWF on D:,
which I have partitioned at 400MB. I want to have the user application
reside on C: and the XPe image with my supporting applications reside
on D: which is protected with the EWF. I go through FBA on the IDE and
XPe boots to my second partition and the EWF RAM is enabled for D:
(2nd partition).

Now the problem, I have a Sandisk 512MB CF that I have marked
non-removable. I make the first partition 88MB and the second
partition 400MB (this is marked active) and both formatted NTFS. Not
sure why only 488MB is shown as available on the 512MB Sandisk...but
that is another question. I then copy my image from target designer to
the 400MB partition, basically so I can run FBA again on the flash
which should basically reproduce everything I've successfully done on
the IDE.

On boot of the CF I get the "Windows could not start because of the
following file is missing or corrupt:" <Windows
root>\system32\ntoskrnl.exe

My target image was built without the CF connected. Then I connected
it as a Primary Slave and formatted 2 partitions NTFS and made the 2nd
partition active.
I have no files in the first partition. I'm using the disk management
utility in Windows 2000 to partition/format the CF. My problem is that
if I run Fdisk it sees the 400MB active partition as C: and I want
that to be D:, my second partition.

Question:
What tool can I use or I should I go about partitioning the CF with a
88MB partition as the first and a 400MB active second partition as D:
? I would like these both to be NTFS.

Thanks for any help.
 
J

Johannes Stratmann

Have you also set drive D: in the Target settings ?
Another problem be the physical geometrie of the disk. I use also CF and
connect it directly to the IDE (there a special adapters for this or we use
a CPU with CF adapter). The setting in the Bios is LBA. Then I delete the
existing FAT partition. Then reboot the machine. This step is important so
that windows will use correct drive geometrie. Then you can use standard
tools for creating the partitions. I found also that W2k disk manager uses 1
sector less so the not all the space is used. Better is PowerQuests
PartiotionMagic.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top