Not enough space or bootmgr missing
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!
-
Thanks, I'm recapturing the image again. - lnovak 9 years ago
Answers (3)
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!
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:
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.
Comments:
-
What shows when you look at the hardware inventory in the recovery console on the K2? Are any partitions showing? - dugullett 9 years ago
-
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. - lnovak 9 years ago
-
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. - dugullett 9 years ago