MSFN Forum: Diskpart script, what I wrong? - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Diskpart script, what I wrong?

#1 User is offline   ^Miki^ 

  • Group: Members
  • Posts: 4
  • Joined: 09-October 09

Posted 09 October 2009 - 03:26 PM

I use WDS to deploy SO

I use this script do format the HD to deploy Vista and all work good

select disk 0
clean
create partition primary
select partition 1
assign letter=c
active
format quick
select disk 1
clean
create partition primary
select partition 1
assign letter=d
active
format quick


with Win 7 i decide to create the two partition, system and SO and I have create this script

select disk 0
clean
create partition primary size=200
select partition 1
active
format fs=ntfs label="System" quick
create partition primary
select partition 2
format fs=ntfs label="SO" quick
assign letter=c
exit


but with this second script at the next reboot the system don't start, it don't find the bootmgr.

what I wrong??

tnx to all

This post has been edited by ^Miki^: 09 October 2009 - 03:42 PM



#2 User is offline   Tripredacus 

  • K-Mart-ian Legend
  • Group: Super Moderator
  • Posts: 6,988
  • Joined: 28-April 06
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 12 October 2009 - 01:48 PM

It looks alright, what command do you run to install Windows on the C drive?

#3 User is offline   ^Miki^ 

  • Group: Members
  • Posts: 4
  • Joined: 09-October 09

Posted 13 October 2009 - 05:47 AM

I have found a the solution:

from winpe, after run the diskpart script and apply the image, I run bcedit c:\windows
With this command the system boot right.

#4 User is offline   alscheuring 

  • Group: Members
  • Posts: 1
  • Joined: 17-November 09

Posted 17 November 2009 - 08:05 AM

I was having the same trouble using the Step by Step guides. As it turns out, the diskpart script was not marking the 1st partition as active. If you use diskpart manually on the disk, mark the partition as active and run the bcdboot commands as detailed in MS's guide you should be ok.

Diskpart

Select Volume 1
active
exit

d:\windows\system32\bcdboot.exe d:\windows

reboot.

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy