/build/static/layout/Breadcrumb_cap_w.png

Best Practices Question


Script K2000 Create Double Disk

12/14/2014 3240 views
Good Day IT Ninja,

i want to deploy PC Dell T5600 with 2 Disk, disk 1 for Drive C System and disk 2 for Drive 2 Data.
for scripting diskpart we create this :

select disk 0
clean
create partition primary
select partition 1
active
assign letter=c
select disk 1
clean
create partition primary
select partition 2
assign letter=d
exit

problem is, we cant found drive D on windows 7 after deploy. help me for this problem.
fyi, image already upload with 2 disk 1 image. or we must create 2 image drive C and drive D
for deployment can we set 2 image for 1 at once.

Thanks
0 Comments   [ + ] Show comments

Comments


All Answers

0
Your diskpart script will only assign letters inside the KBE, your image would have to have the appropriate assignment already.  So if you have data on the second drive, you would need to capture an image of that drive too.  If it's a blank partition, you can craft a diskpart script to format the drive after the image boots up instead of capturing it as an image.

I am wondering, though, if there is an error in your script.  On disk 1, you're cleaning the disk and then creating a primary partition, but then you're trying to select partition 2 instead of partition 1.  There would only be one partition based on your script, which would be partition 1 of disk 1, which is not the same as partition 1 of disk 0.

Hope that helps.
Answered 12/15/2014 by: nheyne
Red Belt

  • Thanks for your correction, yes i wrong for select partition 2. but after we changed script its same problem.
    • Then it sounds like you need to capture the D: drive as a separate image, if I am understanding your scenario correctly.
      • Thanks nheyne, it's work
 
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