在 m.2 NVMe 驱动器上安装 Windows 7?

在 m.2 NVMe 驱动器上安装 Windows 7?

我有一块华硕 Sabertooth Z170 主板,上面有一个三星 950 Pro m.2 NVMe 驱动器。我以前听说在 NVMe 驱动器上安装 Windows 7 是一项艰巨的工作。现在已经是 2016 年 8 月了,这还难吗?我看到微软的更新说他们已经在 Windows 7 中添加了对 NVMe 的支持。

我可以从 Microsoft 下载 Windows 7 吗(https://www.microsoft.com/en-us/software-download/windows7) 并将其放在 USB 驱动器上并安装?

还有比这更难吗?

答案1

Winaero 发布了指导如何做到这一点。您需要下载更新KB2990941KB3087873,三星的 NVMe 驱动程序并通过 DISM 将它们集成到您的 install.wim/boot.wim 中:

dism /Mount-Image /ImageFile:c:\temp\src\sources\boot.wim /Index:1 /MountDir:c:\temp\mount
dism /Image:C:\temp\mount /Add-Package /PackagePath:c:\temp\hotfix
dism /Image:C:\temp\mount /Add-Driver /Driver:c:\temp\drivers /Recurse
dism /Unmount-Image /MountDir:C:\temp\mount /Commit
dism /Mount-Image /ImageFile:c:\temp\src\sources\boot.wim /Index:2 /MountDir:c:\temp\mount
dism /Image:C:\temp\mount /Add-Package /PackagePath:c:\temp\hotfix
dism /Image:C:\temp\mount /Add-Driver /Driver:c:\temp\drivers /Recurse

答案2

以下是英特尔 (.PDF) 对此进行了更多的解释。

我以前用过 NTLite,它是一款很棒的实用程序。但仅靠 NTLite 无法完成为此目的制作 Windows 7 安装 DVD 所需的所有修改。但在完成 PDF 中的“方法 1”后,我确实使用它制作了最终的 ISO。

我使用 NTLite 从 .PDF 中添加了推荐的 IRST 和 USB 驱动程序。

修改后的 Windows 7 安装 DVD 启动并“看到”NVMe PCI-E SSD,无需加载任何其他驱动程序。

由于使用了 Windows 10 ISO 中的 setup.exe,安装的背景像 Windows 10 一样是紫色,但它实际上是 Windows 7。

现在,仅通过 DVD 即可在配备英特尔 6 系列 PCIe M.2 SSD 的华硕 Z270-P 主板上成功安装 Windows 7 Pro x64。

www.intel.com/content/dam/support/us/en/documents/solid-state-drives/Intel_6_Series_PCIeNVMe_InstallGuide.PDF

答案3

可以从 KB3125574(便利汇总更新)中提取适用于 Windows 7 SP1 和 Windows Server 2008 R2 SP1 的最新通用 NVMe 驱动程序。

Windows 7 SP1 RTM / Server 2008 R2 SP1 RTM 中仅需要 4 个文件即可支持 NVMe:stornvme.inf 和 stornvme.sys(这是实际的驱动程序)
Classpnp.sys 和 storport.sys(stornvme.sys 需要更新版本)

我能够将这 4 个文件集成到 WinPE 3.0 x64 中。一旦启动到支持 NVMe 的 WinPE 3.0,我便启动了 Windows 7 设置,并且能够将 Windows 直接安装到 NVMe 磁盘 - 我使用了原始的 Windows 7 SP1 / Server 2008 R2 SP1 安装介质(从网络共享安装)。

Windows 7 安装程序检测到 WinPE 使用的 stornvme.sys 驱动程序并将其复制到“C:\Windows\system32\drivers”。

安装的复制阶段完成后(“setup.exe /noreboot”很有帮助)我必须将更新的 Classpnp.sys 和 storport.sys 复制到“C:\Windows\system32\drivers”。

就是这样 - Windows 7 和 Server 2008 都能够直接完成安装到 NVMe 驱动器。

这是我用来创建支持 NVMe 的 WinPE 3.0 x64 的脚本(您将需要Windows 7 自动安装套件):

Dism /Mount-Wim /WimFile:"C:\WinPE_amd64\winpe.wim" /index:1 /MountDir:"C:\WinPE_amd64\mount"
Dism /image:"C:\WinPE_amd64\mount" /Add-Driver /Driver:"C:\Drivers\NVMe\Windows 7 x64" /ForceUnsigned
copy "C:\Drivers\NVMe\Windows 7 x64\Dependencies\Classpnp.sys" "C:\WinPE_amd64\mount\Windows\System32\drivers\Classpnp.sys" /y
copy "C:\Drivers\NVMe\Windows 7 x64\Dependencies\storport.sys" "C:\WinPE_amd64\mount\Windows\System32\drivers\storport.sys" /y
Dism /Unmount-Wim /MountDir:"C:\WinPE_amd64\mount" /commit
move "C:\WinPE_amd64\winpe.wim" "C:\WinPE_amd64\ISO\sources\boot.wim"

oscdimg -m -o -u2 -udfver102 -bootdata:2#p0,e,bc:\WinPE_amd64\etfsboot.com#pEF,e,bc:\WinPE_amd64\efisys.bin c:\WinPE_amd64\ISO c:\WinPE_amd64\winpeuefi.iso
  • 请注意,已添加对 BIOS 和 UEFI 的支持。

  • 注:'C:\Drivers\NVMe' 内容如下:

    C:\Drivers\NVMe\Windows 7 x64\stornvme.inf
    C:\Drivers\
    NVMe\Windows 7 x64\stornvme.sys C:\Drivers\NVMe\Windows 7 x64\Dependencies\Classpnp.sys
    C:\Drivers\NVMe\Windows 7 x64\Dependencies\storport.sys

您可以从以下位置下载具有 NVMe 支持 ISO 的最终 WinPE 3.0 x64这里

相关内容