
surfertje
MemberContent Type
Profiles
Forums
Events
Everything posted by surfertje
-
2 partitions after restoring Image
surfertje replied to surfertje's topic in Unattended Windows 7/Server 2008R2
You can use START "A_title" /WAIT imagex /apply \\server\reminst\images\windows7\NAAM.wim 1 c: http://ss64.com/nt/start.html but cannot say if something needs to be "refreshed" after applying an image,, maybe you need to add an additional "delay" or "timeout" or "wait" command, such as sleep.exe or similar: http://www.911cd.net/forums/index.php?showtopic=3252&st=9 to give the OS the "time" to see that the image has been applied. jaclaz The problem is that the imagex command cannot run automatically. This command i must put manually because the name is different every time. I restore different images with different names. Is it possible to show the menu in startnet.cmd then choosing a menu option from startnet which wil go to the :itw7 commands and then give in the imagex command manually, then when he is finished he jumps to another command in the startnet.cmd which starts the bcdboot (so after the imagex /apply command is manually given?) -
2 partitions after restoring Image
surfertje replied to surfertje's topic in Unattended Windows 7/Server 2008R2
No, but you can put it in StartNet.cmd, after the part invoking diskpart. OT, but not much , if you want to "embed" the diskpart.txt into a batch looky here: http://www.msfn.org/board/index.php?showtopic=126069&st=19 this way from startnet.cmd you can invoke another batch that contains BOTH the diskpart and the BCDBOOT commands. jaclaz Thx. But this looks very complicated. I have put this in my startnet.cmd: :itw7 diskpart /s diskw7.txt echo VOORBEELD: imagex /apply \\server\reminst\images\windows7\NAAM.wim 1 c: bcdboot.exe D:\Windows bcdboot.exe D:\Windows goto end However: in this way the bcdboot runs to fust because the image must be restored first before the bcdboot command. Can you give me a some what easyer example how i can put this in startnetcmd? -
2 partitions after restoring Image
surfertje replied to surfertje's topic in Unattended Windows 7/Server 2008R2
I have a startnet.cmd on the usb key so there appears a menu when bootting with usb stick in Winpe. Then when i choose a menu option like restore image off... then diskpart.txt is run to format the harddrive and making the partitions. The question now is how to automate the bcdboot command, i cannot put it in the diskpart.txt? -
How can i automize a bcdboot command when booting the client with USB Winpe Stick? One is to make a .txt file where i create 2 partitions with the letters c and d. after creating this paritions and after restoring a image the command in the Windows\system32\bcdboot.exe d:\Windows must be given. This works i have tested it but how can i do this automatically? The diskpart i do automatically to call a txt file disk.txt with the diskpart /s command. POutting this in the startnet.cmd then it is solved. In MDT2010 is doesn't have to be solved because he makes that extra partition and takes care of Windows 7 booting partition but when i boot from USB stick then i must solve it as mentioned with startnet and disk.txt. But how do i automate the bcdboot command? so that i do not run this command when i restore a image thru the usb boot winpe stick?
-
error after restoring image
surfertje replied to surfertje's topic in Unattended Windows 7/Server 2008R2
It is working now. When i looked in c:\boot with bcdedit, the c partition was not known. How this can is a riddle to me but thanks to someone i had to to some bcedit commands and now it works. Now i am imaging this system to see if i can restore it or that i must do the commands again.... -
error after restoring image
surfertje replied to surfertje's topic in Unattended Windows 7/Server 2008R2
I would have been great if this worked but the imagex /apply command with the: bcdboot at the end (i also tried c:\windows\system32\bcdboot) doesn't work for me. He doesn't recognize this? -
error after restoring image
surfertje replied to surfertje's topic in Unattended Windows 7/Server 2008R2
Because MDT2010 is new to me and i have not figured it out yet, and becasue i also use unsysprepped images now. Unsysprepped images must be done without MDT2010. -
error after restoring image
surfertje replied to surfertje's topic in Unattended Windows 7/Server 2008R2
But what is it with the bcdboot? I thought: after restoring run bcdboot and then image it again, cleaning the disk and restoring. Then Windows should start. But to my suprise also then Windows is giving the Windows boot manager error at startup. Again bcdboot must rus.... Why is this and how to get around this? -
error after restoring image
surfertje replied to surfertje's topic in Unattended Windows 7/Server 2008R2
No i did not sysprepped it, because this is the master pc. First i install and configure everything then image the pc. The second step is to sysprep the machine en then make again the image to deploy. When there are much changes for the image i restore the first made image do the changes and make a new image of it. Then sysprep it again en make again the deploy image. I do not know how to do the changes in the image, i cannot work with MDT2010 for the applications to configure. I have read that another problem with Windows 7 is the default user profile. Much things must be configured for a new user. -
error after restoring image
surfertje replied to surfertje's topic in Unattended Windows 7/Server 2008R2
I have been reading and reading. The answer was in this thread: run bcdboot.exe c:\windows I thought this would only be nessecairy when you had 2 partitions, but i have done this after applying the image and then boot thru winpe, go to the command prompt and give the command: bcdboot.exe c:\windows Then restart and the system gives me 2 times WINDOWS 7. I chose the first one and he is starting now. I don't no where the second item comes from maybe it must not be: bcdboot.exe c:\windows but d:\windows?, that would be strange because there is only 1 partition. Hell it is strange that bcdboot is nessecairy because what has changes since i made the backup: nothing! -
error after restoring image
surfertje replied to surfertje's topic in Unattended Windows 7/Server 2008R2
I keep running into troubles with imaging Windows 7. It is alle the same problem but now i have managed that Win7 is installed on a disk with 1 partition. So there are no 2 partitions anymore. The problem now is when i make the image and wnat to restore it with imagex then after a reboot he still gives me a Windows startup boot error status: 0xc000000e. According to google this is a bcd boot error. But this was the problem with 2 parttition created i only have one partition so what could Windows 7 have for problems now with booting? Before restoring i do a diskpart which makes the first (and only) partition activ and so boot to that partition... -
error after restoring image
surfertje replied to surfertje's topic in Unattended Windows 7/Server 2008R2
This is not the case, i have tried this. When you make a new partition with the Win7 installer, he says that he will make a extra partition. This partition is becomming 100 mb and there is nothing i can do about it! So now am gonna try gparted. And then making no partitions with the win7 installer but making them all with Gparted and then install Win7 on the partition that i want it. I must try this.. Not true it is you that is doing it wrong you can delete extra partition and expand other, so you only have one. Can you tell me how then? I have tried what you say above, but when i delete all partitions and make 1 new partition, Windows makes a second partition and i cannot delete that second partition anymore. -
error after restoring image
surfertje replied to surfertje's topic in Unattended Windows 7/Server 2008R2
This is not the case, i have tried this. When you make a new partition with the Win7 installer, he says that he will make a extra partition. This partition is becomming 100 mb and there is nothing i can do about it! So now am gonna try gparted. And then making no partitions with the win7 installer but making them all with Gparted and then install Win7 on the partition that i want it. I must try this.. -
error after restoring image
surfertje replied to surfertje's topic in Unattended Windows 7/Server 2008R2
So it is not really nessecairy to install the system partition? If i boot with the Win 7 dvd and remove all partition making 1 new one he makes 2 partition all by himself... However when i not make a new partition and go on with the installation he seems not to make a system partition. I haven't tested this yet because my Dell crashes, so monday i am gonna test that and try it with only one partition if Win7 lets me... -
error after restoring image
surfertje replied to surfertje's topic in Unattended Windows 7/Server 2008R2
I have tried this but assigning a driveletter to the other partition is goiing wrong, this is what i do: Diskpart select disk 0 clean create part pri size=200 sel part 1 active format fs=ntfs quick create part pri sel part 2 format fs=ntfs quick assign letter=c After this last command an error occured: not empty, see the even log for details.. But i really would like to use 1 partition, only the Win7 installation partition. There are people who using only 1 partition with Win 7 installed so it must be possible. What scripts are you reffering about? -
error after restoring image
surfertje replied to surfertje's topic in Unattended Windows 7/Server 2008R2
Then i have to restore both parts also? The posting where there are two disks was indeed the USB drive because there is where i boot Winpe from with the unsysprepped images. But I do believe that Win7 is booting from partition 2 because restoring with diskpart running and create one partition doesn't work. So i must indeed make 2 partitions. When i delete all partitions with diskpart and install Win7 (proberly Win7 won't allow me to do this without the system parttition) on 1 partition and then image and go on with diskpart creating one partition and then restoring Win7, could that work? -
error after restoring image
surfertje replied to surfertje's topic in Unattended Windows 7/Server 2008R2
Now i am finally getting to the point that imaging is goiing to work..? but now the imagex /acapture is failing. That is: it seems that imagex /capture is capturing the drive and says that he is succesfully finished but in reality he has not much done. It is to fast ready. I have read on the internet that he standard captures the first partition so this is proberly the system partition from 100 mb? How can i get around this problem? I must capture the Windows partition not the small system partition? -
error after restoring image
surfertje replied to surfertje's topic in Unattended Windows 7/Server 2008R2
I see it, above example is making partition 2 as the Windows partition. Gonna try this now. -
error after restoring image
surfertje replied to surfertje's topic in Unattended Windows 7/Server 2008R2
Win7 installed. In Diskmgmt he shows 2 partitions. One is 100 mb reserved, active and primairy. The second is the rest of the size where Windows is installed. So when i have this right Windows boots from partition 2? Then when i make a image of it and restore that image i must make 2 partitions and make the second one active? Can someone tell me how to do this. -
error after restoring image
surfertje replied to surfertje's topic in Unattended Windows 7/Server 2008R2
And most are annoyed by this small Part and want it removed There are methods you can make 1 whole partition minus the 100mb if you don't want the WinRE partition. Do above, delete the large part, extend the 100 or 200mb out to end. EDIT: All I am saying is I'd delete the 976mb to start fresh with 7. You can add a drive letter to it in Disk manager and see whats on it. I have put the Windows 7 cd in de PC. Starting the install but Windows 7 doesn't see the small partition.... So he is now installing. I shall have a look later to see in Windows itself if there are two partitions. Because if the small partition is still there, Windows boots from the second partition if the small one is partition 0. So then i must alter my script which runs diskpart to make 2 partitions and make the second one active..... I have tried to delete the partitions with diskpart but that doesn't work for me mor with delete disk nor with delete partitiion. -
error after restoring image
surfertje replied to surfertje's topic in Unattended Windows 7/Server 2008R2
Disk's are not the same as partiions with Diskpart i guess? I have installed Windows 7 several times now, one time i installed over the existing Windows. The next time installed after removing the current partiitions. Then Windows says that he needs a extra partition. After that, making a image and restoring i did the above commands from Diskpart. Maybe the extra idsk / partition (now i don't know what it is anymore a disk or partition although i have only one disk drive....) is because i did it with diskpart. I want to start all over again to make the image work (that is: to restore it without putting the recovery disk in it...). What must i do to wipe the disks and start over with Diskpart? If Windows 7 needs a extra partition so be it but when my image is restored i run a diskpart on it every time i do a restore that cleans the disk, make 1 partition and make it active and then restore the image to that partition. So when WIndows need a extra partition i believe that the diskpart command that runs when i do a restore must boot from the second partition. I think there is something wrong with the partition where Windows wants to boot from.. It is importent for me that aboves goiing to work because this is becoming my base image without sysprep. THen install all the software and run sysprep i have my rollout image.. -
error after restoring image
surfertje replied to surfertje's topic in Unattended Windows 7/Server 2008R2
Some additional information: I noticed with list disk that there are 2 disks: disk 0 and 1 one is 75 Gb and the other is 967 mb. I believe i must delete (but this does not goiing well) disk 1 and create the two partition on disk 0? -
error after restoring image
surfertje replied to surfertje's topic in Unattended Windows 7/Server 2008R2
I jave tried the diskpart steps but it go's wrong with the command: assign letter=c diskpart says that an erro encouterd: the directory is not empty, see the event log for details. But i have clean the disk and made the partitions so there could not be any data.... -
error after restoring image
surfertje replied to surfertje's topic in Unattended Windows 7/Server 2008R2
Thx. I understand the first code but why the second: i believe the 1 is for the number of the type of Windows installation in the .wim file (is this correct?). But why the bcdboot.exe? -
error after restoring image
surfertje replied to surfertje's topic in Unattended Windows 7/Server 2008R2
Yes it is a OEM version from Dell. But i wipe the hard drive with diskpart. When i restore a image i first start diskpart and clean the drive, making a new parttion. This has always worked for Windows Xp as long as the startup partition in the boot.ini was correct. The cd is delivered by a Dell pc. I thought that the cd's deliverd by Dell can be imaged and restored...