Download: NAME SYNOPSIS DESCRIPTION
NAME wimlib-imagex-capture, wimlib-imagex-append − Create or append a WIM image SYNOPSIS wimlib-imagex capture SOURCE WIMFILE [IMAGE_NAME [IMAGE_DESCRIPTION]] [OPTION...] wimlib-imagex append SOURCE WIMFILE [IMAGE_NAME [IMAGE_DESCRIPTION]] [OPTION...] DESCRIPTION The wimlib-imagex capture and wimlib-imagex append commands create a Windows Imaging (WIM) image from a directory tree. The wimlib-imagex capture command creates a new WIM file containing the captured image, while the wimlib-imagex append command appends the captured image to an existing WIM file. These commands are also available as ...
Author:
Walton Shared: 7/30/19
Downloads: 866 Views: 2686
Content
NAME
wimlib-imagex-capture, wimlib-imagex-append − Create or append a WIM imageSYNOPSIS
wimlib-imagex capture SOURCE WIMFILE [IMAGE_NAME [IMAGE_DESCRIPTION]] [OPTION...] wimlib-imagex append SOURCE WIMFILE [IMAGE_NAME [IMAGE_DESCRIPTION]] [OPTION...]DESCRIPTION
The wimlib-imagex capture and wimlib-imagex append commands create a Windows Imaging (WIM) image from a directory tree. The wimlib-imagex capture command creates a new WIM file containing the captured image, while the wimlib-imagex append command appends the captured image to an existing WIM file. These commands are also available as simply wimcapture and wimappend if the appropriate hard links or batch files are installed. Background information: A WIM image is an independent directory tree in a WIM file. A WIM file may contain any number of separate images. WIM files are single-instancing with regards to file data, so a file is stored only one time in the entire WIM, regardless of how many images the file appears in. SOURCE specifies the location of the files to create the new WIM image from. If SOURCE is a directory, the WIM image is captured from that directory (see DIRECTORY CAPTURE (UNIX) or DIRECTORY CAPTURE (WINDOWS)). Alternatively, if the -source-list option is specified, SOURCE is interpreted as a file that itself provides a list of files and directories to include in the new WIM image. Still alterna- tively, only on UNIX-like systems, if SOURCE is a regular file or block device, it is interpreted as an NTFS volume from which a WIM image is to be captured using libntfs-3g (see NTFS VOLUME CAPTURE (UNIX)). IMAGE_NAME and IMAGE_DESCRIPTION specify the name and description to give the new WIM image. If IMAGE_NAME is not specified, it defaults to the base name (excluding path to parent directory) of SOURCE, but if this name already exists in WIMFILE, a unique suffix is added. Otherwise, IMAGE_NAME must be either a name that does not already exist as an image in WIMFILE, or the empty string to create an image with no name. If IMAGE_DESCRIPTION is not specified, no description is given to the new image. As a special case, if WIMFILE is "-", the -pipable option is assumed and the WIM file is written to stan- dard output in a special pipable format. See the documentation for -pipable for more details. DIRECTORY CAPTURE (UNIX) This section documents how wimlib-imagex captures files from a directory tree on UNIX-like systems. See DIRECTORY CAPTURE (WINDOWS) for the corresponding documentation for Windows. On UNIX-like systems, when SOURCE specifies a directory or a symbolic link to a directory, the WIM image will be captured from the directory tree rooted at this directory. This directory can be on any type of filesystem, and mount points are followed recursively. Howev er, it is important to keep in mind that the WIM format was designed for Windows, so it cannot store all possible metadata from filesystems used on UNIX-like systems. The main information that will not be stored is: • UNIX file owners, groups, and modes. (Exception: see the -unix-data option.) As a result, file per- missions will not be stored, and files that are neither regular files, directories, nor symbolic links, such as device files and FIFOs, cannot be captured and will be excluded by default. • Extended attributes. This mainly includes extensions to the traditional UNIX security model, such as SELinux security labels, POSIX ACLs, and capabilities labels. Notes: hard links and symbolic links are supported by the WIM format and are stored. (Symbolic links are turned into "native" Windows symbolic links via reparse points; this process is reversible, e.g. automatically by wimlib-imagex apply.) Timestamps are stored with 100 nanosecond granularity and include last modi- fication time (mtime) and last access time (atime), but not last status change time (ctime). NTFS VOLUME CAPTURE (UNIX) This section documents how wimlib-imagex captures files directly from an NTFS volume image on UNIX- like systems. wimlib-imagex 1.6.0 January 2014 1, On UNIX-like systems, a special image capture mode is entered when SOURCE is a regular file or block device. In this mode, SOURCE is assumed to be an NTFS volume or volume image, and wimlib-imagex will capture a WIM image containing the full contents of the NTFS volume, including NTFS-specific data. This is done using libntfs-3g. Please note that the NTFS volume capture mode is not entered if SOURCE is a directory, even if an NTFS filesystem is mounted on SOURCE using ntfs-3g. You must specify the NTFS volume itself (and it must be unmounted, and you must have permission to read from it). The NTFS volume capture mode attempts to capture as much data and metadata as possible, including: • All data streams of all unencrypted files, including the unnamed data stream as well as all named data streams. • Reparse points, including symbolic links, junction points, and other reparse points. • File and directory creation, access, and modification timestamps, using the native NTFS resolution of 100 nanoseconds. • Windows security descriptors, including all components (owner, group, DACL, and SACL). • DOS/Windows file attribute flags. • All names of all files, including names in the Win32 namespace, DOS namespace, Win32+DOS namespace, and POSIX namespace. This includes hard links. However, the main limitations of this NTFS volume capture mode are: • Encrypted files are excluded by default. Although ntfs-3g can read their data, they need to be stored in the WIM file in a special format that wimlib does not yet support (except on Windows, where wimlib can treat the data as opaque and hand it off to the appropriate API function). • The sparse attribute on sparse files will be saved, but the data stored will be the full data of the file rather than the "sparse" data. (The data is, however, subject to the WIM format’s compression.) DIRECTORY CAPTURE (WINDOWS) On Windows, wimlib-imagex capture and wimlib-imagex append natively support Windows-specific and NTFS-specific data. They therefore act similarly to the corresponding commands of Microsoft’s ImageX. For best results, the directory being captured should be on an NTFS volume and wimlib-imagex should be run with Administrator privileges; however, non-NTFS filesystems and running without Administrator priv- ileges are also supported. On Windows, wimlib-imagex capture and wimlib-imagex append try to archive as much data and meta- data as possible, including: • All data streams of all files. • Reparse points, including symbolic links, junction points, and other reparse points, if supported by the source filesystem. (Note: see -rpfix and -norpfix for documentation on exactly how absolute sym- bolic links and junctions are captured.) • File and directory creation, access, and modification timestamps. These are stored with Windows NT’s native timestamp resolution of 100 nanoseconds. • Security descriptors, if supported by the source filesystem and -no-acls is not specified. However, beware that unless -strict-acls is specified, the security descriptors for individual files or directories may be omitted or only partially captured if the user does not have permission to read them, which can be a problem if wimlib-imagex is run as a non-Administrator. • File attributes, including hidden, sparse, compressed, encrypted, etc. Encrypted files will be stored in encrypted form rather than in plain text. Transparently compressed files will be read as uncompressed and stored subject to the WIM’s own compression. There is no special handling for storing sparse files, but they are likely to compress to a small size. • DOS names (8.3) names of files; however, the failure to read them is not considered an error condition. wimlib-imagex 1.6.0 January 2014 2, • Hard links, if supported by the source filesystem. Note: the capture process is reversible, since when wimlib-imagex apply (on Windows) extracts the cap- tured WIM image, it will extract all of the above information, at least to the extent supported by the destina- tion filesystem. One exception is that since encrypted files are stored as encrypted, their data will not be available if restored on a Windows system that does not have the decryption key.OPTIONS
-boot Specifies that the new image is to be made the bootable image of the WIM archive. -check For wimlib-imagex append, before performing the append operation, check the integrity of WIM- FILE if an integrity table is present. Furthermore, include an integrity table in the new WIM file (wimlib-imagex capture) or the modified WIM file (wimlib-imagex append). If this option is not specified, no integrity table is included in a WIM file created with wimlib-imagex capture, while a WIM file updated with wimlib-imagex append will be written with an integrity table if and only if one was present before. -compress=TYPE Specifies the compression type for the new WIM file. This flag is only valid for wimlib-imagex capture, since the compression mode for wimlib-imagex append must be the same as that of the existing WIM (and is automatically set as such). TYPE may be "none", "fast", or "maximum". As of wimlib v1.5.3, the default is LZX compression, but in a special mode that is somewhere in between "fast" and "maximum" in terms of speed and compression ratio. Use -compress=maxi- mum to explicitly request a better compression ratio at the cost of more time spent compressing. You may also specify the actual names of the compression algorithms, "XPRESS" and "LZX", instead of "fast" and "maximum", respectively. As of wimlib v1.6.0, a third compression type, "recovery" or "LZMS", is also available. Its use is generally not recommended because other than wimlib itself, as of Windows 8 it is only compatible with WIMGAPI and Windows Setup (not even ImageX or Dism). However, LZMS is the compres- sion algorithm used in packed resources created if the -pack-streams option is specified. -compress-slow Spend even more time compressing the data to achieve a very slightly better compression ratio. This currently only has an effect for LZX ("maximum", the default) and LZMS ("recovery") com- pression. -chunk-size=SIZE Set the WIM compression chunk size to SIZE. Using this option is not recommended because WIM chunk sizes other than the default of 32768 have varying levels of compatibility with Microsoft’s software (depending on the compression type, chunk size, and software version). In addition, wim- lib versions before 1.6.0 do not support alternate chunk sizes. But if you decide to use this option regardless, you can choose a chunk size that is a power of 2 greater than or equal to 2ˆ15 (32768) up to a maximum determined by the compression format. Larger chunks mean larger LZ77 dictionar- ies and better compression ratios on sufficiently large files, but slower random access. For LZX ("maximum") compression, the maximum allowed chunk size is 2ˆ21 (2097152), and for XPRESS ("fast") and LZMS ("recovery") compression, the maximum allowed chunk size is 2ˆ26 (67108644). -pack-streams Create a "solid" archive that compresses multiple unique streams ("files") together, rather than each unique stream ("file") independently. This can result in a significantly better compression ratio, but this format greatly decreases the performance of random access to the data, as may occur on a WIM mounted with wimlib-imagex mount. Also, WIMs created using this option use a different version number in their header and as of Windows 8 are only compatible with Windows Setup and WIM- GAPI, not even ImageX and Dism. wimlib-imagex 1.6.0 January 2014 3, Packed resources use a compression type and chunk size that is independent of the WIM’s "default compression type" and "default chunk size" (which may be adjusted by the -compress and -chunk-size options, respectively). For compatibility reasons, wimlib-imagex capture currently has no option to change the compression type or chunk size used in packed resources. -threads=NUM_THREADS Number of threads to use for compressing data. Default: autodetect (number of available CPUs). -rebuild For wimlib-imagex append: rebuild the entire WIM rather than appending the new data to the end of it. Rebuilding the WIM is slower, but will save a little bit of space that would otherwise be left as a hole in the WIM. Also see wimlib-imagex optimize(1). -flags=EDITIONID Specify a string to use in theNOTES
wimlib-imagex append does not support appending an image to a split WIM. It is safe to abort an wimlib-imagex append command partway through; however, after doing this, it is rec- ommended to run wimlib-imagex optimize to remove any data that was appended to the physical WIM file but not yet incorporated into the structure of the WIM, unless the WIM was being fully rebuilt (e.g. with -rebuild), in which case you should delete the temporary file left over. wimlib-imagex creates WIMs compatible with Microsoft’s software (imagex.exe, Dism.exe, wimgapi.dll), with some caveats: • With wimlib-imagex on UNIX-like systems, it is possible to create a WIM image containing files with names differing only in case, or files with names containing the characters ’:’, ’*’, ’?’, ’"’, ’<’, ’>’, ’|’, or ’\’, which are valid on POSIX-compliant filesystems but not Windows. Be warned that such files will not be extracted by default by the Windows version of wimlib-imagex, and (even worse) wimlib-imagex 1.6.0 January 2014 7, Microsoft’s ImageX can be confused by such names and quit extracting the image partway through. (It perhaps is worth pointing out that Windows’ own default filesystem, NTFS, supports these charac- ters, although Windows does not!) • WIMs captured with -unix-data should be assumed to be incompatible with Microsoft’s software. • Pipable WIMs are incompatible with Microsoft’s software. Pipable WIMs are created only if WIM- FILE was specified as "-" (standard output) or if the -pipable flag was specified. • WIMs captured with a non-default chunk size (with the -chunk-size option) or as solid archives (with the -pack-streams option) have varying levels of compatibility with Microsoft’s software. The best compatibility is achieved with WIMGAPI itelf (not ImageX or Dism) on Windows 8 or later.EXAMPLES
First example: Create a new WIM ’mywim.wim’ with "maximum" (LZX) compression that will contain a captured image of the directory tree ’somedir’. Note that the image name need not be specified and will default to ’somedir’: wimlib-imagex capture somedir mywim.wim -compress=maximum or, if the wimcapture hard link or batch file has been installed, the abbreviated form can be used: wimcapture somedir mywim.wim The remaining examples will use the long form, however. Next, append the image of a different directory tree to the WIM created above: wimlib-imagex append anotherdir mywim.wim Easy enough, and the above examples of imaging directory trees work on both UNIX-like systems and Windows. Next, capture a WIM with several non-default options, including "fast" (XPRESS) compression, an integrity table, no messing with absolute symbolic links, and an image name and description: wimlib-imagex capture somedir mywim.wim -compress=fast \ -check -norpfix "Some Name" "Some Description" Capture an entire NTFS volume into a new WIM file and name the image "Windows 7". On UNIX-like systems, this requires using the special mode described in NTFS VOLUME CAPTURE (UNIX) where SOURCE is a file or block device containing an NTFS filesystem: wimlib-imagex capture /dev/sda2 windows7.wim "Windows 7" or, on Windows, to capture a full NTFS volume you instead need to specify the root directory of the mounted volume, for example: wimlib-imagex capture E:\ windows7.wim "Windows 7" Same as above example with capturing an NTFS volume from wimlib-imagex running on a UNIX-like system, but capture the WIM in the wimlib-specific "pipable" format that can be piped to wimlib-imagex apply: wimlib-imagex capture /dev/sda2 windows7.wim "Windows 7" \ -pipable Same as above, but instead of writing the pipable WIM to the file "windows7.wim", write it directly to stan- dard output through a pipe into some other program "someprog", which could, for example, be a program or script that streams the data to a server. Note that -pipable need not be explicitly specified when using standard output as the WIM "file": wimlib-imagex capture /dev/sda2 - "Windows 7" | someprog SEE ALSO wimlib-imagex(1), wimlib-imagex-apply(1) wimlib-imagex 1.6.0 January 2014 8]15
Similar documents

