![]() ![]() |
Apr 20 2008, 07:16 AM
Post
#1
|
|
|
Newbie Group: Members Posts: 22 Joined: 25-May 07 Member No.: 140582 OS: XP Pro x86
|
Hi,
I have an weird issue with Windows PE 2.1. Absolutely every time I mount my PE image using imagex and then unmount it even without making ANY changes, my image size always increases about megabyte. What might cause this, some log or temporary files will be created and included? This post has been edited by Raynor: Apr 20 2008, 07:17 AM |
|
|
|
Apr 21 2008, 03:36 AM
Post
#2
|
|
|
Newbie Group: Members Posts: 28 Joined: 2-June 06 Member No.: 97844 OS: XP Pro x86
|
Hi, I have an weird issue with Windows PE 2.1. Absolutely every time I mount my PE image using imagex and then unmount it even without making ANY changes, my image size always increases about megabyte. What might cause this, some log or temporary files will be created and included? I forget where this space is taken up, but this is standard though. The best way is to script the PE build and after you've decided what changes you want to make, run the build again which will keep the size to a minimum. |
|
|
|
Apr 21 2008, 06:31 AM
Post
#3
|
|
|
Junior ![]() Group: Members Posts: 55 Joined: 26-October 07 Member No.: 159852 OS: none
|
It has to do with the way the WIM filter driver in Windows functions. In order to get a WIM file sized correctly you have to do an imagex /export.
|
|
|
|
Apr 21 2008, 07:24 AM
Post
#4
|
|
|
Newbie Group: Members Posts: 22 Joined: 25-May 07 Member No.: 140582 OS: XP Pro x86
|
|
|
|
|
Apr 21 2008, 08:33 AM
Post
#5
|
|
|
K-Mart-ian Legend ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 1148 Joined: 28-April 06 From: Buffalo, NY Member No.: 94953 OS: Server 2008 x64
|
QUOTE imagex /export src_file src_number src_name dest_file dest_name {/boot | /check | /compress [type] | /ref [splitwim.swm]} and QUOTE Exports a copy of the specified .wim file to another .wim file. The source and destination files must use the same compression type. You can also optimize an image by exporting to a new image file. When you modify an image, ImageX stores additional resource files that increase the overall size of the image. Exporting the image will remove unnecessary resource files. Important: You must run this option from Windows PE. Additionally, you must ensure that you have enough disk space for the /export option to run. If you run out of disk space while the /export option runs, you might corrupt the Destination.wim file. src_file Specifies the file path of the .wim file that contains the image to be copied src_number Specifies the number that references the specific volume within the .wim file. src_name Specifies the name that identifies the image in the source .wim file. dest_file Specifies the file path of the .wim file that will receive the image copy. dest_name Specifies the unique name for the image in the destination .wim file. You can also set the following options: /boot Marks a volume image as bootable. Available only for Windows PE images. Only one volume image can be marked as bootable within a .wim file. /check Checks the integrity of the .wim file. If not provided, existing checks are removed. /compress [maximum | fast | none] Specifies the type of compression used for the initial capture operation. The maximum option provides the best compression but takes the longest time to capture the image. The fast option provides faster image compression but the resulting files are larger than those compressed with the maximum option. This is also the default compression type, used if you leave this parameter blank. The none option does not compress the captured image at all. /ref splitwim.swm Enables the reference of split .wim files (SWMs). splitwim.swm is the name and location of additional split files. Wildcards are accepted. For example, imagex /export d:\imaging\data.wim d:\imaging\sample.wim 1 This is from the WinPE doc under ImageX Command-Line Options. |
|
|
|
Apr 21 2008, 10:56 AM
Post
#6
|
|
|
Newbie Group: Members Posts: 22 Joined: 25-May 07 Member No.: 140582 OS: XP Pro x86
|
Thanks, I'll try that.
|
|
|
|
![]() ![]() |
| Lo-Fi Version | Time is now: 20th November 2008 - 04:12 AM |