• Win8 Preload's Study


    一、DISM

                 DISM就是部署映像服务和管理。

                 /Mount-Image - 从 WIM 或 VHD 文件装载映像。

    DISM /Mount-Image /ImageFile:%tmp_WinPE_Disk%\media\sources\boot.wim /Index:1 /MountDir:%tmp_WinPE_Disk%\mount /loglevel:1 /logpath:%Pre_Install_Root%\Pre-Install.log

                /Unmount-Image - 卸载已装载的 WIM 或 VHD 映像。

    DISM /Unmount-Image /MountDir:%tmp_WinPE_Disk%\mount /Commit /loglevel:1 /logpath:%Pre_Install_Root%\Pre-Install.log

               /Capture-Image - 将驱动器的映像捕获到新的 WIM 文件中。(捕获的目录包含所有子文件夹和数据)

    Dism /Capture-Image /ImageFile:WIM\Panther-OEM.wim /CaptureDir:$oem$\$$\Panther\OEM-tmp /Name:"Panther OEM" /Compress:fast /loglevel:1 /logpath:%Pre_Install_Root%\Pre-Install.log

              /Apply-Image - 应用一个映像。

    Dism /Apply-Image /ImageFile:W:\WIM\Panther-oem.wim /Index:1 /ApplyDir:W:\Windows\Panther\OEM

             /Append-Image - 将新映像添加到 WIM 文件中。

    Dism /Append-Image  /Imagefile:Y:\RecoveryImage\Install.wim /capturedir:T:\WinRE\ /Name:"Windows 8 WinRE"

    二BCDEDIT
                    Bcdedit用于建立和重新配置bootloader

                    /createstore 创建一个新的空白启动配置数据文件。

    bcdedit /createstore X:\bcdemptystore

                   /import 还原启动配置数据文件。

    bcdedit /import X:\bcdemptystore /clean

                   /create 新建项目

    bcdedit /create {ramdiskoptions} /d "WinPE for Capture Images"

                  /displayorder : 设置启用菜单中各项的显示顺序

    bcdedit /displayorder %GUID% /addfirst

    三OSCDIMG
                     Oscdimg用于创建iso映像文件

    oscdimg.exe -lWin8_RestoreHDI -m -o -n -pEF -e -b%tmp_WinPE_Disk%\efisys.bin %tmp_WinPE_Disk%\media %Pre_Install_Root%\Win8-RestoreHDI.iso
  • 相关阅读:
    java常见排序算法选择排序、冒泡排序、插入排序分析与比较
    使用SqlBulkCopy批量插入或迁移数据(转)
    用ADO.Net实现Oracle大批量数据更新优化(转)
    MSSQL 查询优化(转)
    .net的dataset,datatable,object等对象转json方法
    VS2005中的水晶报表也可以用推模式动态绑定数据源
    web项目经理手册开发时间估算
    Ajax:拥抱JSON,让XML走开
    (转)我国IT行业“项目经理制”现状
    转:web项目经理手册风险管理
  • 原文地址:https://www.cnblogs.com/virgil/p/3135557.html
Copyright © 2020-2023  润新知