WIMLIB-IMAGEX(1) User Commands WIMLIB-IMAGEX(1) NAME wimlib-imagex-optimize − Optimize a WIM archive SYNOPSIS wimlib-imagex optimize WIMFILE [OPTION...] DESCRIPTION wimlib-imagex optimize will rebuild the stand-alone WIM WIMFILE. The new WIM is written to a tem- porary file, and it is renamed to the

NAME wimlib-imagex-update − Update a WIM image SYNOPSIS wimlib-imagex update WIMFILE [IMAGE] [OPTION...] [< CMDFILE] DESCRIPTION wimlib-imagex update modifies the specified IMAGE in the Windows Imaging (WIM) file WIMFILE by adding, deleting, or renaming files or directories in it. This command is al

NAME wimupdate − Update a WIM image SYNOPSIS wimupdate WIMFILE [IMAGE] [OPTION...] [< CMDFILE] DESCRIPTION wimupdate, or equivalently wimlib-imagex update, modifies the specified IMAGE in the Windows Imag- ing (WIM) archive WIMFILE by adding, deleting, or renaming files or directories in it. IMAGE s

Windows Installation Guide Installation Prep………………………...1 Step-by-Step Installer Guide………..1-3 Quick Start…………………………….3-4 Training & Resources.…………..……..5 1. Check for updates If you are installing from a product DVD, then it is important to check for a later version of your software, as the install

