Capture an image from WinPE boot Disk ??
- Dear all,
I would like to capture my image from my reference system and I face some trouble.
By using the following command from my boor WinPE disk :
imagex /capture /compress maximum /check c: d:\myimage.wim
the problem I have here is that "d" is used as my CD rom and I have no other available hard drive except C which is the image I need to capture.
Then I plug an USB drive and change teh command to be :
imagex /capture /compress maximum /check c: e:\myimage.wim
At that time I get an access denied on my USB drive becasue it seem that the USB drive I have has a kind of boot partition on it with and I cannot write on it.
When I plug it in an otehr PC, this firs boot partition of my USB drive is not writtable and windows explorer display 2 drives letter when using it but when using after booting WinPE, I see only the system read only partition of that drive.
How can I do ?
Do it means that I have to format my all USB drive ?
PS : Thsi usb drive is a WD 300 GB Passport
thnaks for help
serge
Your experience is build from the one of others
Answers
Hi Serge,
Thank you for your reply and efforts.
This issue is probably cause by lack of Raid Controller driver in the WinPE disk.
Now I suggest trying below:
Save your Raid Controller driver in your data drive of your USB hard drive. Boot into your WinPE disk. At a command prompt, type drvload.exe <inf_path> and press Enter
Note: inf_path is the path to your Raid Controller driver (in your data drive of your USB hard drive).
Then run the diskpart list volume command again. Will your local hard drive partitions be listed now?
Tim Quan - MSFT
- Marked As Answer byTim Quan - MSFTMSFT, ModeratorThursday, November 12, 2009 1:45 AM
All Replies
- try using either "diskpart" and then "list volumes" to check drive letters, or start notepad just so you can see and browse to take a mental note of where you want to save it. My guess is that second partitoin on the USB will show up as the f drive.
- ok thnaks I will try that and let you know.
reagrds
serge
Your experience is build from the one of others Hi Serge,
If your C drive is big enough, try this:
imagex /capture /compress maximum /check c: c:\myimage.wim
Tim Quan - MSFT- I have run the diskpart and if I run follyoing commad here what I get :
Diskpart list disk => disk 0
Diskpart list volume =>
D : CD ROM
E : WD system drive (the boot partition of my USB hard drive)
C: myPassport (My data drive of my USB hard drive)
So it is normal that diskpart is not seeing here at this volume list the main system disk to capture ? or is it hidden ?
so if I run the command :
imagex /capture /compress maximum /check c: c:\myimage.wim, then the image fil will be store on my USB drive but then what is the first C drive letter in the command, is it the main systm disk that I am capturing or is it my USB drive too ?
thnaks for help
Your experience is build from the one of others - This is really strange, why when booting from WinPE CD and run the disk part list, I cannot see my physicall drive ?
My system is based on an OEM RAID controller configured as RAID 1 with 2 hard disk SATA of 500GB each.
It sounds that the WinPE boot disk needs somehow to load the OEM Raid controller driver to see those local HD drive no ?
If it is so how to proceed to include those OEM driver in boot WinPE disk and have them loaded when bootiong from this CD.
If it not the case, why my 500 gb hard drive are not seen ?
thnaks for help
regards
serge
Your experience is build from the one of others Hi Serge,
Are you trying to capture the system drive? Is its drive letter C in the running system?
What’s the result if you run the diskpart list volume command in the running system (not in a WinPE environment)?
What’s the result if you run the diskpart list volume command when booting into a Windows Vista or Windows Server 2008 disk?
Steps:
1. Put the Windows Vista installation disc in the disc drive, and then start the computer.
2. Press a key when the message indicating "Press any key to boot from CD or DVD …". appears.
3. Select a language, a time, a currency, and a keyboard or another input method, and then click Next.
4. Click Repair your computer.
5. Click the operating system that you want to repair, and then click Next.
6. In the System Recovery Options dialog box, click Command Prompt.
7. Run the diskpart list volume command.
Tim Quan - MSFT
- If I were you, try getting a storage device that you can format the device, for simplicity sake. When you are trying to learn something, try to keep it as simple as possible. My 0.02$
- HI Tim Quan
Here are my answers :
"Are you trying to capture the system drive?"
Yes, I want to capture the system drive which is initilially devide in two partition C and D
" Is its drive letter C in the running system?"In the running sytem my main drive is split in C and D partition which identify Disk 0
"What’s the result if you run the diskpart list volume command in the running system (not in a WinPE environment)?"
DISKPART LIST
Disk Status size
=======================
Disk 0 Online 466 GB
DISKPART LIST VOLUME
Volume Letr Label fs type size
==========================================
Volume 0 E CD ROM CDFS DVD-ROM
Volume 2 C NTFS Partition 224GB
Volume 3 D NTFS partition 222 GB
"What’s the result if you run the diskpart list volume command when booting into a Windows Vista or Windows Server 2008 disk?"
Doing so I follow you steps until point 4, then I do not see any operating system in the list to be repaired, what I have to do first is :
1 - click the Load Driver button
2 - Provide the inf files for my Raid controller
3- Select my RAID controller card from teh list
4- Click Add driver
5- Then a this time I can see the oprataing system in the list and can select it
6- Running then DISKPART gives me exact information as above
So it means that in ordert to get my main disk visible I have to load the drivers, so then it might be that the WInPE boot disk need to load at certain point my Raid controller drivers.
any idea how to proceed ?
Do I have to rebuild my WinPE boot disk in order in includes my RAID drivers?
Thnaks helping on how to solve my issue,
regards
serge
Your experience is build from the one of others Hi Serge,
Thank you for your reply and efforts.
This issue is probably cause by lack of Raid Controller driver in the WinPE disk.
Now I suggest trying below:
Save your Raid Controller driver in your data drive of your USB hard drive. Boot into your WinPE disk. At a command prompt, type drvload.exe <inf_path> and press Enter
Note: inf_path is the path to your Raid Controller driver (in your data drive of your USB hard drive).
Then run the diskpart list volume command again. Will your local hard drive partitions be listed now?
Tim Quan - MSFT
- Marked As Answer byTim Quan - MSFTMSFT, ModeratorThursday, November 12, 2009 1:45 AM
- Hi TIm,
We are close. I have load the driver as you mentionned and now I can see my disk as follow :
DISKPART LIST VOLUME
Volume Letr Label fs type size
==========================================
Volume 0 E CD ROM CDFS DVD-ROM
Volume 2 C NTFS Partition 224GB
Volume 3 D NTFS partition 222 GB
So now quetsion are :
1 - HOw can I create that WinPE in order that I can load driver on boot ? (thnaks for step by step instaruction as before would help)
2 - How can I capture my reference PC image with IMAGEX in order that the .WIN include both partition C and D
Thanks for help
regards
serge
Your experience is build from the one of others Hi Serge,
You can use the peimg tool to add the Raid Controller driver to the WinPE image permanently:
Add a Device Driver to an Offline Windows PE Image
http://technet.microsoft.com/en-us/library/cc749350(WS.10).aspx
Then when you boot into this WinPE image, the Raid Controller driver will be loaded automatically.
We cannot capture Drive C and Drive D at the same time. To capture them into one .wim file, you may try commands below:
Imagex /capture C: E:\capture.wim “Drive C”
Imagex /append D: E:\capture.wim “Drive D” /verify
Note: I am assuming E is your USB data drive.
Hope it helps.
Tim Quan - MSFT
- Thnaks I will try that.
So as I have mention is this post my main drive is split in 2 physical partition C and D
So if I am using what you suggest as :
Imagex /capture C: E:\capture.wim “Drive C”
Imagex /append D: E:\capture.wim “Drive D” /verify
After capturing both drive in the same WIM image, then I have a single capture.wim file on my USB drive.
Then when restore operation proceed, does the partition will be automatically created based on image content or do I have to create my both partition first manually ?
In other words if I am running the following command :
imagex /apply e:\capture.wim 1 c:
will it create C and D partition from my image ?
thnaks for help
serge
Your experience is build from the one of others Hi Serge,
No, the partitions will not be created automatically. You should create the partition yourself first before applying the image. Then use the commands like below to apply the image:
imagex /apply e:\capture.wim 1 c:
imagex /apply e:\capture.wim 2 d:
Tim Quan - MSFT

