UEFI/GPT support on installation media (DVD) Windows 8.1

Discussion in 'Windows 8' started by XRobRoyX, May 4, 2014.

  1. XRobRoyX

    XRobRoyX MDL Junior Member

    Nov 17, 2012
    54
    8
    0
    #1 XRobRoyX, May 4, 2014
    Last edited: May 4, 2014
  2. mabaega

    mabaega MDL Senior Member

    Dec 30, 2010
    273
    171
    10
  3. XRobRoyX

    XRobRoyX MDL Junior Member

    Nov 17, 2012
    54
    8
    0
    Thank you Mabaega I will look at this.
    But I have an ISO that when burnt to a DVD, it boot just fine in UEFI. When I change the ei.cfg file for my needs and burn again, it will not boot !! I don´t understand why changing the ei.cfg file interrupts with the possibility to boot in UEFI Bios.
     
  4. geobot

    geobot Guest

    #4 geobot, May 4, 2014
    Last edited by a moderator: May 12, 2014
    Because if you extract the bootable ISO, it will lose the "ability to boot"..
    To bring it back, just follow @mabaega's post...
     
  5. qad

    qad MDL Member

    Dec 17, 2012
    218
    826
    10
    How do you modify the ISO file?
    I guess you are using an ISO image tool that cannot correctly handle multi-boot entry to replace the ei.cfg file in ISO.
    If you are using such tools, don't use them and recompile ISO from modified source tree as mabaega said.
     
  6. murphy78

    murphy78 MDL DISM Enthusiast

    Nov 18, 2012
    6,686
    10,145
    210
    ...what they've already mentioned about using oscdimg.

    You need the -bootdata #pEF part or a combo of -b pointing at efisys.bin and -pEF

    Most ISO programs cannot maintain the correct boot data to boot both uefi and bios booting.
    I could only speculate as to why this is... Perhaps it is using pointers to boot sections instead of a single boot sector.
    I have no idea.

    There are some adk tools links around the forum. You can use the search function to find the WAIK 5.1 tools, which are the most recent.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. SpeedDream

    SpeedDream MDL Addicted

    Feb 20, 2012
    619
    121
    30
    you have to use poweriso or ultraiso to easily modify iso and save as another
    make sure it reads the UDF volume
     
  8. JanCerny

    JanCerny MDL Member

    Sep 13, 2012
    225
    136
    10
    #8 JanCerny, May 4, 2014
    Last edited by a moderator: Apr 20, 2017
    CD's and DVD's are dead. It's year 2014!

    I'm installing Windows 8.1 from USB.
    1.) mount image to virtual drive
    2.) open prompt as admin

    Code:
    diskpart
    list disk
    select disk # (replace # with the number of the usb disk)
    clean
    convert gpt
    create partition primary
    select partition 1
    format quick fs=fat32 LABEL="EFI-instal"
    assign letter="W"
    list disk
    list volume
    exit
    xcopy x:\*.* /s/e/f w:
      X= DVD with mounted image, W = USB
    Now, you can change ei.cfg, insert pid.txt etc... :cool:

    //edit: install Windows 8/8.1/8.1 with Update from BIOS
    bios-uefi.jpg
     
  9. XRobRoyX

    XRobRoyX MDL Junior Member

    Nov 17, 2012
    54
    8
    0
    Thank you all for your support.


    Sorry about the late respond, but work has been bugging me :)

    I tryed Mabaegas command for Oscdimg.
    Not to the letter though, as I just saw this post http://forums.mydigitallife.net/thr...ilding-W7-x-W8-x-WinPE-Bootable-DVD-ISO-Image
    where this command

    oscdimg.exe -h -m -o -u2 -udfver102 -bootdata:2#p0,e,bc:\w81\boot\etfsboot.com#pEF,e,bc:\w81\efi\microsoft\boot\efisys.bin -lWin81 c:\w81 c:\w81.iso

    is supposed to support Booting from both the BIOS and UEFI.


    It works great so thank you Mabaega.
    I have just one minor issue, if I make the ei.cfg file like this


    [EditionID]
    (left blank for choise between core/Pro)
    [Channel]
    Retail
    [VL]
    0


    it does not let me choose between core/Pro ?


    This works just fine with the USB install created with Rufus.


    Jan Cerny, I totaly agree and I do have this working as I wrote in #1


    I will also try to do it with diskpart
     
  10. JanCerny

    JanCerny MDL Member

    Sep 13, 2012
    225
    136
    10
  11. boodak

    boodak MDL Novice

    Dec 3, 2013
    5
    0
    0
    #11 boodak, May 7, 2014
    Last edited: May 7, 2014
    @Mabaega. Will that code work on creating win81aio?
     
  12. XRobRoyX

    XRobRoyX MDL Junior Member

    Nov 17, 2012
    54
    8
    0
    Good morning to you all from Denmark.
    :coffee:

    This might be the problem, I don´t know,maybe Mabaega have an idea.

    Jan Cerny - I don´t need any keys for activation, I use legit keys.
    I just like to have an untouched ISO an try to set them up to my needs for installation on many different computers.
    Also I know that the ei.cfg file works just fine (mabye not with the code for UEFI/GBT) and then I also do not need the General product Keys to install.
     
  13. JanCerny

    JanCerny MDL Member

    Sep 13, 2012
    225
    136
    10
    VLK iso ([Channel] Volume, [VL] 1) is bad choice. I recommend to use oem/retial (I'm not sure) iso marked as "multiple edition" like da_windows_8.1_with_update_x64_dvd_4048105.iso
     
  14. XRobRoyX

    XRobRoyX MDL Junior Member

    Nov 17, 2012
    54
    8
    0
    Thanks to you all for your help.
    I finally figured it out, I made a stupid mistake over and over again :worthy:

    What you need to do is simply to change the ei.cfg file before you create the iso with oscdimg.

    If you create an USB install with Rufus, you can change the ei.cfg file at any time as you like.

    Jan Cerny, it works just fine with both downloads
    da_windows_8_1_pro_vl_x64_dvd_2971937.iso
    da_windows_8.1_with_update_x64_dvd_4048105.iso

    all you need is making the ei.cfg file to your personal needs and if you create one like this it also give the choice to install either Pro or Core

    [EditionID]

    [Channel]
    OEM
    [VL]
    0
     
  15. Jacoub

    Jacoub MDL Member

    Aug 14, 2011
    107
    13
    10
    this works with USB HD only or Microsoft Certified flash drive due to the fact flash drive partitioning is not supported
     
  16. Jacoub

    Jacoub MDL Member

    Aug 14, 2011
    107
    13
    10
    #16 Jacoub, May 11, 2014
    Last edited by a moderator: Apr 20, 2017
    this works with USB HD only or Microsoft Certified flash drive due to the fact flash drive partitioning is not supported
     
  17. XRobRoyX

    XRobRoyX MDL Junior Member

    Nov 17, 2012
    54
    8
    0
    #17 XRobRoyX, May 12, 2014
    Last edited: May 13, 2014
    (OP)
    I´m not sure what you mean by this, but I can confirm that the commands for disk part provided by Jan Cerny work just fine on an ordinary USB stick.
    It is tested :biggrin:

    Update for diskpart command see post #20

    diskpart
    list disk
    select disk # (replace # with the number of the usb disk)
    clean
    convert gpt
    create partition primary
    select partition 1
    format quick fs=fat32 LABEL="EFI-instal"
    assign letter="W"
    list disk
    list volume
    exit
    xcopy x:\*.* /s/e/f w:
    X= DVD with mounted image, W = USB
    _________________________________________
    _________________________________________
    x:\*.* can be changed to the path of your files from an unpacked iso file
    !!!remember the 3 spaces. After xcopy and *.* and /f

    My command looked like this:

    xcopy E:\Win8.1test /s/e/f w:
     
  18. Flipp3r

    Flipp3r MDL Expert

    Feb 11, 2009
    1,555
    664
    60
    Yes the above diskpart commands will work with any USB key.
    Get rid of "convert gpt". It's not gpt. UEFI requires Fat32 which your formatting the key as already.
    Also, if you make it "active", you'll be able to boot both UEFI & Legacy/BIOS...
     
  19. Flipp3r

    Flipp3r MDL Expert

    Feb 11, 2009
    1,555
    664
    60
    Your thinking of "Windows To Go Keys". That only applies if your trying to make multiple partitions.
    In this case it's only 1 fat32 primary partition...
     
  20. XRobRoyX

    XRobRoyX MDL Junior Member

    Nov 17, 2012
    54
    8
    0
    diskpart
    list disk
    select disk # (replace # with the number of the usb disk)
    clean
    create partition primary
    select partition 1
    format quick fs=fat32 LABEL="EFI-instal" (can be replaced with"whatever")
    Active
    assign letter="W"
    list disk
    list volume
    exit
    xcopy x:\*.* /s/e/f w:
    X= Drive letter, *.*= all files(change to name of folder) W = USB

    x:\*.* can be changed to the path of your files from an unpacked iso file
    !!!remember the 3 spaces. After xcopy and *.* and /f


    My command looked like this:


    xcopy E:\Win8.1test /s/e/f w:

    This is now tested and it boots in both Legacy and Uefi.