Newby question

K

Kent Petersen

I'm using Cseri's book "Windows XP Embedded Step by Step" as an aid to learn
XPe. So far it has been going pretty well but I've run into a snag. I am
using TD on a separate machine and when I build an image I transfer it to
the target machine and run it on the target. The target machine boots from
a 40 G HDD which is partitioned as follows:

Partition 1 (c) = 4.88 GB NTFS on which XP Pro is installed
Partition 2 (d) = 1004 MB FAT which is where I copy the XPe image
Following partition 2 is the remaining 32.42 GB unallocated.

Following is the boot.ini:

[boot loader]
timeout=5
default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP
Professional" /fastdetect
multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Embedded"
/fastdetect

Yesterday I successfully built and ran the EWF demo excercise (Excercise 12)
which basically protects Partition 1 (c) with a disk overlay and protects
Partition 2 with a RAM overlay. Yesterday everything worked well and since
then I have replaced the HDD in the target system with a larger one (in
preparation to allow copying partitions w/ complete operating systems). I
thought that I had gotten back to where I was yesterday but I obviously have
not. Following is the pertinant part of the FBA log when I run the image:

16:17:06 PM - ConfigureEwf() Start.
16:17:06 PM - Getting EWF config parameters from registry.
16:17:06 PM - Non El Torito disk configuration.
16:17:06 PM - EWF Partition Size = 34816 (KBytes), Levels = 1, Volumes =
2.
16:17:06 PM - Protected Volume Config #0 :
16:17:06 PM - Disk= 0,Part= 1,DiskType= IDE,Type= Disk.
16:17:06 PM - Enable= Enabled, Optimize= 0, LazyWrite= N.
16:17:06 PM - Protected Volume Config #1 :
16:17:06 PM - Disk= 0,Part= 2,DiskType= IDE,Type= RAM.
16:17:06 PM - Enable= Enabled, Optimize= 0, LazyWrite= N.
16:17:06 PM - Found 1 Hard Disks.
16:17:06 PM - Disk #0 layout info:
16:17:06 PM - PRIMARY partition,start=0x0000000000007e00,
len=0x00000001384bfc00, type= 7
16:17:06 PM - EXTENDED partition,start=0x00000001384c7a00,
len=0x000000003ec10000, type= 5
16:17:06 PM - LOGICAL partition,start=0x00000001384c7a00,
len=0x000000003ec10000, type= 6
16:17:06 PM - FREE partition,start=0x00000001770d7a00,
len=0x000000081b4a9200, type= 0
16:17:06 PM - Can't create EWF partition size = 0x0000000002205c00 on
disk# 0.
16:17:06 PM - Failed to create EWF partition.
16:17:06 PM - ConfigureEwf() End, status = 0x80070057.
16:17:06 PM - [CallEntryPointThread] D:\WINDOWS\system32\ewfdll.dll,
ConfigureEwf
16:17:06 PM - [FBASetProgressText] Resetting Setup Flag...
16:17:24 PM - [FBADoReboot] Sleeping...
16:17:34 PM - [FBADoReboot] Rebooting system...

I guess I've messed it up because the target partitions are no longer the
same size as they were yesterday but I can't figure out how to fix it.

Thanks in advance for any help.
 
K

Kent Petersen

Nevermind!

Turns out that the "Unallocated" space that EWF uses for its volume needs to
be in the same partition instead of adjacent to the partition in which XPe
runs. I hope I've explained this correctly...I've got it running now.

Kent Petersen said:
I'm using Cseri's book "Windows XP Embedded Step by Step" as an aid to learn
XPe. So far it has been going pretty well but I've run into a snag. I am
using TD on a separate machine and when I build an image I transfer it to
the target machine and run it on the target. The target machine boots from
a 40 G HDD which is partitioned as follows:

Partition 1 (c) = 4.88 GB NTFS on which XP Pro is installed
Partition 2 (d) = 1004 MB FAT which is where I copy the XPe image
Following partition 2 is the remaining 32.42 GB unallocated.

Following is the boot.ini:

[boot loader]
timeout=5
default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP
Professional" /fastdetect
multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Embedded"
/fastdetect

Yesterday I successfully built and ran the EWF demo excercise (Excercise 12)
which basically protects Partition 1 (c) with a disk overlay and protects
Partition 2 with a RAM overlay. Yesterday everything worked well and since
then I have replaced the HDD in the target system with a larger one (in
preparation to allow copying partitions w/ complete operating systems). I
thought that I had gotten back to where I was yesterday but I obviously have
not. Following is the pertinant part of the FBA log when I run the image:

16:17:06 PM - ConfigureEwf() Start.
16:17:06 PM - Getting EWF config parameters from registry.
16:17:06 PM - Non El Torito disk configuration.
16:17:06 PM - EWF Partition Size = 34816 (KBytes), Levels = 1, Volumes =
2.
16:17:06 PM - Protected Volume Config #0 :
16:17:06 PM - Disk= 0,Part= 1,DiskType= IDE,Type= Disk.
16:17:06 PM - Enable= Enabled, Optimize= 0, LazyWrite= N.
16:17:06 PM - Protected Volume Config #1 :
16:17:06 PM - Disk= 0,Part= 2,DiskType= IDE,Type= RAM.
16:17:06 PM - Enable= Enabled, Optimize= 0, LazyWrite= N.
16:17:06 PM - Found 1 Hard Disks.
16:17:06 PM - Disk #0 layout info:
16:17:06 PM - PRIMARY partition,start=0x0000000000007e00,
len=0x00000001384bfc00, type= 7
16:17:06 PM - EXTENDED partition,start=0x00000001384c7a00,
len=0x000000003ec10000, type= 5
16:17:06 PM - LOGICAL partition,start=0x00000001384c7a00,
len=0x000000003ec10000, type= 6
16:17:06 PM - FREE partition,start=0x00000001770d7a00,
len=0x000000081b4a9200, type= 0
16:17:06 PM - Can't create EWF partition size = 0x0000000002205c00 on
disk# 0.
16:17:06 PM - Failed to create EWF partition.
16:17:06 PM - ConfigureEwf() End, status = 0x80070057.
16:17:06 PM - [CallEntryPointThread] D:\WINDOWS\system32\ewfdll.dll,
ConfigureEwf
16:17:06 PM - [FBASetProgressText] Resetting Setup Flag...
16:17:24 PM - [FBADoReboot] Sleeping...
16:17:34 PM - [FBADoReboot] Rebooting system...

I guess I've messed it up because the target partitions are no longer the
same size as they were yesterday but I can't figure out how to fix it.

Thanks in advance for any help.
 

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


Top