zoukankan      html  css  js  c++  java
  • 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
  • 相关阅读:
    ORACLE查询删除重复记录三种方法
    是否可以从一个static方法内部发出对非static方法的调用
    协程(微线程)
    多线程、多进程
    python3.6.5修改print的颜色
    Python之时间和日期模块
    Python之字符(2)
    Python之字符
    python之列表
    Python中的文件操作
  • 原文地址:https://www.cnblogs.com/virgil/p/3135557.html
Copyright © 2011-2022 走看看