Windows 8 - UEFI Install - File more than 4 GB - How?

Discussion in 'Windows 8' started by valued17, Jul 7, 2013.

  1. valued17

    valued17 MDL Member

    Jul 1, 2013
    149
    10
    10
    #41 valued17, Jul 8, 2013
    Last edited by a moderator: Apr 20, 2017
    (OP)

    Thanks. Will do as you said. One quick question - my winpe USB is uefi. This will also install windows in uefi right ?
     
  2. NICK@NUMBER11

    NICK@NUMBER11 MDL Expert

    Mar 23, 2010
    1,503
    720
    60
    #42 NICK@NUMBER11, Jul 8, 2013
    Last edited by a moderator: Apr 20, 2017
    Code:
    diskpart commands are:
    
    type
    
    diskpart
    
    list disk
    
    then select the correct disk number 0,1,2 ect
    
    select disk 0,1,2 ect
    
    clean
    
    then create the partitions required as follows
    
    create partition primary size=100
    select partition 1
    format fs=ntfs quick label=system
    active
    create partition primary
    select partition 2
    format fs=ntfs quick label=windows
    assign letter=h
    as for the uefi, when you booted to the usb did you select the uefi usb drive letter through bios boot screen? - if so then yes, if not boot with the uefi name that appears within the boot menu.. see pic...

    uefi-boot-menu.jpg
     
  3. valued17

    valued17 MDL Member

    Jul 1, 2013
    149
    10
    10
    #43 valued17, Jul 8, 2013
    Last edited by a moderator: Apr 20, 2017
    (OP)

    Yes, it shows that. I have enabled uefi boot option in bios. So it only shows uefi usb option.
     
  4. NICK@NUMBER11

    NICK@NUMBER11 MDL Expert

    Mar 23, 2010
    1,503
    720
    60
    sounds good then.. so now do the diskpart to ensure that you have a clean disk to work with
    then apply your install.wim
    then complete the boot command
    restart and off you go...
     
  5. valued17

    valued17 MDL Member

    Jul 1, 2013
    149
    10
    10
    I did everything as you said, then applied image to H and then put this command -

    H:\windows\system32\bcdboot H:\windows and it says

    "failure when attempting to copy boot files" :confused:
     
  6. BTOR

    BTOR MDL Addicted

    Nov 18, 2009
    574
    584
    30
    in admin cmd prompt give the below command

    BCDBOOT H:\Windows /s X: /f ALL /v

    where X represent your efi partition

    then , if the boot fails, boot from windows setup, go to repair computer, open command prompt and give the following command

    Bootrec.exe /fixboot

    Bootrec.exe /fixMBR

    Bootrec.exe /RebuildBcd
     
  7. Fraggy

    Fraggy MDL Addicted

    Jun 13, 2011
    734
    389
    30
    I'm interested in this. Where could I find this ntfs efi driver?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. valued17

    valued17 MDL Member

    Jul 1, 2013
    149
    10
    10
    Finally I was able to install windows 8 UEFI with install.wim over 6GB, using Windows PE and Dism. :)

    I followed instructions from this guide -->

    download.microsoft.com/download/0/0/b/00bba048-35e6-4e5b-a3dc-36da83cbb0d1/UEFIGuide.docx

    I guess my mistakes were -

    1. I wasn't converting disk to gpt.
    2. I wasn't creating 4 partitions before installing windows - (RE tools partition, System Partition, MSR Partition and Windows partition)

    Everything is explained in that guide.

    Anyways, thanks each and everyone. I am tired but happy, lol
     
  9. Humphrey

    Humphrey MDL Expert

    Dec 13, 2011
    1,466
    990
    60
    Well I do not think that you NEED 4 partitions for it to work but okay, if its working and your happy then leave it at that.
    Glad we could help..
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. panchop

    panchop MDL Senior Member

    Jul 26, 2009
    365
    463
    10
    more effective split the image into swm files. It works perfect on windows 8, the Microsoft page says not, but its false
     
  11. EFA11

    EFA11 Avatar Guru

    Oct 7, 2010
    8,719
    6,741
    270
    You are the second person to say that, Ill have to try once I get some time. My interest is peaked now haha
     
  12. Flipp3r

    Flipp3r MDL Expert

    Feb 11, 2009
    1,965
    908
    60
    #52 Flipp3r, Jul 9, 2013
    Last edited by a moderator: Apr 20, 2017
    Yes, I use split wims all the time. This is from my batch:
    Code:
    :: EFI must use Fat32 which has a max filesize of 4gb. We need to create Split Wims for install.
    Dism /Split-Image /ImageFile:%~dp0Windows8.64\sources\install.wim /SWMFile:%~dp0Windows8.64\sources\install.swm /FileSize:4096

     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. NICK@NUMBER11

    NICK@NUMBER11 MDL Expert

    Mar 23, 2010
    1,503
    720
    60
    yep for sure, it works for me too...

     
  14. Humphrey

    Humphrey MDL Expert

    Dec 13, 2011
    1,466
    990
    60
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. Fraggy

    Fraggy MDL Addicted

    Jun 13, 2011
    734
    389
    30
    Put the NTFS.efi on a FAT32 key, at boot plug your NTFS key & FAT32 key. Go to the EFI Shell and load the ntfs.efi on the FAT32 key (it will be on fs0, fs1, ...), then you'll be able to choose your NTFS key in the bootloader (I guess?)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. crappy44

    crappy44 MDL Novice

    Apr 22, 2011
    35
    10
    0
    #57 crappy44, Jul 11, 2013
    Last edited by a moderator: Apr 20, 2017
    You may want to copy it to your EFI Partition (if you have GPT Disk) and add it to the firmware driverxxxx entry so that it auto loads on every boot. Boot into Shell2.0 and use bcfg to add the driver:

    Code:
    bcfg driver add 0 Fs0:\ntfs.efi "NTFS Driver"
     
  17. BamBamChunky

    BamBamChunky MDL Novice

    Jan 13, 2011
    13
    2
    0
    Here is the easiest way to make win 8 bootable USB (FAT32 format) drive with UEFI support.
    You can use the windows 7 tool to make the bootable USB drive, then copy the content of the USB to the hard drive, format the USB with FAT32 abd then copy back the copied content to the USB drive.
    Good luck with your new installation.
    Don't forget to hit f12 and choose the option to install win 8 with UEFI.

    Enjoy.
     
  18. Tito

    Tito Super Mod / Adviser
    Staff Member

    Nov 30, 2009
    18,681
    18,589
    340
    Have you read the first post to determine the actual problem before posting??

    :confused:
     
  19. testplayer

    testplayer MDL Junior Member

    Jun 25, 2011
    53
    8
    0
    Two ways:
    1. Use EasyBCD/Visual BCD Editor/BOOTICE to edit the BCD store on your usb pen drive, re-direct the entries to the >4GB install.wim on the other NTFS partition on your pen drive. The windows installation ISO has two BCD store: one for BIOS boot, the other for UEFI boot. You may need to edit both of them if you need BIOS/UEFI dual boot.
    2. Use imageX.exe to apply the install.wim directly to your hard drive. You can unplug your hard drive and connect to another computer and use imageX, or boot to Win PE. Finally you need to edit the BCD store on your hard drive: make a new entry and direct it to the newly applied image.