How to add a second hdd and bootable with XPe?

  • Thread starter Thread starter Howard Hao
  • Start date Start date
H

Howard Hao

Please advise I missed anything?
1. Use fdisk to partition the second hdd.
2. format d:/s the second hdd.
3. Build XPe image on the second hdd.
4. Boot from the second hdd.

But failed, I think I need to learn how to make the second
hdd bootable with XPe?

Howard
 
I think you have to modify boot.ini on the firs hdd and to specify on TD the
partition on which the image will be deployed
 
Well, after build the XPe on the second hdd, I disable the
first hdd and boot directly from the second hdd. I need to
know if format c:/s is enough to make the hdd bootable
with XPe image. Seems not. But what need to be done on the
second hdd? XPe image has ntldr...almost everything.

Howard
 
Well, after build the XPe on the second hdd, I disable the
first hdd and boot directly from the second hdd. I need to
know if format c:/s is enough to make the hdd bootable
with XPe image. Seems not. But what need to be done on the
second hdd? XPe image has ntldr...almost everything.

Mark partition as active.
And use NTFS.

For FAT you need to use bootprep.

Best regards,
Slobodan
 
Slobodan,
Tks! But stil have disk I/O error. Please advise any
places wrong.
1. Use fdisk make primary partition and active.
2. add as second hdd to another hdd with XP
3. Use XP to format second to NTFS.
4. Build image on second hdd.
5. Remove XP hdd
6. Boot from the second with XPe

This sounds ok.
You could consider skipping (replacing) step 1, and familiarize yourself
with diskpart tool that is standard to XP.
But it shows disk I/O error. When I fdisk the new hdd,
shall I format it with system transferred?

Who shows disk error?
1. BIOS?
2. ntldr?
3. In some XPE load phase, and preferably what?

Only 1 and part of 2 are related to preparing disk/partition.
And 3. Bad configuration in TD.

Best regards,
Slobodan Brcin
 
Are you formating with MS DOS? If so you need to run Bootprep.exe to change
the boot sector to a boot sector that supports XP.

Regards,

Sean Liming
www.a7eng.com
Author: Windows NT Embedded Step-by-Step and Windows XP Embedded Advanced
 
Slobodan,
The I/O error must be in bios still. I saw diskpart in XP
but don't know how to use it. Could you please provide me
instructions how to use diskpart?
1. I will use XP on 1st hdd.
2. 2nd hdd as blank.

How can I use diskpart in XP to partition and format 2nd
hdd to make it bootable from XPe image. Tks!

Howard
 
Slobodan,
The I/O error must be in bios still. I saw diskpart in XP
but don't know how to use it. Could you please provide me
instructions how to use diskpart?
1. I will use XP on 1st hdd.
2. 2nd hdd as blank.

This is not very fortunate solution but it will work.
You should try to avoid this since you will need to disable XP disk After
some time this tend to be boring.

Try instead following:
Use one disk:
Make two partitions and leave some empty space:
Active NTFS Primary C: XPE boot.ini
NTFS Primary D: XP
Empty space unpartitioned

How can I use diskpart in XP to partition and format 2nd
hdd to make it bootable from XPe image. Tks!

For diskpart read it has every info you need.
http://support.microsoft.com/default.aspx?kbid=300415


I saw Sean sugested you to use bootprep.
For start you should go with NTFS so you wont need to use bootprep.
 
It sounds like the bios cannot find the MBR or the MBR cannot find the
Partition Boot Record. If you're handy with a debugger, you could boot to
DOS and dump out sector 0 on the disk to make sure the MBR is valid, and
then dump out the first sector in the partition to make sure that the PBR
looks valid.
If you dont want to do this, you could boot XP from Disk 0, and use disk
management to initialize disk 1. Make sure you partition it, format it and
mark it as active. Then you can use TD to build to it. Shut down,
disconnect Disk 0 Connect Disk 1 to the DISK 0 connector and boot.
-Anil [MS] - This posting is provided "AS IS" with no warranties, and
confers no rights
 
Anil,
Thank you. I have crashed about 20 hdd already and don't
know how to repair them.
Now, please advise me from the beginning, if I have a
new hdd what should I do? Here are my steps but still
failed.

1. DOS boot from floppy and use fdisk make primary
partition and make it active.

2. execute bootprep.exe on A:
3. Either format by format C: or use XP to format hdd to
FAT or FAT32
4. Build XPe on hdd.
5. disable first hdd with XP and restart XPe hdd.

But still error like disk I/O error or non-system error.

Howard
-----Original Message-----
It sounds like the bios cannot find the MBR or the MBR cannot find the
Partition Boot Record. If you're handy with a debugger, you could boot to
DOS and dump out sector 0 on the disk to make sure the MBR is valid, and
then dump out the first sector in the partition to make sure that the PBR
looks valid.
If you dont want to do this, you could boot XP from Disk 0, and use disk
management to initialize disk 1. Make sure you partition it, format it and
mark it as active. Then you can use TD to build to it. Shut down,
disconnect Disk 0 Connect Disk 1 to the DISK 0 connector and boot.
-Anil [MS] - This posting is provided "AS IS" with no warranties, and
confers no rights

Howard Hao said:
I found bootprep.exe in utility directory.
Howard


.
 
diskpart seems too complicated. Is there any easy way to
do it? I remember in NT embedded, it's very easy.
Howard
 
Try switching steps 2 & 3. ie. do 3 before 2. Does it work?
HTH
Anil [MS] - This posting is provided "AS IS" with no warranties, and confers
no rights

Howard Hao said:
Anil,
Thank you. I have crashed about 20 hdd already and don't
know how to repair them.
Now, please advise me from the beginning, if I have a
new hdd what should I do? Here are my steps but still
failed.

1. DOS boot from floppy and use fdisk make primary
partition and make it active.

2. execute bootprep.exe on A:
3. Either format by format C: or use XP to format hdd to
FAT or FAT32
4. Build XPe on hdd.
5. disable first hdd with XP and restart XPe hdd.

But still error like disk I/O error or non-system error.

Howard
-----Original Message-----
It sounds like the bios cannot find the MBR or the MBR cannot find the
Partition Boot Record. If you're handy with a debugger, you could boot to
DOS and dump out sector 0 on the disk to make sure the MBR is valid, and
then dump out the first sector in the partition to make sure that the PBR
looks valid.
If you dont want to do this, you could boot XP from Disk 0, and use disk
management to initialize disk 1. Make sure you partition it, format it and
mark it as active. Then you can use TD to build to it. Shut down,
disconnect Disk 0 Connect Disk 1 to the DISK 0 connector and boot.
-Anil [MS] - This posting is provided "AS IS" with no warranties, and
confers no rights

Howard Hao said:
I found bootprep.exe in utility directory.
Howard
-----Original Message-----
Sean,
Where to get bootprep.exe? Download or have to buy?
Rgds
Howard
-----Original Message-----
Are you formating with MS DOS? If so you need to run
Bootprep.exe to change
the boot sector to a boot sector that supports XP.

Regards,

Sean Liming
www.a7eng.com
Author: Windows NT Embedded Step-by-Step and Windows XP
Embedded Advanced



Please advise I missed anything?
1. Use fdisk to partition the second hdd.
2. format d:/s the second hdd.
3. Build XPe image on the second hdd.
4. Boot from the second hdd.

But failed, I think I need to learn how to make the
second
hdd bootable with XPe?

Howard


.

.


.
 
Back
Top