weixin_39581719
weixin_39581719
2020-11-29 04:54

install.wim from Win10_1903_V1_German_x64.iso not copied correctly on Mac

I used unetbootin-mac-661 on a macOS Mojave 10.14.4 system to try to create a bootable USB stick from the Windows 10 installation ISO "Win10_1903_V1_German_x64.iso", downloaded from Microsoft on 2019-06-03.

unetbootin did not correctly copy the file sources/install.wim. In the ISO, the file has a size of 4295122745 bytes; on the USB, it's only 4294836224 bytes and Windows installer refuses to use this file.

unetbootin created a FAT32 filesystem on my USB stick (32GB of size).

When I manually try to copy the install.wim from the ISO to the USB stick, it fails as well:

bash
$ cp -av install.wim /Volumes/WIN10/sources/
cp: /Volumes/WIN10/sources/install.wim: File too large

I know about the 4GB file size limit for FAT32. But as unetbootin did NOT show an error, I was under the impression that it succeeded. It failed, and even worse, it failed silently.

该提问来源于开源项目:unetbootin/unetbootin

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

7条回答

  • weixin_39717704 weixin_39717704 4月前

    From https://github.com/unetbootin/unetbootin/issues/86#issuecomment-452742808: Create a single NTFS formatted partition on the removable drive then depending on OS:

    
    sudo unetbootin installtype=USB targetdrive=/dev/sdb1 isofile=FileName.iso
    unetbootin.exe installtype=USB targetdrive=G: isofile=FileName.iso
    
    点赞 评论 复制链接分享
  • weixin_39558221 weixin_39558221 4月前

    According to Microsoft, you can split install.wim into multiple install*.swm files, so they can fit in a FAT32 volume.

    Here are the steps (assume your USB drive is mounted on /Volumes/USB):

    1. Install 7-Zip and wimlib, an open-source alternative to Microsoft's DISM.

      bash
         brew install p7zip wimlib
         
    2. Remove the half-copied file

      bash
         rm /Volumes/USB/sources/install.wim
         
    3. Extract install.wim from the ISO to somewhere else.

      bash
         cd ~/Downloads
         7z e Win10_1903_V1_Germal_x64.iso sources/install.wim
         
    4. Split install.wim into two parts, each part roughly 3 GiB.

      bash
         wimsplit ~/Downloads/install.wim /Volumes/USB/sources/install.swm 3072
         

    If you are on Windows, you can use DISM instead of wimlib:

    bat
    Dism /Split-Image /ImageFile:C:\Users\Admin\Downloads\install.wim /SWMFile:D:\sources\install.swm /FileSize:3072
    

    If you are on Linux, instead of brew, you can use apt, dnf, pacman, etc. to install packages.

    点赞 评论 复制链接分享
  • weixin_39807859 weixin_39807859 4月前

    Component: unetbootin.x86_64 677-1.fc32

    Hi. I encounter a similar problem with a disc image –Win10_2004_Finnish_x64.iso– written on last Linux Fedora; SHA256 file checksum checked and correct. Error code: 0x8007000D.

    点赞 评论 复制链接分享
  • weixin_39869593 weixin_39869593 4月前

    I can't believe this is still an issue (not only with German versions, I just failed to install international english Win10 image for the same reason). Not able to copy a >4GB file - ok. But simply reporting successful completion without warning/error - not good!

    点赞 评论 复制链接分享
  • weixin_39983350 weixin_39983350 4月前

    I can confirm that and it took me some hours to identify the problem.

    The stick can be booted and the installation process will even start, but when it comes to read the install.wim file the process ends with the error

    Windows could not prepare the computer to boot into the next phase of installation.

    or in german

    Der Computer konnte nicht auf den Start des nächsten Installationsphase vorbereitet werden.

    And it looks like this:

    image

    点赞 评论 复制链接分享
  • weixin_39983350 weixin_39983350 4月前

    Possible solutions:

    1. find a iso image where the setup.wim is smaller than 4294836224 bytes.
    2. create a stick with rufus or media creation tool (both windows only software)
    3. burn the iso as dvd - when the iso is larger than ~4.7 GB you have to create a dl-dvd
    点赞 评论 复制链接分享
  • weixin_39699163 weixin_39699163 4月前

    Surely there are better solutions?

    点赞 评论 复制链接分享