/build/static/layout/Breadcrumb_cap_w.png

Scripting Question


How do I deploy an Image with 2 partitions...

06/01/2017 505 views

First of all, Good morning everyone !! Happy June the 1st...

I recently capture an image from a Raid configured machine.  It had 2 partitions. C and E.  Partition info. below.

c:\Volume System reserved. Type NTFS size 0.49 GB free: 0.17GB

E:\ Type NTFS Size 476.44gb free 384.56gb

I created a Diskpart script in pre-installation task.  see below.

select volume 0
remove all noerr
select disk 0
create partition primary size=477440
assign letter="C"
create partition primary
assign letter="E"
exit

I also created a batch file to format.  See Below.

format /q /y /fs:ntfs /v:Boot C:
bootsect.exe /NT60 C:
format /q /y /fs:ntfs /v:Windows E:
bootsect.exe /NT60 E:

Not working from me. 

In advance... Thank you all kindly very much !!

1 Comment   [ + ] Show comment

Comments

  • Here is the how to: https://support.quest.com/pt-br/kb/113970

    Also, It looks like you are setting both partitions as boot managers. You should only be using bootsect.exe /NT60 on one drive.
    • Thank you, Thank you. You've answered my question.. Have a blessed rest of the week..

All Answers

1
Here is the how to: https://support.quest.com/pt-br/kb/113970

Also, It looks like you are setting both partitions as boot managers. You should only be using bootsect.exe /NT60 on one drive.
Answered 06/01/2017 by: Desktop Jockey
Second Degree Green Belt

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

View more:

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