Have been having a number of problems getting a dual partition image back
onto a machine. Currently I am doing it this way:
img pd1
img pd2
img pd3
img pd4
img pc1 NTFS 8000
img pa1
img pc2 ext
img pc2 fat32
img rp $PROXYADDR //$PROXYADDR/xx/xx/xx/xxa.zmg a1:p1
img rp $PROXYADDR //$PROXYADDR/xx/xx/xx/xxb.zmg a1:p3

This in theory should create 2 partitions - a 8 gig NTFS partition and
then an extended Fat32 partition filling up the rest of the hard drive. My
problem is that if I run this as an option in a script file it always
seems to crash out after creating the NTFS partition. If I restart after
creating the NTFS partition then run the remain commands manually it will
work fine. Is there anything tricky that I need to do when working with
extended partitions?

Otherwise is there a certain way I should make the image in the first
place to create the zmg file with the 2 partitions (C and D drive). I
have tried just doing a img rp $PROXYADDR //$PROXYADDR/xx/xx/xx/xx.zmg
without anything else but it doesn't seem to pick up the second partition.

Any advice or ideas would be appreciated.