Problem with EWF volume on CF

G

Guest

I have read every article on this (honest) but I am still stuck. My target has no hard disk, just a 256Mb CF card. The FBAlog reports that 'ewfOpen returned invalid file handle'. Here are the steps I took
1. Boot device from Win98 diskette
2. Use fdisk to create a 220Mb partition (leaving unpartitioned space for the EWF volume) and make partition activ
3. Reboot device from diskette and then format CF volume (FAT16)
4. Run 'bootprep /dC'
5. Switch off device, remove CF card and transfer to development PC
6. Copy image built by TD where EWF has the following settings
Maximum Number of Protected Volumes -
Maximum Number of Overlay Levels -
EWF Partition Size in KBytes -
Start EWF Enabled - Unchecke
Enable Lazy Write - Unchecke
Disk Number -
Partition Number -
Disk Type - ID
Overlay Type - RA
Optimization Option - Optimal Performanc

7. Transfer CF card back to device
8. Boot device from CF card and wait for FBA to complete
9. FBA log reports
15:50:29 PM - ConfigureEwf() Start

15:50:30 PM - Getting EWF config parameters from registry

15:50:30 PM - Non El Torito disk configuration

15:50:30 PM - EWF Partition Size = 0 (KBytes), Levels = 1, Volumes = 1

15:50:30 PM - Protected Volume Config #0

15:50:30 PM - Disk= 0,Part= 1,DiskType= IDE,Type= RAM

15:50:30 PM - Enable= Disabled, Optimize= 0, LazyWrite= N

15:50:31 PM - Found 1 Hard Disks

15:50:31 PM - Disk #0 layout info

15:50:31 PM - PRIMARY partition,start=0x0000000000007e00, len=0x000000000dc78200, type= 6

15:50:31 PM - FREE partition,start=0x000000000dc80000, len=0x00000000017a0000, type= 0

15:50:31 PM - Allocating EWF in PRIMARY partition, start=0x000000000dc80000, len=0x000000000000fc00.

15:50:32 PM - Created EWF partition on Disk = 0, partition = 2,size = 0x000000000000fc00

15:50:32 PM - Saving EWF configuration to registry

15:50:32 PM - Protected Volume ArcName = multi(0)disk(0)rdisk(0)partition(1)

15:50:32 PM - ewfOpen

15:50:32 PM - ewfOpen returned invalid file handle

15:50:32 PM - Deleting EWF Partition #0, disk#=0, type=6

15:50:33 PM - ConfigureEwf() End, status = 0x2
 
B

Brad Combs

CP,

Follow Slobodan Brcin's Registry based Ram EWF article on www.xpefiles.com.

http://www.xpefiles.com/a_file.cfm?custid=Components&fileid=ramewf.zip&groupName=Other

Beware the wrap!

HTH,
--
Brad Combs
Imago Technologies, LLC

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Have an opinion on the effectiveness of Microsoft Embedded newsgroups? Tell
Microsoft!
https://www.windowsembeddedeval.com/community/newsgroups
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CP said:
I have read every article on this (honest) but I am still stuck. My target
has no hard disk, just a 256Mb CF card. The FBAlog reports that 'ewfOpen
returned invalid file handle'. Here are the steps I took:
1. Boot device from Win98 diskette.
2. Use fdisk to create a 220Mb partition (leaving unpartitioned space for
the EWF volume) and make partition active
3. Reboot device from diskette and then format CF volume (FAT16).
4. Run 'bootprep /dC'
5. Switch off device, remove CF card and transfer to development PC.
6. Copy image built by TD where EWF has the following settings -
Maximum Number of Protected Volumes - 1
Maximum Number of Overlay Levels - 1
EWF Partition Size in KBytes - 0
Start EWF Enabled - Unchecked
Enable Lazy Write - Unchecked
Disk Number - 0
Partition Number - 1
Disk Type - IDE
Overlay Type - RAM
Optimization Option - Optimal Performance

7. Transfer CF card back to device.
8. Boot device from CF card and wait for FBA to complete.
9. FBA log reports:
15:50:29 PM - ConfigureEwf() Start.

15:50:30 PM - Getting EWF config parameters from registry.

15:50:30 PM - Non El Torito disk configuration.

15:50:30 PM - EWF Partition Size = 0 (KBytes), Levels = 1, Volumes = 1.

15:50:30 PM - Protected Volume Config #0 :

15:50:30 PM - Disk= 0,Part= 1,DiskType= IDE,Type= RAM.

15:50:30 PM - Enable= Disabled, Optimize= 0, LazyWrite= N.

15:50:31 PM - Found 1 Hard Disks.

15:50:31 PM - Disk #0 layout info:

15:50:31 PM - PRIMARY partition,start=0x0000000000007e00,
len=0x000000000dc78200, type= 6
15:50:31 PM - FREE partition,start=0x000000000dc80000,
len=0x00000000017a0000, type= 0
15:50:31 PM - Allocating EWF in PRIMARY partition,
start=0x000000000dc80000, len=0x000000000000fc00.
 
C

Cato Svellingen

Hi,

about using Slobodans component.

the Doc. says that one should remove Enhanced Write filter and EFW APi.

My Question is: How do I enable the EWF after boot-up, If I do not have
ewfmgr.


Cheers

Cato
 
C

Cato Svellingen

I guess I need the EWF console application still ... while using Slobodan's
component . "EWFRAM"

Correct ?
 
C

Cato Svellingen

just realised it.

thanks


Brad Combs said:
Cato,

It says remove the Enhanced Write Filter, and the EWF API component. It
doesnt specify to remove the EWF Console Manager Application. So you can
still enable the filter this way.

HTH,
--
Brad Combs
Imago Technologies, LLC

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Have an opinion on the effectiveness of Microsoft Embedded newsgroups? Tell
Microsoft!
https://www.windowsembeddedeval.com/community/newsgroups
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

http://www.xpefiles.com/a_file.cfm?custid=Components&fileid=ramewf.zip&group 2,size
 
B

Brad Combs

Cato,

It says remove the Enhanced Write Filter, and the EWF API component. It
doesnt specify to remove the EWF Console Manager Application. So you can
still enable the filter this way.

HTH,
--
Brad Combs
Imago Technologies, LLC

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Have an opinion on the effectiveness of Microsoft Embedded newsgroups? Tell
Microsoft!
https://www.windowsembeddedeval.com/community/newsgroups
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 

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