Jump to content
MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. ×

Diskpart script, what I wrong?


 Share

Recommended Posts

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

Edited by ^Miki^
Link to comment
Share on other sites


  • 1 month later...

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.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    No registered users viewing this page.


×
×
  • Create New...