William Shakespeare Sonnets I - CLIV Sonnet I Sonnet V From fairest creatures we desire increase, Those hours, that with gentle work did frame That thereby beauty's rose might never die, The lovely gaze where every eye doth dwell, But as the riper should by time decease, Will play the tyrants to the

WinchX! Winch Launch Simulation for Flight Simulator X Version 1.0 24.07.2009 Peter Lürkens Peter . luerkens ( @ t – online . de ) WinchX! is an add-on for Microsoft Flight Simulator X for the simulation of a winch launch of a glider aircraft. It allows to use winch launch anywhere on the world with

01_260449 ffirs.qxp 2/26/08 12:05 AM Page i Canon® EOS 40D Digital Field Guide Charlotte K. Lowrie 01_260449 ffirs.qxp 2/26/08 12:05 AM Page i Canon® EOS 40D Digital Field Guide Charlotte K. Lowrie 01_260449 ffirs.qxp 2/26/08 12:05 AM Page ii Canon® EOS 40D Digital Field Guide Published by Wiley Pub

spine=.71” Get More and Do More at Dummies.com® Start with FREE Cheat Sheets Cheat Sheets include • Checklists • Charts • Common Instructions • And Other Good Stuff! To access the Cheat Sheet created specifically for this book, go to www.dummies.com/cheatsheet/windpower Get Smart at Dummies.com Dumm

