Windows 10 bootable USB drive when install.wim >4GiB












1















Starting from a Windows 10 ISO image file with >4GiB install.wim (including current Win10_1809Oct_language_x64.iso of like 4.8GiB built 2018/10/30), how can I make a USB drive that is bootable including on a non-UEFI machine?



MediaCreationTool1809.exe works, but it downloads everything, and modifies at least 3 files: install.esd replacing install.wim, boot.wim, and ws.dat. These changes remove some editions of Windows (e.g. Pro Education and Pro for workstations, and their N variations), and make it impossible to check integrity of the modified files against a fixed hash.










share|improve this question




















  • 1





    I also suggestion to use media creation tool it is the most easy way, anyway on the steps you mention in your question it is missing only one step, the installation of the boot sector in to usb, mount the installation iso, navigate in to x:/boot (if x is the mounted iso drive letter) from a CMD, once you are inside that folder run this command: bootsect /nt60 f: (where f: is the device letter of your USB.

    – AtomiX84
    Jan 9 at 10:21











  • @AtomiX84: ah I tried BOOTSECT /NT60 F: /MBR on top of my recipe, and that worked! Thanks.

    – fgrieu
    Jan 9 at 10:33













  • Greate! I was forget the /mbr flag, that useful to install boot sector for MBR disk :D

    – AtomiX84
    Jan 9 at 10:58
















1















Starting from a Windows 10 ISO image file with >4GiB install.wim (including current Win10_1809Oct_language_x64.iso of like 4.8GiB built 2018/10/30), how can I make a USB drive that is bootable including on a non-UEFI machine?



MediaCreationTool1809.exe works, but it downloads everything, and modifies at least 3 files: install.esd replacing install.wim, boot.wim, and ws.dat. These changes remove some editions of Windows (e.g. Pro Education and Pro for workstations, and their N variations), and make it impossible to check integrity of the modified files against a fixed hash.










share|improve this question




















  • 1





    I also suggestion to use media creation tool it is the most easy way, anyway on the steps you mention in your question it is missing only one step, the installation of the boot sector in to usb, mount the installation iso, navigate in to x:/boot (if x is the mounted iso drive letter) from a CMD, once you are inside that folder run this command: bootsect /nt60 f: (where f: is the device letter of your USB.

    – AtomiX84
    Jan 9 at 10:21











  • @AtomiX84: ah I tried BOOTSECT /NT60 F: /MBR on top of my recipe, and that worked! Thanks.

    – fgrieu
    Jan 9 at 10:33













  • Greate! I was forget the /mbr flag, that useful to install boot sector for MBR disk :D

    – AtomiX84
    Jan 9 at 10:58














1












1








1








Starting from a Windows 10 ISO image file with >4GiB install.wim (including current Win10_1809Oct_language_x64.iso of like 4.8GiB built 2018/10/30), how can I make a USB drive that is bootable including on a non-UEFI machine?



MediaCreationTool1809.exe works, but it downloads everything, and modifies at least 3 files: install.esd replacing install.wim, boot.wim, and ws.dat. These changes remove some editions of Windows (e.g. Pro Education and Pro for workstations, and their N variations), and make it impossible to check integrity of the modified files against a fixed hash.










share|improve this question
















Starting from a Windows 10 ISO image file with >4GiB install.wim (including current Win10_1809Oct_language_x64.iso of like 4.8GiB built 2018/10/30), how can I make a USB drive that is bootable including on a non-UEFI machine?



MediaCreationTool1809.exe works, but it downloads everything, and modifies at least 3 files: install.esd replacing install.wim, boot.wim, and ws.dat. These changes remove some editions of Windows (e.g. Pro Education and Pro for workstations, and their N variations), and make it impossible to check integrity of the modified files against a fixed hash.







windows-10 usb-flash-drive bootable-media






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 9 at 15:27







fgrieu

















asked Jan 9 at 10:13









fgrieufgrieu

220110




220110








  • 1





    I also suggestion to use media creation tool it is the most easy way, anyway on the steps you mention in your question it is missing only one step, the installation of the boot sector in to usb, mount the installation iso, navigate in to x:/boot (if x is the mounted iso drive letter) from a CMD, once you are inside that folder run this command: bootsect /nt60 f: (where f: is the device letter of your USB.

    – AtomiX84
    Jan 9 at 10:21











  • @AtomiX84: ah I tried BOOTSECT /NT60 F: /MBR on top of my recipe, and that worked! Thanks.

    – fgrieu
    Jan 9 at 10:33













  • Greate! I was forget the /mbr flag, that useful to install boot sector for MBR disk :D

    – AtomiX84
    Jan 9 at 10:58














  • 1





    I also suggestion to use media creation tool it is the most easy way, anyway on the steps you mention in your question it is missing only one step, the installation of the boot sector in to usb, mount the installation iso, navigate in to x:/boot (if x is the mounted iso drive letter) from a CMD, once you are inside that folder run this command: bootsect /nt60 f: (where f: is the device letter of your USB.

    – AtomiX84
    Jan 9 at 10:21











  • @AtomiX84: ah I tried BOOTSECT /NT60 F: /MBR on top of my recipe, and that worked! Thanks.

    – fgrieu
    Jan 9 at 10:33













  • Greate! I was forget the /mbr flag, that useful to install boot sector for MBR disk :D

    – AtomiX84
    Jan 9 at 10:58








1




1





I also suggestion to use media creation tool it is the most easy way, anyway on the steps you mention in your question it is missing only one step, the installation of the boot sector in to usb, mount the installation iso, navigate in to x:/boot (if x is the mounted iso drive letter) from a CMD, once you are inside that folder run this command: bootsect /nt60 f: (where f: is the device letter of your USB.

– AtomiX84
Jan 9 at 10:21





I also suggestion to use media creation tool it is the most easy way, anyway on the steps you mention in your question it is missing only one step, the installation of the boot sector in to usb, mount the installation iso, navigate in to x:/boot (if x is the mounted iso drive letter) from a CMD, once you are inside that folder run this command: bootsect /nt60 f: (where f: is the device letter of your USB.

– AtomiX84
Jan 9 at 10:21













@AtomiX84: ah I tried BOOTSECT /NT60 F: /MBR on top of my recipe, and that worked! Thanks.

– fgrieu
Jan 9 at 10:33







@AtomiX84: ah I tried BOOTSECT /NT60 F: /MBR on top of my recipe, and that worked! Thanks.

– fgrieu
Jan 9 at 10:33















Greate! I was forget the /mbr flag, that useful to install boot sector for MBR disk :D

– AtomiX84
Jan 9 at 10:58





Greate! I was forget the /mbr flag, that useful to install boot sector for MBR disk :D

– AtomiX84
Jan 9 at 10:58










1 Answer
1






active

oldest

votes


















1














With the help of @AtomiX84's comment I came up with this solution that has worked for me, making a USB drive bootable both on a UEFI and non-UEFI machine. Basically




  • We need a FAT32 boot partition in order to be bootable under UEFI.

  • The large intall.wim can't be on a FAT32 partition; we'll make a second ExFAT partition.

  • We then need to invoke BOOTSECT in order to be bootable on a non-UEFI machine.


Under a working Windows 10:




  • Connect an 8GB USB drive (or larger up to 32 GB)

  • Launch DISKPART (press the Windows key, type DISKPART, agree to all) and in the window that opens (lowercase letters optional)


    • LISt DISk


    • SELect DISk N (replace N with appropriate number)

    • !! Triple-check the disk number !!


    • CLEan (occasional access error can typically be ignored)

    • CONv MBR


    • CREate PARtition PRImary OFFSET=32 SIZE=512 (that's in MiB; with current Windows 10 we need at least about 450, and at most about what LISt DISk has shown for the drive minus 4900)

    • FORmat FS=FAT32 QUICK LABEL=WIN10_FAT32


    • ASSign LETTER=X (assuming this drive letter is unassigned)

    • ACTive

    • CREate PARtition PRImary

    • FORmat FS=EXFAT QUICK LABEL=WIN10_EXFAT


    • ASSign LETTER=Y (assuming this drive letter is unassigned)

    • EXIt



  • Exectute CMD as administrator, and in that window



    • BOOTSECT /NT60 X: /MBR (where X is the drive letter for the WIN10_FAT32 mounted partition)


    • MD X:sources (where X is as above)

    • EXIT



  • If 7-zip is available (recommended as it keeps expanded folder dates) open the ISO file with 7-zip


    • Select all files and folders (Ctrl-A), and extract/copy to.. (F5 - do not drag) towards the WIN10_EXFAT mounted volume (Y:)

    • Select all files and folders except the sources folder (Ctrl-A, shift-click), and extract/copy to.. (F5 - do not drag) towards the WIN10_FAT32 mounted volume (X:)

    • Enter the ISO's sources folder, select boot.wim, and extract/copy to.. (F5 - do not drag) towards the sources folder of the WIN10_FAT32 mounted volume (X:sources)

    • Close 7-zip's window



  • Or, lacking 7-zip, mount the ISO (e.g. Open with.. Windows Explorer) and


    • Copy the mounted volume's whole content towards the WIN10_EXFAT mounted volume (Y:)

    • Copy the mounted volume's whole content except the sources folder towards the WIN10_FAT32 mounted volume (X:)

    • Copy boot.wim of the mounted volume's sources folder towards the sources folder of the WIN10_FAT32 mounted volume (X:sources)

    • Eject the volume for the mounted ISO



  • Eject the USB drive (both volumes)






share|improve this answer

























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "3"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1392217%2fwindows-10-bootable-usb-drive-when-install-wim-4gib%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    1














    With the help of @AtomiX84's comment I came up with this solution that has worked for me, making a USB drive bootable both on a UEFI and non-UEFI machine. Basically




    • We need a FAT32 boot partition in order to be bootable under UEFI.

    • The large intall.wim can't be on a FAT32 partition; we'll make a second ExFAT partition.

    • We then need to invoke BOOTSECT in order to be bootable on a non-UEFI machine.


    Under a working Windows 10:




    • Connect an 8GB USB drive (or larger up to 32 GB)

    • Launch DISKPART (press the Windows key, type DISKPART, agree to all) and in the window that opens (lowercase letters optional)


      • LISt DISk


      • SELect DISk N (replace N with appropriate number)

      • !! Triple-check the disk number !!


      • CLEan (occasional access error can typically be ignored)

      • CONv MBR


      • CREate PARtition PRImary OFFSET=32 SIZE=512 (that's in MiB; with current Windows 10 we need at least about 450, and at most about what LISt DISk has shown for the drive minus 4900)

      • FORmat FS=FAT32 QUICK LABEL=WIN10_FAT32


      • ASSign LETTER=X (assuming this drive letter is unassigned)

      • ACTive

      • CREate PARtition PRImary

      • FORmat FS=EXFAT QUICK LABEL=WIN10_EXFAT


      • ASSign LETTER=Y (assuming this drive letter is unassigned)

      • EXIt



    • Exectute CMD as administrator, and in that window



      • BOOTSECT /NT60 X: /MBR (where X is the drive letter for the WIN10_FAT32 mounted partition)


      • MD X:sources (where X is as above)

      • EXIT



    • If 7-zip is available (recommended as it keeps expanded folder dates) open the ISO file with 7-zip


      • Select all files and folders (Ctrl-A), and extract/copy to.. (F5 - do not drag) towards the WIN10_EXFAT mounted volume (Y:)

      • Select all files and folders except the sources folder (Ctrl-A, shift-click), and extract/copy to.. (F5 - do not drag) towards the WIN10_FAT32 mounted volume (X:)

      • Enter the ISO's sources folder, select boot.wim, and extract/copy to.. (F5 - do not drag) towards the sources folder of the WIN10_FAT32 mounted volume (X:sources)

      • Close 7-zip's window



    • Or, lacking 7-zip, mount the ISO (e.g. Open with.. Windows Explorer) and


      • Copy the mounted volume's whole content towards the WIN10_EXFAT mounted volume (Y:)

      • Copy the mounted volume's whole content except the sources folder towards the WIN10_FAT32 mounted volume (X:)

      • Copy boot.wim of the mounted volume's sources folder towards the sources folder of the WIN10_FAT32 mounted volume (X:sources)

      • Eject the volume for the mounted ISO



    • Eject the USB drive (both volumes)






    share|improve this answer






























      1














      With the help of @AtomiX84's comment I came up with this solution that has worked for me, making a USB drive bootable both on a UEFI and non-UEFI machine. Basically




      • We need a FAT32 boot partition in order to be bootable under UEFI.

      • The large intall.wim can't be on a FAT32 partition; we'll make a second ExFAT partition.

      • We then need to invoke BOOTSECT in order to be bootable on a non-UEFI machine.


      Under a working Windows 10:




      • Connect an 8GB USB drive (or larger up to 32 GB)

      • Launch DISKPART (press the Windows key, type DISKPART, agree to all) and in the window that opens (lowercase letters optional)


        • LISt DISk


        • SELect DISk N (replace N with appropriate number)

        • !! Triple-check the disk number !!


        • CLEan (occasional access error can typically be ignored)

        • CONv MBR


        • CREate PARtition PRImary OFFSET=32 SIZE=512 (that's in MiB; with current Windows 10 we need at least about 450, and at most about what LISt DISk has shown for the drive minus 4900)

        • FORmat FS=FAT32 QUICK LABEL=WIN10_FAT32


        • ASSign LETTER=X (assuming this drive letter is unassigned)

        • ACTive

        • CREate PARtition PRImary

        • FORmat FS=EXFAT QUICK LABEL=WIN10_EXFAT


        • ASSign LETTER=Y (assuming this drive letter is unassigned)

        • EXIt



      • Exectute CMD as administrator, and in that window



        • BOOTSECT /NT60 X: /MBR (where X is the drive letter for the WIN10_FAT32 mounted partition)


        • MD X:sources (where X is as above)

        • EXIT



      • If 7-zip is available (recommended as it keeps expanded folder dates) open the ISO file with 7-zip


        • Select all files and folders (Ctrl-A), and extract/copy to.. (F5 - do not drag) towards the WIN10_EXFAT mounted volume (Y:)

        • Select all files and folders except the sources folder (Ctrl-A, shift-click), and extract/copy to.. (F5 - do not drag) towards the WIN10_FAT32 mounted volume (X:)

        • Enter the ISO's sources folder, select boot.wim, and extract/copy to.. (F5 - do not drag) towards the sources folder of the WIN10_FAT32 mounted volume (X:sources)

        • Close 7-zip's window



      • Or, lacking 7-zip, mount the ISO (e.g. Open with.. Windows Explorer) and


        • Copy the mounted volume's whole content towards the WIN10_EXFAT mounted volume (Y:)

        • Copy the mounted volume's whole content except the sources folder towards the WIN10_FAT32 mounted volume (X:)

        • Copy boot.wim of the mounted volume's sources folder towards the sources folder of the WIN10_FAT32 mounted volume (X:sources)

        • Eject the volume for the mounted ISO



      • Eject the USB drive (both volumes)






      share|improve this answer




























        1












        1








        1







        With the help of @AtomiX84's comment I came up with this solution that has worked for me, making a USB drive bootable both on a UEFI and non-UEFI machine. Basically




        • We need a FAT32 boot partition in order to be bootable under UEFI.

        • The large intall.wim can't be on a FAT32 partition; we'll make a second ExFAT partition.

        • We then need to invoke BOOTSECT in order to be bootable on a non-UEFI machine.


        Under a working Windows 10:




        • Connect an 8GB USB drive (or larger up to 32 GB)

        • Launch DISKPART (press the Windows key, type DISKPART, agree to all) and in the window that opens (lowercase letters optional)


          • LISt DISk


          • SELect DISk N (replace N with appropriate number)

          • !! Triple-check the disk number !!


          • CLEan (occasional access error can typically be ignored)

          • CONv MBR


          • CREate PARtition PRImary OFFSET=32 SIZE=512 (that's in MiB; with current Windows 10 we need at least about 450, and at most about what LISt DISk has shown for the drive minus 4900)

          • FORmat FS=FAT32 QUICK LABEL=WIN10_FAT32


          • ASSign LETTER=X (assuming this drive letter is unassigned)

          • ACTive

          • CREate PARtition PRImary

          • FORmat FS=EXFAT QUICK LABEL=WIN10_EXFAT


          • ASSign LETTER=Y (assuming this drive letter is unassigned)

          • EXIt



        • Exectute CMD as administrator, and in that window



          • BOOTSECT /NT60 X: /MBR (where X is the drive letter for the WIN10_FAT32 mounted partition)


          • MD X:sources (where X is as above)

          • EXIT



        • If 7-zip is available (recommended as it keeps expanded folder dates) open the ISO file with 7-zip


          • Select all files and folders (Ctrl-A), and extract/copy to.. (F5 - do not drag) towards the WIN10_EXFAT mounted volume (Y:)

          • Select all files and folders except the sources folder (Ctrl-A, shift-click), and extract/copy to.. (F5 - do not drag) towards the WIN10_FAT32 mounted volume (X:)

          • Enter the ISO's sources folder, select boot.wim, and extract/copy to.. (F5 - do not drag) towards the sources folder of the WIN10_FAT32 mounted volume (X:sources)

          • Close 7-zip's window



        • Or, lacking 7-zip, mount the ISO (e.g. Open with.. Windows Explorer) and


          • Copy the mounted volume's whole content towards the WIN10_EXFAT mounted volume (Y:)

          • Copy the mounted volume's whole content except the sources folder towards the WIN10_FAT32 mounted volume (X:)

          • Copy boot.wim of the mounted volume's sources folder towards the sources folder of the WIN10_FAT32 mounted volume (X:sources)

          • Eject the volume for the mounted ISO



        • Eject the USB drive (both volumes)






        share|improve this answer















        With the help of @AtomiX84's comment I came up with this solution that has worked for me, making a USB drive bootable both on a UEFI and non-UEFI machine. Basically




        • We need a FAT32 boot partition in order to be bootable under UEFI.

        • The large intall.wim can't be on a FAT32 partition; we'll make a second ExFAT partition.

        • We then need to invoke BOOTSECT in order to be bootable on a non-UEFI machine.


        Under a working Windows 10:




        • Connect an 8GB USB drive (or larger up to 32 GB)

        • Launch DISKPART (press the Windows key, type DISKPART, agree to all) and in the window that opens (lowercase letters optional)


          • LISt DISk


          • SELect DISk N (replace N with appropriate number)

          • !! Triple-check the disk number !!


          • CLEan (occasional access error can typically be ignored)

          • CONv MBR


          • CREate PARtition PRImary OFFSET=32 SIZE=512 (that's in MiB; with current Windows 10 we need at least about 450, and at most about what LISt DISk has shown for the drive minus 4900)

          • FORmat FS=FAT32 QUICK LABEL=WIN10_FAT32


          • ASSign LETTER=X (assuming this drive letter is unassigned)

          • ACTive

          • CREate PARtition PRImary

          • FORmat FS=EXFAT QUICK LABEL=WIN10_EXFAT


          • ASSign LETTER=Y (assuming this drive letter is unassigned)

          • EXIt



        • Exectute CMD as administrator, and in that window



          • BOOTSECT /NT60 X: /MBR (where X is the drive letter for the WIN10_FAT32 mounted partition)


          • MD X:sources (where X is as above)

          • EXIT



        • If 7-zip is available (recommended as it keeps expanded folder dates) open the ISO file with 7-zip


          • Select all files and folders (Ctrl-A), and extract/copy to.. (F5 - do not drag) towards the WIN10_EXFAT mounted volume (Y:)

          • Select all files and folders except the sources folder (Ctrl-A, shift-click), and extract/copy to.. (F5 - do not drag) towards the WIN10_FAT32 mounted volume (X:)

          • Enter the ISO's sources folder, select boot.wim, and extract/copy to.. (F5 - do not drag) towards the sources folder of the WIN10_FAT32 mounted volume (X:sources)

          • Close 7-zip's window



        • Or, lacking 7-zip, mount the ISO (e.g. Open with.. Windows Explorer) and


          • Copy the mounted volume's whole content towards the WIN10_EXFAT mounted volume (Y:)

          • Copy the mounted volume's whole content except the sources folder towards the WIN10_FAT32 mounted volume (X:)

          • Copy boot.wim of the mounted volume's sources folder towards the sources folder of the WIN10_FAT32 mounted volume (X:sources)

          • Eject the volume for the mounted ISO



        • Eject the USB drive (both volumes)







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Jan 17 at 12:38

























        answered Jan 9 at 11:40









        fgrieufgrieu

        220110




        220110






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Super User!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1392217%2fwindows-10-bootable-usb-drive-when-install-wim-4gib%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

            Mangá

            Eduardo VII do Reino Unido