给WinPe添加Virtio驱动

2019-03-19丨运维丨暂无评论 丨626 次阅读

准备工作:
MAKECAB右键菜单调用,导入下面注册表就OK

Windows Registry Editor Version 5.00  [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\*\shell]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\*\shell\expand]
@="用 Expand 解压"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\*\shell\expand\command]
@="expand.exe -r \"%1\""

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\*\shell\Makecab]
@="用 Makecab 压缩"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\*\shell\Makecab\command]
@="makecab.exe /D CompressionType=LZX /D CompressionMemory=21 /D Cabinet=ON /D Compress=ON \"%1\""

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\*\shell\notepad]
@="用\"记事本\"打开"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\*\shell\notepad\command]
@="notepad.exe \"%1\""

提取WinPE.IS_,修改WinPE.IS_后缀为WinPE.cab,解压得到WinPE.ISO

从WinPE.ISO,提取TXTSETUP.SI_后缀为TXTSETUP.cab解压TXTSETUP.SIF

编辑TXTSETUP.SIF:
[SourceDisksFiles] 添加:
viostor.sys=1,,,,,,4_,4,1,,,1,4

[SCSI]添加:
viostor="Virtual IO Controller"

[HardwareIdsDatabase]
PCIVEN_1AF4&DEV_1001&SUBSYS_00021AF4&REV_00="viostor"

右键压缩TXTSETUP.SIF 为TXTSETUP.SI_,utraliso加载WinPE.ISO替换TXTSETUP.SI_

找到对应系统的Virtio驱动
VIOSTOR.SYS,压缩成:VIOSTOR.SY_,将VIOSTOR.SY_添加到目录SYSTEM32/DRIVERS
最后将WinPE.ISO,压缩成:WinPE.IS_,替换原来的WinPE.IS_ 即可。

virtio驱动下载:00-virtio-drivers.zip
链接: https://pan.baidu.com/s/1l3skRkLTni1kdY0vE9IRCQ 提取码: pgus

热门文章

最新回复

标签

发表新评论