This e-book is a 40-page excerpt of the printed book. This e-book is a 40-page excerpt of the printed book. Windows Home Server For Dummies® Chapter 10: Starting Remote Access & Chapter 17: Breaking into the Server ISBN: 978-0-470-18592-6 Copyright of Wiley Publishing, Inc. Indianapolis, Indiana Cha

BT Module Version update procedure 0.Download the BT update file. Unzip the file "BT firmware.zip". Save the file "FC6000S_01-27-20_64_Bx_xxxSx_PIONEER_44100_SAFEUPDATE.plf" onto the hardrive of the PC. 1.Bluetooth Memory clear *Note: Pairing information needs to be cleared. a.Turn the BU & ACC of t

VCM II Wireless User Manual Release: March 20, 2012 CONTENTS Introduction ... 3 Download and Install IDS Software ... 3 Prepare the COMPUTER for a Wireless VCM II ... 3 Configure A Wireless VCM II using the Supplied D-Link Wireless Adapter (If Equipped) ... 4 Instructions: First Time Connecting Wire

© 2002. All rights reserved. Black Box Corporation. 802.11: Wireless Networking A white paper 1.0 Introduction In the past decade, wireless has grown from an obscure and expensive curiosity into a practi- cal and affordable networking technology. Today’s most common wireless standard is 802.11b Ethe

