EWF broken after fbreseal + clone

K

kareemsultan

Hi all,

I built an image with XPE SP2 FP2007. FBA on a hard drive, configured
it,checked ewfmgr and it said ewf was discable on C:, ran fbreseal.
I copied that image to a CF card with the same partition sizes(details
below) using the robocopy command line tool. This has worked
flawlessly for me many times before.
Booted from the CF card, all is well. OS functions perfectly. The only
problem is, when I run "ewfmgr C:", I get the following error.

"Failed getting protected volume configuration with error 1"

If I just run ewfmgr, it says it can't find any ewf volumes.

So now I can't enable ewf. I've done this procedure many many times
using a CF card to run FBA,then cloning it to other CF cards. I
figured I'd save a few CF cards, by running FBA on a hard drive. Both
hard drive and CF card were setup the exact same way.

C: 750megs FAT32
D: 250megs FAT32

Bootprep performed on C:.
The hard drive is a 40gig 2.5" drive, but I only created the two
partitions as above to match the CF card.

Any thought on what the problem might be?

Any help would be greatly appreciated.

Cheers,
 
K

kareemsultan

Sorry. Forgot to mention that. Yes Ram-Reg. And the CF card is a
transcend industrial. We've been using them for a while now.

Kareem
 
K

kareemsultan

I just tried fbreseal without the -keepmount option thinking that
might have had an effect. No success.

Kareem

Sorry. Forgot to mention that. Yes Ram-Reg. And the CF card is a
transcend industrial. We've been using them for a while now.

Kareem

Are you using RAM Reg mode?
 
S

Sean Liming \(MVP\)

As a test, have you tried running FBA on the CF card, and then recopy the
image back to the CF card?

Regards,

Sean Liming
www.sjjmicro.com / www.seanliming.com
Book Author - XP Embedded Advanced, XP Embedded Supplemental Toolkit


I just tried fbreseal without the -keepmount option thinking that
might have had an effect. No success.

Kareem

Sorry. Forgot to mention that. Yes Ram-Reg. And the CF card is a
transcend industrial. We've been using them for a while now.

Kareem

(e-mail address removed) wrote:
"Failed getting protected volume configuration with error 1"
Any thought on what the problem might be?
Are you using RAM Reg mode?
 
K

kareemsultan

Just did that test. When FBA is done on a CF card, then sealed, and
clone, all works well. The issue only happens when a hard drive is
used to perform the FBA process.
Strange.

Kareem
 
S

Sean Liming \(MVP\)

Actually this is a very old issue. One of the early XPe white papers or help
files suggested to run the FBA on a hard drive than transfer over to a CF.
Many people tried this and ran into problems. Best practice is to run FBA on
the flash drive to begin with.

Regards,

Sean Liming
www.sjjmicro.com / www.seanliming.com
Book Author - XP Embedded Advanced, XP Embedded Supplemental Toolkit


Just did that test. When FBA is done on a CF card, then sealed, and
clone, all works well. The issue only happens when a hard drive is
used to perform the FBA process.
Strange.

Kareem


As a test, have you tried running FBA on the CF card, and then recopy the
image back to the CF card?

Regards,

Sean Limingwww.sjjmicro.com/www.seanliming.com
Book Author - XP Embedded Advanced, XP Embedded Supplemental Toolkit


I just tried fbreseal without the -keepmount option thinking that
might have had an effect. No success.

On Jul 5, 8:39 am, (e-mail address removed) wrote:
Sorry. Forgot to mention that. Yes Ram-Reg. And the CF card is a
transcend industrial. We've been using them for a while now.

On Jul 4, 10:05 pm, "Mike Warren" <miwa-not-this-...@or-this-
csas.net.au> wrote:
(e-mail address removed) wrote:
"Failed getting protected volume configuration with error 1"
Any thought on what the problem might be?
Are you using RAM Reg mode?
 
K

kareemsultan

Alright.

Thanks for the help. I'll just designate one CF card as the
sacrificial FBA card.

Cheers,
Kareem
 
G

Gert Leunen

I don't think you can clone the EWF partition to other systems: it needs to
be recreated at the target system. This EWF partition creation is scheduled
as an FBA phase (65520 to be exact). I usually apply manual reseal (reseal
set at phase 0) and right before I execute the fbreseal command, I lookup
this partition creation instruction in the registry and set its FBAWasHere
value back to 0 (in
HKLM\System\CurrentControlSet\Control\WindowsEmbedded\FBA; so far I've only
seen one key that starts with a 4, and that's the one - description is
"Creates the EWF partition", but the key name changes each time you create a
new image, at least it always starts with 4). If you use automatic reseal
(configured at phase 12000), you can still offline edit the system registry
hive after sealing has completed.

