I am trying to deploy an image to an OptiPlex 9020 SFF, 2 partitions and it keeps failing.  I have a preinstall task to create the partitions, a mid level task that copies the BCD files and a postinstall task that joins the domain.  I either get "there is not enough disk space" or the image installs "successfully" but when I boot from the hard drive, the bootmgr is missing.  What am I missing?  Thanks!

Answer Summary:
After the upgrade, I uploaded a new KBE and created the following preinstall tasks: To create 2 partitions: select disk 0 clean create partition primary size = 200 select partition 1 active format fs=ntfs label="system" quick assign letter = c create partition primary select partition 2 format fs=ntfs label="Windows7" quick assign letter = d To format 2 partitions: format /q /y /fs:ntfs /v:Windows C: bootsect.exe /NT60 C: format /q /y /fs:ntfs /v:System D: bootsect.exe /NT60 D: I then saved the image as a WIM (K-image didn't work and kept giving me errors) and deployed. Worked great, thanks to dugullett and MacDude!
Cancel
1 Comment   [ + ] Show Comment

Comments

  • Thanks, I'm recapturing the image again.
Please log in to comment

Community Chosen Answer

1

Can you share your tasks? You should have something like this. Also did you capture both partitions?

Create 2 Partitions:

select volume 0

remove all noerr

select disk 0

clean

create partition primary size=100

assign letter="C"

active

create partition primary

assign letter="D"

exit


Format 2 Partitions:

format /q /y /fs:ntfs /v:Windows C:

bootsect.exe /NT60 C:

format /q /y /fs:ntfs /v:System D:

bootsect.exe /NT60 D:

Answered 05/19/2014 by: dugullett
Red Belt

Please log in to comment

Answers

0

I had the exact commands in my preinstall tasks.  I also tried:

select disk 0
clean
create partition primary size = 200
select partition 1
active
format fs=ntfs label="system" quick
assign letter = c
create partition primary
select partition 2
format fs=ntfs label="Windows7" quick
assign letter = d

My mid-level task looks like this:

bcdboot d:\windows /s c:

No matter which one I try, I am getting "not enough disk space".  If I change the "primary size" from 100 to 500, then the image installs "successfully" and I get the bootmgr missing error message.

Answered 05/19/2014 by: lnovak
Third Degree Blue Belt

  • What shows when you look at the hardware inventory in the recovery console on the K2? Are any partitions showing?
    • There are 2 partitions showing, both NTFS, one is 200MB and the other is 465GB. I just updated my K2 to 3.6 so I'm trying the deploy again. There is a red X next to Apply Image and the task engine seems to be stuck at 43% on Copy Post Install Files.
      • That was going to be my next question. What version were you on? You may want to try re capturing your image now that you've updated.
Please log in to comment
0

and make a new KBE after the update as well. :)

Answered 05/22/2014 by: MacDude
Fourth Degree Brown Belt

Please log in to comment
Answer this question or Comment on this question for clarity

Share