Wireless Hacking Introduction to Wireless Hacking with Kali Linux Giulio D’Agostino @Julyo78 Wireless Hacking Pre-requisites NONE Post-reading You will know: Hidden networks offer a real challenge to a hacker. • What are the different flavors of wireless networks you'll encounter and how difficult i

The Who Formed 1964 in London, England Disbanded 1983 Years Active Group Members Roger Daltrey Pete Townshend Keith Moon John Entwistle Kenney Jones Genres Rock British Psychedelia, Album Rock, Mod, Pop/Rock, British Invasion, Hard Styles Rock, Rock & Roll Irreverent, Raucous, Humorous, Intense, Con

A guide to using WinGLink® Ver 2.1.1 By GEOSYSTEM SRL WinGLink® User's Guide, Release 2.1.1 This Manual is produced solely for WinGLink Users Reference and circulation is restricted to registered WinGLink® Users. Reproduction of the User’s Manual in any form is strictly forbidden. Copyright © 1998-2

Intel PROSet For Windows* Device Manager WMI Provider User‟s Guide Wh ite Paper Revi sion 1.8 Contents Introduction ... 3 Technology Overview ... 4 Web-based Enterprise Management ... 4 Windows Management Instrumentation ... 4 Installed Files ... 6 Namespaces ... 7 Locales and Localization ... 7 WBE