Then copy all but the EWF partition and leave enough space on the target
harddisk for that EWF partition to be created: it'll do so on the first run
(FBA seal break; by the way, I find it funny that since Update Rollup 1 it
now says something like "resealing in progress", I don't think that's the
case...).

Best regards,

Gert Leunen
R&D International NV

Alright.

Thanks for the help. I'll just designate one CF card as the
sacrificial FBA card.

Cheers,
Kareem

Actually this is a very old issue. One of the early XPe white papers or
help
files suggested to run the FBA on a hard drive than transfer over to a
CF.
Many people tried this and ran into problems. Best practice is to run FBA
on
the flash drive to begin with.

Regards,

Sean Limingwww.sjjmicro.com/www.seanliming.com
Book Author - XP Embedded Advanced, XP Embedded Supplemental Toolkit


Just did that test. When FBA is done on a CF card, then sealed, and
clone, all works well. The issue only happens when a hard drive is
used to perform the FBA process.
Strange.

On Jul 5, 12:37 pm, "Sean Liming \(MVP\)" <[email protected]>
wrote:
As a test, have you tried running FBA on the CF card, and then recopy
the
image back to the CF card?

Sean Limingwww.sjjmicro.com/www.seanliming.com
Book Author - XP Embedded Advanced, XP Embedded Supplemental Toolkit
I just tried fbreseal without the -keepmount option thinking that
might have had an effect. No success.

On Jul 5, 8:39 am, (e-mail address removed) wrote:
Sorry. Forgot to mention that. Yes Ram-Reg. And the CF card is a
transcend industrial. We've been using them for a while now.
On Jul 4, 10:05 pm, "Mike Warren" <miwa-not-this-...@or-this-
csas.net.au> wrote:
(e-mail address removed) wrote:
"Failed getting protected volume configuration with error 1"
Any thought on what the problem might be?
Are you using RAM Reg mode?
 
G

Guest

Sean,

I've been through most of what is described in this thread over the last 6
month, but I have a question:

Can the hidden EWF partition be removed, so that the basic image can be
moved via simple format & copy to different media, and then recreate the
hidden EWF partition?

I found that once the Hidden EWF partition was created, I had to stay with
media that reported the same size to be able to clone the media (CF).

As an aside, how do I ensure that each cloned CF will have a different
computer name to avoid the message "A duplicate name exist on the network"
when I run multiple units on the same network?

Regards,

Aaron



Sean Liming (MVP) said:
You can clone the EWF parition with Norton Ghost. There is a special command
line option that allows you to do this.

Regards,

Sean Liming
www.sjjmicro.com / www.seanliming.com
Book Author - XP Embedded Advanced, XP Embedded Supplemental Toolkit
 
E

Ethan Chen

Hi Kareem,

If the problem still exist, try to type command "rundll32
ewfdll.dll,ConfigureEwf" before ewfmgr.

Regards,
Ethan

Just did that test. When FBA is done on a CF card, then sealed, and
clone, all works well. The issue only happens when a hard drive is
used to perform the FBA process.
Strange.

Kareem


As a test, have you tried running FBA on the CF card, and then recopy the
image back to the CF card?

Regards,

Sean Limingwww.sjjmicro.com/www.seanliming.com
Book Author - XP Embedded Advanced, XP Embedded Supplemental Toolkit


I just tried fbreseal without the -keepmount option thinking that
might have had an effect. No success.

On Jul 5, 8:39 am, (e-mail address removed) wrote:
Sorry. Forgot to mention that. Yes Ram-Reg. And the CF card is a
transcend industrial. We've been using them for a while now.

On Jul 4, 10:05 pm, "Mike Warren" <miwa-not-this-...@or-this-
csas.net.au> wrote:
(e-mail address removed) wrote:
"Failed getting protected volume configuration with error 1"
Any thought on what the problem might be?
Are you using RAM Reg mode?
 

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

Similar Threads

Disk mode of EWF 5
fbreseal issue? 1
About Ewf Question 1
EWF RAM overlay on CF failed 2
EWF RAM Reg mode after copying files to CF card 5
ewf 6
Windows XP Embedded Cloning - 2 Partitions Display 0
EWF in WES 4

Top