如果当您下载 Windows 10 ISO 映像(download the Windows 10 ISO image)并尝试将其复制到可启动的USB闪存驱动器时,但收到错误消息The file 'install.wim' is too large for the destination file system,或者Windows 10 ISO is too big for DVD,光盘映像文件太大(Windows 10 ISO is too big for DVD, The disc image file is too large),那么这篇文章旨在帮助您。在这篇文章中,我们将解释您遇到此错误的原因,以及您可以采取哪些措施来解决该错误。
发生此文件对于目标文件系统错误来说太大(file too large for the destination file system)的原因是,该下载中的Windows 映像格式 (WIM) 文件((Windows Imaging Format (WIM) file)其中包含Windows 安装(Windows Setup)程序用于安装Windows 10的压缩文件)的大小略高于 4.5 GB。大小,远远超过使用FAT32 文件系统(FAT32 file system)格式化的USB闪存驱动器的最大文件大小 4 GB 。
使用NTFS(NTFS)文件系统格式化的驱动器可以处理该超大文件,但现代基于 UEFI 的硬件需要FAT32驱动器才能启动以全新安装Windows。
文件“install.wim”对于目标文件系统来说太大了(The file ‘install.wim’ is too large for the destination file system)
要在Windows 10上解决此错误,您可以执行以下任何操作:
- (Mount)将ISO挂载为虚拟驱动器并从Windows中运行(Windows)安装程序(Setup)。
- 将(Attach)ISO文件作为虚拟DVD驱动器附加到虚拟机中。
- 使用各种部署工具来管理网络上的安装。
但是,如果您需要从可启动驱动器运行安装程序(Setup)的选项,以便进行完全干净的安装,则需要使用DISM 命令将WIM文件拆分为 4 GB FAT32大小限制以下的部分。
以下是 4 个步骤的方法:
- 创建可启动的恢复驱动器
- 挂载(Mount)下载的ISO文件并将内容复制到本地驱动器上的文件夹中
- 使用DISM命令将WIM文件拆分为多个部分
- 将安装文件从本地文件夹复制到可启动USB驱动器
让我们详细看看步骤。
1]创建可启动的恢复驱动器
在已运行Windows 10的 PC 上,插入USB闪存驱动器并使用Windows Recovery Media Creator创建可启动驱动器。您需要一个至少 8 GB 大小的驱动器。确保未选中将系统文件备份到恢复驱动器选项。(Back up system files to the recovery drive)请记住(Bear),驱动器上的所有文件在格式化时都会被删除。
2]挂载(Mount)ISO文件并将其内容复制到本地驱动器上的文件夹中
按Winkey + E打开文件资源管理器(open File Explorer)并双击下载的ISO文件将其挂载为虚拟驱动器。使该文件资源管理器(File Explorer)窗口保持打开状态,然后按Ctrl+N组合键以打开一个新窗口。在新窗口中,在本地硬盘上创建一个文件夹,并将已安装驱动器的内容从另一个窗口复制到该文件夹。
3]使用(Use)DISM命令将 WIM 文件拆分为多个(WIM)部分
现在,按Winkey + R,键入cmd并按CTRL+SHIFT+ENTER组合键open Command Prompt in admin/elevated mode。
在窗口中,复制并粘贴下面的命令,但将命令中的folder_name占位符替换为您在步骤 2(Step 2)中创建的文件夹的名称,然后按 Enter。
Dism /Split-Image /ImageFile:C:\folder_name\sources\install.wim /SWMFile:C:\folder_name\sources\install.swm /FileSize:3800
操作完成后,检查Sources文件夹的内容。您应该会看到两个新文件 – Install.swm和Install2.swm,以及原始的Install.wim。您现在可以从您创建的文件夹中安全地删除Install.wim文件。
4]将(Copy)安装文件从本地文件夹复制到可启动的USB驱动器
现在,确保复制所有(按CTRL+A,然后按CTRL+C)文件夹和文件,并将它们粘贴到可启动的USB闪存驱动器中。您将收到一条提示,说明您是否要替换目标驱动器上的文件,单击Yes。
这一次,您不应该收到错误。Windows 安装程序(Windows Setup)识别两个带有.SWM文件扩展名的拆分文件,并使用它们来创建新安装。
或者,如果您不是那种卷起袖子做一些肮脏工作的人,您可以使用 Rufus(use Rufus)或任何其他可以创建可启动USB闪存驱动器的应用程序。这些工具通过创建 2 个(或更多)分区来格式化驱动器。其中一个格式化为NTFS另一个为FAT32。两者都包含引导文件,映射到NTFS分区上已安装的操作系统。通过这种方式,它可以从BIOS或 UEFI 系统启动。
I hope you find this post useful!
The file install.wim is too large for the destination file system
If when you download the Windows 10 ISO image and try to copy it to a bootable USB flash drive, but receive the error message The file ‘install.wim’ is too large for the destination file system, or Windows 10 ISO is too big for DVD, The disc image file is too large, then this post is intended to help you. In this post, we will explain why you encounter this error, as well as what you can do to get around the error.
The reason this file too large for the destination file system error occurs is that the Windows Imaging Format (WIM) file in that download, which contains the compressed files that the Windows Setup program uses for installing Windows 10, is a little over 4.5 GB in size, which is well beyond the 4 GB maximum file size for a USB flash drive formatted using the FAT32 file system.
Drives formatted using the NTFS file system can handle that extra-large file, but modern UEFI-based hardware requires a FAT32 drive to boot for a clean install of Windows.
The file ‘install.wim’ is too large for the destination file system
To get around this error on Windows 10, you could do any of the following:
- Mount the ISO as a virtual drive and run Setup from within Windows.
- Attach the ISO file as a virtual DVD drive in a virtual machine.
- Use various deployment tools to manage the installation over a network.
But if you require the option to run Setup from a bootable drive instead, so you can do a completely clean install, you’ll need to use the DISM command to split the WIM file into pieces that are under the 4 GB FAT32 size limit.
Here’s how in 4 steps:
- Create a bootable recovery drive
- Mount the downloaded ISO file and copy the contents to a folder on the local drive
- Use the DISM command to split the WIM file into multiple pieces
- Copy the installation files from your local folder to the bootable USB drive
Let’s see the steps in detail.
1] Create a bootable recovery drive
On a PC that’s already running Windows 10, plug in a USB flash drive and create a bootable drive using the Windows Recovery Media Creator. You’ll need a drive that’s at least 8 GB in size. Ensure that the Back up system files to the recovery drive option is unchecked. Bear in mind that all files on the drive will be erased when it’s formatted.
2] Mount the ISO file and copy its contents to a folder on the local drive
Press Winkey + E to open File Explorer and double-click the downloaded ISO file to mount it as a virtual drive. Leave that File Explorer window open and press Ctrl+N key combo to open a new window. In the new window, create a folder on a local hard disk and copy the contents of the mounted drive from the other window to that folder.
3] Use the DISM command to split the WIM file into multiple pieces
Now, press Winkey + R, type cmd and press CTRL+SHIFT+ENTER key combo to open Command Prompt in admin/elevated mode.
In the window, copy and paste the command below but replace the folder_name placeholder in the command with the name of the folder that you created in Step 2, and hit Enter.
Dism /Split-Image /ImageFile:C:\folder_name\sources\install.wim /SWMFile:C:\folder_name\sources\install.swm /FileSize:3800
After the operation completes, check the contents of the Sources folder. You should see two new files – Install.swm and Install2.swm, alongside the original Install.wim. You can now safely delete the Install.wim file from the folder you created.
4] Copy the installation files from your local folder to the bootable USB drive
Now, make sure you copy all (press CTRL+A, then press CTRL+C) the folders and files and paste them into the bootable USB flash drive. You’ll receive a prompt stating whether you want to replace files on the destination drive, click Yes.
This time, you shouldn’t receive the error. Windows Setup recognizes the two split files with the .SWM file name extensions and uses them to create the new installation.
Alternatively, if you’re not the type to roll up their sleeves and do some dirty work, you can use Rufus or any other application that can create a bootable USB flash drive. These tools format the drive by making 2 (or more) partitions. One of them formatted as NTFS another as FAT32. Both contain boot files, mapping to the installed OS on the NTFS partition. This way it can be booted from either a BIOS or a UEFI system.
I hope you find this post useful!