Image will not boot when deployed to CF

H

Henrik Roland

Hi NG.

I have build a image including the EWF. I copy the image from my
developer PC to a HD containing one prinary partitions on 455 MB. The
Total HD has 5,7 GB sow there is plenty of space for the EWF to run.

I the mowe the HD to my target Hardware, plug the HD in the primary
IDE and a Compact Flash on the Secondary IDE. The CF has a total
capacity of 512 MB and I made a primary partition of 455 MB. The CF
card is marked as removable, witch is the hole reason for letting the
FBA run on the HD.

After the FBA has run succesfully on target. I tested the Images and
the hole thing runs.

I then verify that the EWF runs correctly by typing ewfmgr:
the following is shown on the screen:
The Ewf volumen is "\Device\HarddiskVolume2"
Ewf Volume Configuration
Volume Size 64512
Segments 0
Segment Size 0
Free segments 0
Max Levels 1
Max Protected Volumes 1
Protected Volumes 1
Overlay volume percent full -1 #J
Protected volumes
Device Name "\Device\HarddiskVolume1" [C:]

I the verify the status of the protected volume by typing ewfmgr c:
Now the following is shown on the screen.

Protected Volume Configuration
Type RAM
State DISABLED
Boot Command NO_CMD
Param1 0
Param2 0
Persistent Data ""
Volume ID 94 57 DF 50 66 7E 00 00 00 00 00 00 00 00 00 00
Device Name "\Device\HarddiskVolume1" [C:]
Max Levels 1
Clump Size 512
Current Level 1
Memory used for data 0 bytes
Memory used for mapping 0 bytes

I checked the FAB logfile and found that the ConfigureEwf() End,
status = 0x0.

Acording to the Microsoft docunemtation the should verify that the EWF
works correctly.I the delete the EWF configuration volume by writing:
etprep /delete
And the following message is shown on the screen:
Deleted EWFpartition = 1

I the move the HD and the CF back to my develop PC and copy the Image
from The HD to the CF by typing: xcopy d: f: /h/c/s/e/d

I then move the CF to the Target place it in the primary IDE and trys
to boot from the CF. The splash Screen runs, after the splash screen
the Screen turns Blue with the error:
stop:c000021a
bla bla bla

I far as I can see the description above match the "How to Configure
EWF for Compact Flash" from Microsoft.

I tryed to solve this problem for quit a time by now, and I simply run
out of things to try. Can someone please help


Henrik
 
S

Slobodan Brcin

Hi Henrik,

Most likely your problem is because CF was present during FBA.
It was mounted as D: or higher and this drive letter is persistent since it
is written to registry.

After you copy data from HDD to CF, and put back CF to target machine, when
system tries to boot, OS mounts CF to D: instead of C:.

To conclude, you should not have CF present during the FBA on your target
device.


More Info:

You can configure RAM EWF without creation of temporary partition used by
EWF. Doc and guide lines hot to do that you can find on www.xpefiles.com.
Also MS and many others are stating that you can't use EWF on removable
disk. I don't see the reason for this, but I have newer tried to use it on
removable disk.

If you are able to successfully run EWF on removable CF, please let us know.

Regards,
Slobodan





Henrik Roland said:
Hi NG.

I have build a image including the EWF. I copy the image from my
developer PC to a HD containing one prinary partitions on 455 MB. The
Total HD has 5,7 GB sow there is plenty of space for the EWF to run.

I the mowe the HD to my target Hardware, plug the HD in the primary
IDE and a Compact Flash on the Secondary IDE. The CF has a total
capacity of 512 MB and I made a primary partition of 455 MB. The CF
card is marked as removable, witch is the hole reason for letting the
FBA run on the HD.

After the FBA has run succesfully on target. I tested the Images and
the hole thing runs.

I then verify that the EWF runs correctly by typing ewfmgr:
the following is shown on the screen:
The Ewf volumen is "\Device\HarddiskVolume2"
Ewf Volume Configuration
Volume Size 64512
Segments 0
Segment Size 0
Free segments 0
Max Levels 1
Max Protected Volumes 1
Protected Volumes 1
Overlay volume percent full -1 #J
Protected volumes
Device Name "\Device\HarddiskVolume1" [C:]

I the verify the status of the protected volume by typing ewfmgr c:
Now the following is shown on the screen.

Protected Volume Configuration
Type RAM
State DISABLED
Boot Command NO_CMD
Param1 0
Param2 0
Persistent Data ""
Volume ID 94 57 DF 50 66 7E 00 00 00 00 00 00 00 00 00 00
Device Name "\Device\HarddiskVolume1" [C:]
Max Levels 1
Clump Size 512
Current Level 1
Memory used for data 0 bytes
Memory used for mapping 0 bytes

