Odd EWF Problem.

  • Thread starter Thread starter Andrew Toner
  • Start date Start date
A

Andrew Toner

I'm having a problem with EWF which is driving me nuts.

I have a machine that has 2 partitions. Partition 1 is my XP Pro install
and i'm using Parition 2 for my XPe build.

I'm trying to put an EWF overlay on the XPe boot partition (partition 2 on
my disk) and
i keep getting the error "ewfOpen returned invalid file handle" during FBA
(see below)

16:11:16 PM - ConfigureEwf() Start.
16:11:16 PM - Getting EWF config parameters from registry.
16:11:16 PM - Non El Torito disk configuration.
16:11:16 PM - EWF Partition Size = 0 (KBytes), Levels = 1, Volumes = 1.
16:11:17 PM - Protected Volume Config #0 :
16:11:17 PM - Disk= 0,Part= 2,DiskType= IDE,Type= RAM.
16:11:17 PM - Enable= Enabled, Optimize= 0, LazyWrite= N.
16:11:17 PM - Found 1 Hard Disks.
16:11:17 PM - Disk #0 layout info:
16:11:17 PM - PRIMARY partition,start=0x0000000000007e00,
len=0x00000009c3dbd800, type= 7
16:11:17 PM - PRIMARY partition,start=0x00000009c3dc5600,
len=0x000000001f608000, type= 7
16:11:17 PM - FREE partition,start=0x00000009e33cd600,
len=0x0000001b5fd8ac00, type= 0
16:11:17 PM - Allocating EWF in PRIMARY partition,
start=0x00000009e33cd600, len=0x000000000000fc00.
16:11:17 PM - Created EWF partition on Disk = 0, partition = 3,size =
0x000000000000fc00 .
16:11:17 PM - ewfOpen.
16:11:17 PM - ewfOpen returned invalid file handle.
16:11:17 PM - Deleting EWF Partition #3, disk#=0, type=69
16:11:17 PM - ConfigureEwf() End, status = 0x2.

I'm using MinLogon and the Command shell. I've got the Software PnP
enumerator in the build and the OptimalLayout
registry key. What else am i missing?

All ideas welcome.

Cheers

Andrew
 
Hi Andrew,

How many partitions do you have on that disk, and what is their type?

If you are planning to use RAM EWF on this development platforms you should consider configuring it trough registry.

Few useful links:
Use google group for finding all answers on this topic, we have posted enough of them in the past.
http://groups.google.com/groups?hl=...F-8&group=microsoft.public.windowsxp.embedded

How to configure RAM EWF trough registry only. (Problem that you have is obsolete trough this method).
http://www.xpefiles.com/a_file.cfm?custid=Components&fileid=ramewf.zip&groupName=Other

To see any XPe partition as C:
http://msdn.microsoft.com/embedded/community/tips/xp/rtpartin/default.aspx

Read this as well:
http://msdn.microsoft.com/embedded/community/tips/xp/


Regards,
Slobodan
 
Back
Top