WIM форматы: Windows жүйесі үшін дискілік бейне форматы
Windows Imaging Format
WIM форматы – Microsoft әзірлеген дискілік бейне форматы. Windows жүйесін орнатуға, қайта орнатуға және аппараттық тәуелсіздікке көмектеседі. Бір файлды бірнеше рет сақтау артықшылығы бар.
Ағылшыншамен салыстырыңыз: абзацты басыңыз — түпнұсқа терезеде ашылады. Абзац астындағы EN түймесі оны мәтін ішінде көрсетеді.
Мазмұны
Кіріспе
Файл пішімі
File format
Windows Imaging Format (WIM) – файлға негізделген дискілік бейне пішімі. Ол Microsoft компаниясы Windows Vista және Windows операциялық жүйелерінің келесі нұсқаларын, сондай-ақ ескі компьютерлерге арналған Windows Fundamentals жүйесін орнатуға көмектесу үшін әзірлеген.
The Windows Imaging Format (WIM) is a file based disk image format. It was developed by Microsoft to help deploy Windows Vista and subsequent versions of the Windows operating system family, as well as Windows Fundamentals for Legacy PCs.
Дизайн
Басқа дискілік кескін форматтары сияқты, WIM файлы да файлдар мен оларға қатысты файлдық жүйенің метадеректерін қамтиды. Дегенмен, секторлық форматтардан (мысалы, ISO немесе VHD) өзгеше, WIM файлға негізделген: WIM-дегі ақпараттың негізгі бірлігі – файл. Файлға негізделгендігінің басты артықшылықтары – аппараттық тәуелсіздік және файлдық жүйе ағашында бірнеше рет сілтеме берілген файлдың бір данасы ретінде сақталуы. Файлдар бір WIM файлында сақталғандықтан, көптеген жеке файлдарды ашу мен жабуға кететін уақыт азаяды. Жергілікті дискідегі мыңдаған жеке файлдарды оқу немесе жазу операциялары аппараттық және бағдарламалық дискілік кэштеу, сондай-ақ деректерді тізбектей оқу және жазу арқылы жеңілдетіледі. WIM файлдары бірнеше дискілік кескіндерді қамтуы мүмкін, оларға сандық индекс немесе бірегей атау арқылы сілтеме жасалады. Бір даналы сақтауды пайдалану арқасында, WIM файлына қосылған әрбір кескінді алдыңғы кескіндермен ортақ ерекшеліктері неғұрлым көп болса, жаңа деректердің көлемі соғұрлым азаяды. WIM файлы бірнеше бөлікке бөліне де алады (ұзартыла алады), олардың кеңейтімдері .WIM болады. WIM кескіндерін жүктеуге болады және Windows жүктеушісі WIM файлынан Windows жүктеуін қолдайды. Windows Vista және одан кейінгі нұсқаларындағы Windows орнату дискілері осындай WIM файлдарын пайдаланады. Бұл жағдайда, BOOT.WIM Windows PE-нің жүктелетін нұсқасын қамтиды, одан орнату жүзеге асырылады. Басқа орнату файлдары INSTALL.WIM-де сақталады. Windows 8.1 нұсқасынан бастап, жүйелік файлдарды жеке жасырылған бөлімге (WIMBoot) сақталған WIM кескіндеріне көшіру арқылы Windows каталогының көлемін азайтуға болады. Windows 10 нұсқасынан бастап жүйелік файлдарды жүйелік дискіде (CompactOS) сығуға болады. WIM үш түрлі LZ77 негізделген сығу алгоритмдерін қолдайды: XPRESS, LZX және LZMS, олардың сығу қатынасы жоғарылаған сайын жылдамдығы төмендейді. Алғашқы екеуі Хэффман кодтауын пайдаланады, ал соңғысы диапазондық кодтаумен адаптивті Хэффман кодтауын қолданады. Сонымен қатар, қатты сығу да қолдауға ие. Қатты сығу және LZMS екеуі де жақында ғана енгізілді, WIMGAPI (Windows 8) және DISM (Windows 8.1) құралдарында қолдау көрсетіледі.
Like other disk image formats, a WIM file contains a set of files and associated filesystem metadata. However, unlike sector based formats (such as ISO or VHD), WIM is file based: the fundamental unit of information in a WIM is a file. The primary advantages of being file based is hardware independence and single instance storage of a file referenced multiple times in the filesystem tree. Since the files are stored inside a single WIM file, the overhead of opening and closing many individual files is reduced. The cost of reading or writing many thousands of individual files on the local disk is negated by hardware and software based disk caching as well as sequential reading and writing of the data. WIM files can contain multiple disk images, which are referenced either by their numerical index or by their unique name. Due to the use of single instance storage, the more each successive disk image has in common with previous images added to the WIM file, the less new data will be added. A WIM can also be split (spanned) into multiple parts, which have the extension. WIM images can be made bootable and Windows boot loader supports booting Windows from a WIM file. Windows Setup DVD in Windows Vista and later use such WIM files. In this case, BOOT. WIM contains a bootable version of Windows PE from which the installation is performed. Other setup files are held in the INSTALL. WIM. Since Windows 8.1, the size of Windows directory can be reduced by moving system files into compressed WIM images stored on a separate hidden partition (WIMBoot). Since Windows 10, system files can be compressed on the system disk (CompactOS). WIM supports three families of LZ77 based compression algorithms in ascending ratio and descending speed: XPRESS, LZX, and LZMS. The former two use Huffman encoding, while the latter uses adaptive Huffman encoding with range coding. There is also support for solid compression. Both solid compression and LZMS are introduced more recently, in WIMGAPI from Windows 8 and DISM from Windows 8.1.
СуретX
ImageX – Windows Imaging Format форматында Windows дискінің кескіндерін жасау, өңдеу және тарату үшін қолданылатын командалық жол құралы. Windows Imaging Interface (WIMGAPI) кітапханасымен бірге, ол тегін Windows автоматтандырылған орнату жиынтығының (WAIK/OPK) құрамында таратылады. Windows Vista нұсқасынан бастап, Windows орнату Windows-ты орнату үшін WAIK API-ді пайдаланады. ImageX-тің алғашқы таралған прототипі 6.0.4007.0 (main.030212 2037) нұсқасы болды. Ол Microsoft OEM серіктестеріне кескіндер жасау технологиясын сынауға мүмкіндік берді және Longhorn alpha прототиптерімен бірдей уақытта әзірленді. Ол алғаш рет Longhorn жобасының Milestone 4 кезеңінде енгізілді және Longhorn-ның кейінгі нұсқаларында қолданылды. 6.0.5384.4 нұсқасы бұрынғы нұсқаларға қарағанда маңызды артықшылықтарды ұсынды, мысалы, тек оқу режимінде және оқу/жазу режимінде каталогтарды қосу мүмкіндігі, бірнеше кескін файлдарына (SWM) бөлу, WIM сүзгі драйвері және жаңа сығылу алгоритмдері. Ол Windows Vista-ның RC (шығару үміткерлері) нұсқаларынан бұрын қолданылған.
ImageX is the command line tool used to create, edit and deploy Windows disk images in the Windows Imaging Format. Along with the underlying Windows Imaging Interface library (WIMGAPI), it is distributed as part of the free Windows Automated Installation Kit (WAIK/OPK). Starting with Windows Vista, Windows Setup uses the WAIK API to install Windows. The first distributed prototype of ImageX was built 6.0.4007.0 (main.030212 2037). It allowed Microsoft OEM partners to experiment with the imaging technology and was developed in parallel with Longhorn alpha prototypes. It was first introduced in Milestone 4 into the Longhorn project and used in later builds of Longhorn. Build 6.0.5384.4 added significant advantages over previous versions, like read only and read/write folder mounting capabilities, splitting to multiple image files (SWM), a WIM filter driver and the latest compression algorithms. It has been used since pre RC (release candidates) of Windows Vista.
DISM
Жүйелік суреттерді орнату және басқару құралы (DISM) – Windows 7 жүйесінде пайда болған құрал. Енді Windows орнату дискісі немесе Windows Update арқылы кез келген суретті DISM көмегімен жөндеу мүмкіндігі бар. Windows Server 2012 және Windows 8 нұсқаларынан бұрын DISM ImageX функцияларының көп бөлігін, бірақ толыққанды емес, қосты. Суретті сақтау үшін ImageX құралы әлі де қажет болды.
Deployment Image Service and Management Tool (DISM) is a tool introduced in Windows 7 It is now possible to repair with DISM any image using either a Windows Installation CD or Windows Update. Before Windows Server 2012 and Windows 8, DISM had incorporated the majority of ImageX functions but not all; ImageX was still needed for image capture.
Басқа операциялық жүйелердегі қолдау
2012 жылдың 30 сәуірінен бастап WIM форматымен жұмыс істеуге арналған ашық кодты кітапхана қолжетімді. Бұл кітапхана Unix сияқты жүйелерде де, Windows-та да қолданылуы мүмкін. Осы жобаның арқасында Linux дистрибутивтерінде енді wimlib imagex деп аталатын өздерінің imagex клоны пайда болды, ол WIM кескіндерін қосуға және оларды кез келген басқа блок сақтағыш провайдері сияқты басқаруға (оқу/жазу) мүмкіндік береді. WIM кескіндері кең таралған қысу алгоритмдерін пайдаланатындықтан, оларға 7-Zip сияқты файлдық архивтер арқылы қол жеткізуге болады. Бұл форматты қолдамайтын басқа операциялық жүйелер үшін Windows-тағы Windows бағалау және орнату жиынтығын пайдаланып WIM кескіндерін көбірек қолданылатын ISO кескініне түрлендіруге болады.
Since April 30, 2012, an open source library for handling the WIM format is available. This library can be used on Unix like systems, as well as on Windows. Thanks to this project, Linux distributions now have their own imagex clone called wimlib imagex, which allows mounting WIM images and managing them (read/write) like any other block storage provider. As WIM images use somewhat common compression algorithms, they can be accessed by using file archivers like 7 Zip. For other operating systems that might not support this format, it is still possible to convert wim images to the more commonly used ISO image using the Windows Assessment and Deployment Kit on Windows.