oneohthree / bootify

Bash script to make USB drives bootables with Windows 7/8/8.1/10 installation files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

File too large

shyim opened this issue · comments

commented
❯ sudo ./bootify -d /dev/sda -s uefi -i /home/shyim/Downloads/Win10_1809Oct_EnglishInternational_x64.iso
SanDisk Ultra 57,3G is going to be formated! Do you want to continue? (Y/N)y
mkfs.fat 4.1 (2017-01-24)
  5,068,244,062 100%   53.81MB/s    0:01:29 (xfr#942, to-chk=0/1027)  
rsync: write failed on "/tmp/bootify.r6ITNpptQ/sources/install.wim": File too large (27)
rsync error: error in file IO (code 11) at receiver.c(374) [receiver=3.1.3]
Your USB drive has been bootified!

Got to check out the file size in the newest ISO file (1809). If it's larger than 4GB, the script should be rewritten. The device should be partitioned into 2 partitions. One for the UEFI (FAT) and another one NTFS for the installation files.

EDIT: In fact the file IS larger than 4Gb.

Fixed in b8df9be