4 Replies Latest reply on Jun 28, 2011 1:30 PM by EMiranda

    capture hdd error

    Rookie

      my srcipt is

      /C01 d:\image001.IMG;0

      but it only capture HDD0,partition1

      I need to capture the hold hdd, what should i do? change to /C0 d:\image001.IMG;0?

        • 1. Re: capture hdd error
          EMiranda Expert

          is there a particular reason why you wouldnt capture the image using the latest version of imagew? which is imagew V2.  The default commands in version 2 capture the whole HDD automatically.  If you insist on using the out dated version, i think /C0 should work since that is just specifying the hard drive with no partitions selected.

          • 2. Re: capture hdd error
            Rookie

            Did V2 command is the same?

            • 3. Re: capture hdd error
              Spartan Apprentice

              Can you post the command you are running in imagew version 2?

               

              Here is what I run and it works well at captureing 2 partitions.

               

              /b /d:0 /rb:0 /f:\\someserver\share$\Provisioning\images\imagename.TBI
              

               

              /b   (This is the backup command)

              /d:0 (This targets drive 0 - all partitions)

              /rb:0. (This prevents the machine from rebooting)

              /f:\\someserver\share$\Provisioning\images\imagename.TBI  (This is the path and image name)

               

              You can capture partitions independently/d:[email protected]  would capture the first partition only.   /d:[email protected] would only capture the 2nd partition.

               

              /b /d:0 /rb:[email protected] /f:\\someserver\share$\Provisioning\images\patition1.TBI
              /b /d:0 /rb:[email protected] /f:\\someserver\share$\Provisioning\images\patition2.TBI
              
              
              

               

               

              If you are trying to capture a second disk you would have to run a seperate task for sure.

               

              /b /d:0 /rb:0 /f:\\someserver\share$\Provisioning\images\HDD0.TBI
              /b /d:1 /rb:0 /f:\\someserver\share$\Provisioning\images\HDD1.TBI
              
              
              

               

               

              Keep in mind that you do need to setup the disk when restoring the image...

               

              Something like this should work (Sets up a 30 GB C:)

               

               

              select disk 0 
              clean 
              create partition primary size=30000
              assign letter=c 
              active 
              create partition extended 
              create partition logical
              assign letter=d 
              FORMAT FS=NTFS LABEL="Storage" QUICK
              
              
              • 4. Re: capture hdd error
                EMiranda Expert

                Doc wrote:

                 

                Keep in mind that you do need to setup the disk when restoring the image...

                 

                Something like this should work (Sets up a 30 GB C:)

                 

                 

                select disk 0 
                clean 
                create partition primary size=30000
                assign letter=c 
                active 
                create partition extended 
                create partition logical
                assign letter=d 
                FORMAT FS=NTFS LABEL="Storage" QUICK
                
                

                 

                I never have to setup the disk when restoring the image, if the disk is clean, imagew will create the partitions exactly how they were captured (sector based). I normally just let imagew create the partitions and then adjust my partitions aftewards to my liking via diskpart script.