I checked the FAB logfile and found that the ConfigureEwf() End,
status = 0x0.

Acording to the Microsoft docunemtation the should verify that the EWF
works correctly.I the delete the EWF configuration volume by writing:
etprep /delete
And the following message is shown on the screen:
Deleted EWFpartition = 1

I the move the HD and the CF back to my develop PC and copy the Image
from The HD to the CF by typing: xcopy d: f: /h/c/s/e/d

I then move the CF to the Target place it in the primary IDE and trys
to boot from the CF. The splash Screen runs, after the splash screen
the Screen turns Blue with the error:
stop:c000021a
bla bla bla

I far as I can see the description above match the "How to Configure
EWF for Compact Flash" from Microsoft.

I tryed to solve this problem for quit a time by now, and I simply run
out of things to try. Can someone please help


Henrik
 
H

Henrik Roland

Hi Slobodan.

Thanks fore your suggestions.

I Solved the problem.

I think you are right conserning the CF must not be mountet during FBA
but the real problem was that I rebootet the Image on the HD after I
ran the etprep / delete. NEVER EVER do that.

As sun that the etprep /delete has finished the power off the device.
Then make the XCOPY d: f: /h/c/s/e/d for making a copy the the CF.

Henrik

Slobodan Brcin said:
Hi Henrik,

Most likely your problem is because CF was present during FBA.
It was mounted as D: or higher and this drive letter is persistent since it
is written to registry.

After you copy data from HDD to CF, and put back CF to target machine, when
system tries to boot, OS mounts CF to D: instead of C:.

To conclude, you should not have CF present during the FBA on your target
device.


More Info:

You can configure RAM EWF without creation of temporary partition used by
EWF. Doc and guide lines hot to do that you can find on www.xpefiles.com.
Also MS and many others are stating that you can't use EWF on removable
disk. I don't see the reason for this, but I have newer tried to use it on
removable disk.

If you are able to successfully run EWF on removable CF, please let us know.

Regards,
Slobodan





Henrik Roland said:
Hi NG.

I have build a image including the EWF. I copy the image from my
developer PC to a HD containing one prinary partitions on 455 MB. The
Total HD has 5,7 GB sow there is plenty of space for the EWF to run.

I the mowe the HD to my target Hardware, plug the HD in the primary
IDE and a Compact Flash on the Secondary IDE. The CF has a total
capacity of 512 MB and I made a primary partition of 455 MB. The CF
card is marked as removable, witch is the hole reason for letting the
FBA run on the HD.

After the FBA has run succesfully on target. I tested the Images and
the hole thing runs.

I then verify that the EWF runs correctly by typing ewfmgr:
the following is shown on the screen:
The Ewf volumen is "\Device\HarddiskVolume2"
Ewf Volume Configuration
Volume Size 64512
Segments 0
Segment Size 0
Free segments 0
Max Levels 1
Max Protected Volumes 1
Protected Volumes 1
Overlay volume percent full -1 #J
Protected volumes
Device Name "\Device\HarddiskVolume1" [C:]

I the verify the status of the protected volume by typing ewfmgr c:
Now the following is shown on the screen.

Protected Volume Configuration
Type RAM
State DISABLED
Boot Command NO_CMD
Param1 0
Param2 0
Persistent Data ""
Volume ID 94 57 DF 50 66 7E 00 00 00 00 00 00 00 00 00 00
Device Name "\Device\HarddiskVolume1" [C:]
Max Levels 1
Clump Size 512
Current Level 1
Memory used for data 0 bytes
Memory used for mapping 0 bytes

I checked the FAB logfile and found that the ConfigureEwf() End,
status = 0x0.

Acording to the Microsoft docunemtation the should verify that the EWF
works correctly.I the delete the EWF configuration volume by writing:
etprep /delete
And the following message is shown on the screen:
Deleted EWFpartition = 1

I the move the HD and the CF back to my develop PC and copy the Image
from The HD to the CF by typing: xcopy d: f: /h/c/s/e/d

I then move the CF to the Target place it in the primary IDE and trys
to boot from the CF. The splash Screen runs, after the splash screen
the Screen turns Blue with the error:
stop:c000021a
bla bla bla

I far as I can see the description above match the "How to Configure
EWF for Compact Flash" from Microsoft.

I tryed to solve this problem for quit a time by now, and I simply run
out of things to try. Can someone please help


Henrik
 

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