Build for D drive

  • Thread starter Thread starter Bill
  • Start date Start date
B

Bill

I want XP Pro on C: and XP embedded on D:
What should the target device settings be?
Boot Drive, Windows folder etc.

Also what effect does the boot partition size have? What if it is
incorrect?
 
Hi Bill. When you construct your runtime configuration, set your target
device settings as follows:

Boot Drive: D:
Windows Folder: D:\WINDOWS
Program Files Folder: D:\Program Files
Documents and Settings Folder: D:\Documents and Settings
Boot ARC path: multi(0)disk(0)rdisk(0)partition(2) *

* note: ARC path may be different depending on your hardware configuration.
See the System Design Guide for more information. If you are running a
fairly standard hardware configuration, you can leave this ARC path set to
partition 2.

By default, the partition size is set to 1024 MB (1 GB). It does not have
to match the actual size of your partition - I've installed plenty of images
where the partition size was significantly smaller or larger than the value
in this field. I'm not entirely sure what its function is, but there may be
some more information on this field on MSDN: http://www.msdn.com/embedded .

One more thing: When setting up a multi-boot system like you're describing,
be sure to edit your boot.ini file (which will be located on the C: drive)
so that you can choose between the two OSes. I do not recommend copying
over the boot.ini from your runtime image, as that will be setup to
specifically boot the image on D:. If your runtime uses EWF, however, you
must copy over NTLDR, since your runtime will need the EWF NTLDR in order to
function properly. (EWF NTLDR can be used in conjunction with a normal Pro
install.)

Hope this helps. =)

--
Matt Kellner ([email protected])
STE, Windows Embedded Group

This posting is provided "AS IS" with no warranties, and confers no rights.
===============================
 
Hi Bill,

There is one tip that I wrote about rearanging volume letters from TD:
http://msdn.microsoft.com/embedded/community/community/tips/xp/rtpartin/default.aspx

Windows see logical letters in very strange way based on many rules but if there is setting in registry present then that will
override any PnP mechanism.
So you can set any partition on any disk to be reported and used as C: and then just copy your image to root of some other disk and
it will be C: by default and you image will work.

Regards,
Slobodan
 
Back
Top