Complete WolfcamQL tutorial Written by earth_quake in November 2013. Update for WolfcamQL 10.3 Please distribute, but credit earth_quake. I hope this is useful! Post problems to “WolfcamQL :D” on QL forums, or visit #WolfcamQL in IRC ~Basics~ Important Terms Recording Demos ~WolfcamQL~ Installing Wo

Women in Love D.H. Lawrence This eBook was designed and published by Planet PDF. For more free eBooks visit our Web site at http://www.planetpdf.com/. To hear about our latest releases subscribe to the Planet PDF Newsletter. Chapter I SISTERS Ursula and Gudrun Brangwen sat one morning in the window-

Your ready-to-use technical support options. Look inside! Keep this handy! bc CustomerFirst ® Adobe CustomerFirst is a portfolio service options that come with every Adobe product you buy. Our award-winning service offers person-to-person telephone support, Web messaging, and unlimited 24-hour acces

Using VMware Workstation Player for Windows Workstation 12 Player This document supports the version of each product listed and supports all subsequent versions until the document is replaced by a new edition. To check for more recent editions of this document, see http://www.vmware.com/support/pubs

Using VMware Workstation Pro 24 SEP 2018 VMware Workstation Pro 15.0 You can find the most up-to-date technical documentation on the VMware website at: https://docs.vmware.com/ If you have comments about this documentation, submit your feedback to email is hidden VMware, Inc. 3401 Hillview Ave. Palo

Modern Regression Techniques Using R Modern Regression Techniques UsingRAPractical Guide for Students and Researchers Daniel B. Wright and Kamala London © Daniel B. Wright and Kamala London 2009 First published 2009 Apart from any fair dealing for the purposes of research or private study, or critic

Getting Started with VMware Workstation VMware Workstation 10 This document supports the version of each product listed and supports all subsequent versions until the document is replaced by a new edition. To check for more recent editions of this document, see http://www.vmware.com/support/pubs. EN

Workstation User’s Manual VMware Workstation 7.0 This document supports the version of each product listed and supports all subsequent versions until the document is replaced by a new edition. To check for more recent editions of this document, see http://www.vmware.com/support/pubs. EN-000168-00 Yo

Writing Excel Macros with VBA, 2nd Edition By Steven Roman, Ph.D. Publisher : O'Reilly Pub Date : June 2002 ISBN : 0-596-00359-5 Table of Pages : 560 Contents To achieve the maximum control and flexibility from Microsoft Excel often requires careful custom programming using the VBA (Visual Basic for

Xcode Release Notes! About Xcode 6 Beta ! Supported Configurations! Xcode 6 requires a Mac running OS X 10.9.3 or OS X 10.10. ! Xcode 6 includes SDKs for OS X versions 10.9 and 10.10, and iOS 8. To develop apps targeting prior versions of OS X or iOS, see the section “About SDKs and the iOS Simulato