Install Win8/Windows 8.1 UEFI With a Over-sized(over 4GB) install.wim

Discussion in 'Windows 8' started by FaiKee, Aug 11, 2013.

  1. FaiKee

    FaiKee Misinformation spreader

    Jul 24, 2009
    4,305
    5,797
    150
    #1 FaiKee, Aug 11, 2013
    Last edited: Apr 22, 2014
  2. FaiKee

    FaiKee Misinformation spreader

    Jul 24, 2009
    4,305
    5,797
    150
  3. panchop

    panchop MDL Member

    Jul 26, 2009
    127
    65
    10
    good post, thx
     
  4. Fraggy

    Fraggy MDL Addicted

    Jun 13, 2011
    734
    389
    30
    Thanks, I was planning to install Windows 8.1 in UEFI Mode. This perfectly sums up everything we should do (except the disk partitioning, but this part is well developed around the internet) :D
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. HALIKUS

    HALIKUS MDL Addicted

    Jul 29, 2009
    527
    369
    30
  6. Atari800XL

    Atari800XL MDL Addicted

    Apr 3, 2011
    633
    1,014
    30
    Thanks for your great explanation! Just today I downloaded your previous .7z pack from this thread, I'm still figuring everything out, looks very promising though! (rEFind looks like a great tool!!)
    Can you please explain a bit more about the quote above: "Optionally, use bootx64.efi from Ubuntu to defeat secure boot". That *only* allows to boot Linux, right? To boot rEFInd, I have to use its own .efi, and turn off secure boot myself, right?
     
  7. HALIKUS

    HALIKUS MDL Addicted

    Jul 29, 2009
    527
    369
    30
    I have been working on the efi dir alot the last few days, so if you have an older package, grab the new one above.

    As far as i know, the Ubuntu bootx64.efi is just a grub2 efi file that they had signed by microsoft. I have seen many distros use the same file, and they all seem to have varying files they use for their boot process. The common factor is the bootx64.efi and an accompanying grubx64.efi file that is a custom grub2 compile that loads grub efi. The files grubx64.efi needs are in different locations depending on the distro. My long story short is i think the bootx64.efi defeats secure boot, and is basically like jailbreaking a phone. It then loads whatever file is in the same dir named grubx64.efi that is in my case a refind.efi. I had a hyrbrid mbr\efi bios that i now have a pure efi setup on, and i have all my secure boot disabled anyways. Im pretty sure in my testing i tried it with it enabled, and it booted any 3rd party efis.

    If you wanted to mess with grub2 efi, i have some half assed inststructions of the commands i used to compile it in Ubuntu 13.04 inside the \efi\grub dir named EFI_GrubInstall.txt.
     
  8. Atari800XL

    Atari800XL MDL Addicted

    Apr 3, 2011
    633
    1,014
    30
    #8 Atari800XL, Aug 11, 2013
    Last edited: Aug 11, 2013
    Ahh, so it's either:
    (1) bootx64.efi (rEFInd.efi with a new name) or
    (2) bootx64.efi (from Ubuntu or Fedora), which then load grubx64.efi (again rEFInd.efi with a new name)

    For (1) you have to manually turn off Secure boot, and (2) should work on a system where Secure boot is still on?

    That seems very logical, but I'm sure I'm missing something?! Thanks for your replies, and I will download your new iso!
    EDIT:
    - Your new download is a different (smaller) pack than the first, right?
    - Sorry, didn't realize this was actually Faikee's thread
     
  9. murphy78

    murphy78 MDL DISM Enthusiast

    Nov 18, 2012
    6,787
    10,376
    210
    #9 murphy78, Aug 11, 2013
    Last edited: Aug 11, 2013
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. HALIKUS

    HALIKUS MDL Addicted

    Jul 29, 2009
    527
    369
    30
  11. murphy78

    murphy78 MDL DISM Enthusiast

    Nov 18, 2012
    6,787
    10,376
    210
    I'm having trouble getting the 2nd partition on the usb to assign a drive letter.
    It creates one, but it doesn't assign it a drive letter, so it'd be extremely difficult to try to copy any files over to it.
    I've tried a few tools and I just can't seem to get windows to assign another drive letter on the flash drive.
    It might be possible, but I don't know enough about how to trick windows into treating it as a non-removable.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. FaiKee

    FaiKee Misinformation spreader

    Jul 24, 2009
    4,305
    5,797
    150
    no problem mate, my intention was just try to start people discussing. :D

    I know little about EFI thingy, tried some bootloaders like clover and grub, etc, and thought that better to raise the topic from EFI shell. In any case, I believe putting the wim in NTFS is the correct way to go(instead of split wim's).

    btw, the ISO9660 included in the attachment is to enable viewing DVD's (just load it in shell); so it can view burned data DVD's or a 2-layer with the large wim, haven't tried it myself.

    Now 9471 is out, I'll just leave it aside. :p
     
  13. HALIKUS

    HALIKUS MDL Addicted

    Jul 29, 2009
    527
    369
    30
    I would say make them both primary, the first active, and try something like bootice to assign a drive letter with "parts manage". Thats how i usually do it. If it still wont let you do it, try a smaller fat32 partition.
     
  14. FaiKee

    FaiKee Misinformation spreader

    Jul 24, 2009
    4,305
    5,797
    150
    I think there are tricks to assign USB FD multiple partitions in windows but that's not the point, the important thing is EFI could read the FAT and the NTFS partitions in the USB FD because it's EFI doing the job of booting and launching BOOTx64.efi to start windows installation. Maybe linux or ubuntu(or whatever) could do the partitioning? I don't know. :p
     
  15. murphy78

    murphy78 MDL DISM Enthusiast

    Nov 18, 2012
    6,787
    10,376
    210
    I just tested this fairly simple method:

    First you need 2 flash drives. One cheapo for the uefi booting, and your normal higher quality larger flash drive.
    Prep the cheapo with a fat32 format and the large file one with ntfs. (exfat might work but haven't tested)

    So copy your win8 x64 dvd content to the cheapo, but obviously don't copy the huge install.wim
    Next just copy the same files, but with the install.wim to the fast drive.

    Go into bios, select booting from the UEFI: flash drive (the crappy small fat32 one)
    After you select language it will auto-detect the install.wim in the larger drive to find the indexes and will install from that.

    This seems like the most pain-free way to do it, but you would need that extra flash drive.

    I've just personally tested it by re-installing win8 here. Works fine.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. FaiKee

    FaiKee Misinformation spreader

    Jul 24, 2009
    4,305
    5,797
    150
    Yep, I saw another member mentioned this in the previous thread, and actually I have tried this method before, but what I encountered was different: after select language, it proceed for a while then displayed an error: install.wim missing, then in a few secs goes into reboot. Maybe it could work with USB FD's? check bcdedit /enum and see if it's EFI, tks. :p
     
  17. murphy78

    murphy78 MDL DISM Enthusiast

    Nov 18, 2012
    6,787
    10,376
    210
    Yah it's definitely not guaranteed since it relies on the install.wim auto-find, but it does seem to work for me using uefi boot.
    It could be that your install.wim was not in a sources\ directory.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  18. Flipp3r

    Flipp3r MDL Expert

    Feb 11, 2009
    1,517
    650
    60
    If your going to use 2 usb keys now you might as well just boot into winpe, insert the 2nd key & just run install/setup from there. Why run it from the 1st key??

    Have a batch to list volumes so you can find your key:

    v.txt
    lis vol

    v.cmd
    @diskpart /s v.txt

    You can of course add a search & change to your key. I've seen them in the forums here...
     
  19. FaiKee

    FaiKee Misinformation spreader

    Jul 24, 2009
    4,305
    5,797
    150
    #19 FaiKee, Aug 14, 2013
    Last edited: Aug 14, 2013
    (OP)
    Yep, it's in the sources folder. I asked a OEM guy, he said never heard of wim-auto-find in a windows installer, because it means the installer could just find a random wim and use, and is unreasonable. If you were not greeted with the "install.wim not found" error screen, chances are you have actually booted into the NTSF and installed a MBR edition.

    However, you could use ADK to put PE in the FAT, and the larger file(s) in the NTSF; I have tried that but it's a real pain, I never liked ADK. I would rather install Clover in the USB FD and let it launch the bootX64.efi, but(IMO), it's still a bit more complicated than just load NTFS.efi to launch bootX64.efi :D

    Edit: LOL, just seen Flipp's post after I posted this, yes you can use PE, but....I hate ADK :biggrin:
     
  20. Flipp3r

    Flipp3r MDL Expert

    Feb 11, 2009
    1,517
    650
    60
    If you look at Sources\Boot.wim, index 1 is WinPE & index 2 is Windows Setup.
    You could extract index 1 & use that as your winpe...